Sangoma A500 NT Modus

konabi

Mitglied
Mitglied seit
11 Apr 2005
Beiträge
424
Punkte für Reaktionen
0
Punkte
16
Hallo,
ich habe eine Sangoma A500 mit zwei BRI Modulen (4 Ports 8 Channels)
Port 1 und 2 sind in TE Modus geschaltet und ans öffentliche Telefonnetz angeschlossen.
Port 3 ist in NT Modus geschaltet um einen internen S0 zur Verfügung zu stellen.

Eingehende Rufe vom Telefonnetz funktionieren. Diese gelangen in s-extension, die Rufnummer wird dann per DTMF Nachwahl gewählt. (overlapdial)

Wenn ich aber von einem Gerät, welches am internen S0 angeschlossen ist herauswählen möchte, werden alle Ziffern doppelt gewählt.

Aus 0171935xxxx wird dann 00117711993355xxxxxxxx.


Anbei meine smg_bri.conf:

Code:
;Country:
;possible values (default:europe):
;australia, austria, belgium, canada, chile, denmark, europe, finland, france,
;germany, hong_kong, india, irlande, israel, italy, japan, korea, luxembourg,
;netherlands, new_zealand, norway, portugal, singapore, south_africa, spain,
;sweden, switzerland, taiwan, uk, usa, ussr
;
;country=europe

;Verbose:
;Increase level to at least 5 when debugging protocol related issues
;possible values (default:1):
;1-10
;
verbose=5

;Protocol capture:
;Enable/disable BRI protocol stack capture
;possible values (default:no):
;yes/no
;
prot_capture=yes

;D-channel log:
;Enable/disable d-channel log
;Log file stored in /var/log/bri_log_span_#
;possible values (default:no)
;yes/no
;
dchan_log=yes

;Dialplan:
;Some switches require the 'type of number' network specific facility IE to be set.
;This affects outgoing calls only.
;possible values (default:unknown):
;unknown
;national
;international
;network_specific
;subscriber
;abbreviated

;dialplan=unknown

;Numberingplan:
;Some switches require the 'number plan' network specific facility IE to be set.
;This affects outgoing calls only.
;possible values (default:unknown):
;unknown
;isdn            ;ISDN/telephony numbering plan (CCITT E.164/E.163)
;telephone        ;telephony - not in CEPT
;data            ;data numbering plan (CCITT X.121)
;telex            ;telex numbering plan (CCITT F.69)
;national        ;national standard numbering plan
;private        ;private numbering plan
;reserved
;
;numberingplan=unknown

;dialplan=unknown

;Servicetype:
;The requested service type
;This affects outgoing calls only.
;possible values (default:voice):
;
;voice            ;voice service
;voice-gci        ;voice service on GCI service
;audio-7        ;7Khz audio service
;data            ;data service
;data-56k        ;data at 56kbs service
;data-trans        ;transparent data service
;modem            ;modem data service
;fax            ;G3 facsimile service
;fax-4            ;G4 facsimile service
;v110            ;V.110 service
;v120            ;V.120 service
;video            ;video service
;
;servicetype=voice

;Prefix:
;Prepends digits for calling number on incoming calls based on
;"type of number" network specific facility IE.
;This affects incoming calls only.
;
;unknown_prefix=
;national_prefix=
;international_prefix=
;networkspf_prefix=
;subscriber_prefix=
;abbreviated_prefix=
;
;international_prefix=001

;Local Number (MSN):
;Used in point to multipoint configurations
;Protocol will only answer if called number = local number
;
;local_number=12356789

;Incoming calls behaviour
;See http://wiki.sangoma.com/BriAdvancedOptions for details
in_calls_behaviour=VOICE_ALERT_RQ
in_calls_behaviour=TRANSPARENT_OVERLAP_RCV

;timer_t302 = 30000


;Outgoing calls behaviour
;See http://wiki.sangoma.com/BriAdvancedOptions for details
;out_calls_behaviour=USER_SENDING_COMPLETE

;General calls behaviour
;See http://wiki.sangoma.com/BriAdvancedOptions for details
;gen_calls_behaviour=CHAN_ALLOC_LOWEST

;Number of incoming digits
;Number of digits to route call if "Sending complete" bit is not set
;This only applies to incoming calls in overlap dial mode only
;possible values(default:8)
;1-31
;
;num_digits=4

;Signalling:
;Signalling method.
;possible values (default:bri_te)
;bri_te        :Customer side
;bri_nt        ;Network side (Telco)

;Connection:
;Connection type
;Most telcos use point_to_multipoint.
;set to point_to_point when connecting a NT port to ISDN BRI phone
;possible values (default:point_to_multipoint)
;point_to_point
;point_to_multipoint
;
;connection_type=point_to_multipoint

;Group:
;Group assigned for outgoing calls
;possible values (default:1)
;1-63
;
;group=1

;Spans
;Physical spans
;spans=1,2,3,4


;Sangoma AFT-A500 port 1 [slot:1 bus:6 span:1]
group=1
country=europe
operator=etsi
connection_type=point_to_point
signalling=bri_te
spans=1

;Sangoma AFT-A500 port 2 [slot:1 bus:6 span:2]
group=1
country=europe
operator=etsi
connection_type=point_to_point
signalling=bri_te
spans=2

;Sangoma AFT-A500 port 3 [slot:1 bus:6 span:3]
;in_calls_behaviour=default
in_calls_behaviour=DATA_ALERT_RQ
in_calls_behaviour=SEND_CALL_PROC_RQ


group=2
country=europe
operator=etsi
connection_type=point_to_multipoint
signalling=bri_nt

spans=3


;Sangoma AFT-A500 port 4 [slot:1 bus:6 span:4]
group=2
country=europe
operator=etsi
connection_type=point_to_multipoint
signalling=bri_nt
spans=4
woomera.conf:
Code:
[settings]
debug=2

[default]
host=localhost
port=42420
audio_ip=127.0.0.1
default_context=sangoma
debug=2
dtmf_enable=1
jb_enable=0
progress_enable=0


context=from-gg-isdn-bri-woomera
group=1

context=from-internal-custom
group=2
Auszug aus extensions.conf:
Code:
[from-internal-custom]

exten => s,1,waitexten(2)
exten => _X.,1,Dial(woomera/g1/${EXTEN})
asterisk.log:

Code:
**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
EVENT INCOMING w3g1
Unique-Call-Id: w3g1-424238335-1957747793
Remote-Number:
Remote-Name:
Protocol: BRI
User-Agent: sangoma_mgd
Local-Number:
Channel-Name: g2/5
Trunk-Group: 2
Presentation: 0
Screening: 0
RDNIS:

**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
EVENT HELLO Sangoma Media Gateway
Supported-Protocols: TDM
Version: v1.33
Remote-Address: 127.0.0.1
Remote-Port: 34843
Raw-Format: ALAW

**[WOOMERA]** Send Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
PROCEED w3g1-424238335-1957747793
Unique-Call-Id: w3g1-424238335-1957747793

**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
200 w3g1-424238335-1957747793 PROCEED OK
Unique-Call-Id: w3g1-424238335-1957747793

**[WOOMERA]** Send Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
MEDIA w3g1-424238335-1957747793
Raw-Audio: 127.0.0.1:9929
Request-Audio: Raw
Unique-Call-Id: w3g1-424238335-1957747793

**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
200 MEDIA OK
Unique-Call-Id: w3g1-424238335-1957747793

**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
EVENT MEDIA w3g1 AUDIO
Unique-Call-Id: w3g1-424238335-1957747793
Raw-Audio: 127.0.0.1:9003
Call-ID: w3g1
Raw-Format: PCM-16
DTMF: InBand

**[WOOMERA]** HW DTMF not supported w3g1-424238335-1957747793
    -- Executing [[email protected]:1] WaitExten("WOOMERA/g2/5-145a", "5") in new stack


**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
EVENT DTMF
Unique-Call-Id:w3g1-424238335-1957747793
Content-Length:1

0
**[WOOMERA]** SEND DTMF [0] to w3g1-424238335-1957747793
**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------


**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
EVENT DTMF
Unique-Call-Id:w3g1-424238335-1957747793
Content-Length:1

1
**[WOOMERA]** SEND DTMF [1] to w3g1-424238335-1957747793
**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------


**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
EVENT DTMF
Unique-Call-Id:w3g1-424238335-1957747793
Content-Length:1

7
**[WOOMERA]** SEND DTMF [7] to w3g1-424238335-1957747793
**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------


**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
EVENT DTMF
Unique-Call-Id:w3g1-424238335-1957747793
Content-Length:1

1
**[WOOMERA]** SEND DTMF [1] to w3g1-424238335-1957747793
**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------


**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
EVENT DTMF
Unique-Call-Id:w3g1-424238335-1957747793
Content-Length:1

9
**[WOOMERA]** SEND DTMF [9] to w3g1-424238335-1957747793
**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------


**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
EVENT DTMF
Unique-Call-Id:w3g1-424238335-1957747793
Content-Length:1

3
**[WOOMERA]** SEND DTMF [3] to w3g1-424238335-1957747793
**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------


**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
EVENT DTMF
Unique-Call-Id:w3g1-424238335-1957747793
Content-Length:1

5
**[WOOMERA]** SEND DTMF [5] to w3g1-424238335-1957747793
**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------


**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
EVENT DTMF
Unique-Call-Id:w3g1-424238335-1957747793
Content-Length:1

x
**[WOOMERA]** SEND DTMF [x] to w3g1-424238335-1957747793
**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------


**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
EVENT DTMF
Unique-Call-Id:w3g1-424238335-1957747793
Content-Length:1

x
**[WOOMERA]** SEND DTMF [x] to w3g1-424238335-1957747793
**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------


**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
EVENT DTMF
Unique-Call-Id:w3g1-424238335-1957747793
Content-Length:1

x
**[WOOMERA]** SEND DTMF [x] to w3g1-424238335-1957747793
**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------


**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
EVENT DTMF
Unique-Call-Id:w3g1-424238335-1957747793
Content-Length:1

x
**[WOOMERA]** SEND DTMF [x] to w3g1-424238335-1957747793
**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------


  == CDR updated on WOOMERA/g2/5-145a
    -- Executing [[email protected]:1] Dial("WOOMERA/g2/5-145a", "woomera/g1/00117711993355xxxxxxxx") in new stack
**[WOOMERA]** +++REQ woomera/g1/00117711993355xxxxxxxx-79f5
    -- Called g1/00117711993355xxxxxxxx

**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
EVENT HELLO Sangoma Media Gateway
Supported-Protocols: TDM
Version: v1.33
Remote-Address: 127.0.0.1
Remote-Port: 43050
Raw-Format: ALAW

**[WOOMERA]** Send Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
CALL g1/00117711993355xxxxxxxx
Raw-Audio: 127.0.0.1:9930
Local-Name: !
Local-Number:
Presentation:0
Screening:0
RDNIS:

**[WOOMERA]** Receive Message: {default} [localhost/42420]
--------------------------------------------------------------------------------
100 Trying
Danke für Eure Hilfe.

Sven
 
3CX

Neueste Beiträge

Statistik des Forums

Themen
235,921
Beiträge
2,067,905
Mitglieder
356,975
Neuestes Mitglied
bastian.schmiofski