Asterisk Bristuffed mit Junghanns Dual-BRI. Kein Amt

vuk

Neuer User
Mitglied seit
14 Nov 2005
Beiträge
28
Punkte für Reaktionen
0
Punkte
0
Mit der o.g. Kartenkombination funktioniert zwar die Anwahl von aussen, aber mir gelingt es einfach nicht raus zu telefonieren:

meine Nummer habe ich durch "meineNummer" ersetzt ;-)

Hier die Fehlermeldung: Ich denke "Unable to forward voice" ist hier
ausschlaggebend. Die Suche hat mir leider nicht weitergeholfen.

[Edit foschi: Bitte Code-Tags benutzen!]

Code:
    -- Executing Set("SIP/dv-08194d68", "CALLERID(num)=11") in new stack
    -- Executing Dial("SIP/dv-08194d68", "ZAP/g1/meineNummer|240|Tt") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called g1/02216640320
    -- Zap/1-1 is proceeding passing it to SIP/dv-08194d68
    -- Channel 0/1, span 1 got hangup request
    -- Channel 0/1, span 1 received AOC-E charging 0 units
Sep 15 23:59:10 WARNING[3195]: app_dial.c:733 wait_for_answer: Unable to forward voice
    -- Hungup 'Zap/1-1'


Meine zaptel.conf:

#/etc/zaptel.conf
loadzone=nl
defaultzone=nl
# Hinweis: Zone nl ist mit Zone de identisch

span=1,1,3,ccs,ami
bchan=1-2
dchan=3

span=2,1,3,ccs,ami
bchan=4-5
dchan=6


Meine zapata.conf:

[channels]
language=de
switchtype = euroisdn
musiconhold=default
nationalprefix = 0
internationalprefix = 00
callwaiting=yes
callwaitingcallerid=yes

; p2mp TE mode
; signalling = bri_cpe_ptmp
; p2p TE mode
 signalling = bri_cpe
; p2mp NT mode
; signalling = bri_net_ptmp
; p2p NT mode
; signalling = bri_net

overlapdial=yes
immediate=no
; usecallerid = yes
echocancel=yes
echotraining=no
echocancelwhenbridged=yes
rxgain=0.8
txgain=0.8
transfer=yes
cancallforward=yes
group=1
context=qozap-ext
channel => 1,2,4,5

Meine extensions.conf (der Teil für das Amt von innen nach aussen):

exten => _X.,1,NoOp(Anruf von ${CALLERID(number)} fuer ${EXTEN})
exten => _X.,n,Set,CALLERID(num)=${CALLERIDNUM}
exten => _X.,n,Dial(ZAP/g1/${EXTEN},240,Tt)
exten => _X.,n,Congestion
exten => _X.,n,Hangup()
exten => _X.,102,Playtones(Busy)
exten => _X.,103,Hangup()
exten => _X.,202,Playtones(Congestion)
exten => _X.,203,Hangup()

asterisk001*CLI> zap show status
Description                              Alarms     IRQ        bpviol     CRC4
quadBRI PCI ISDN Card 1 Span 1 [TE] (ca� OK         0          0          0
quadBRI PCI ISDN Card 1 Span 2 [TE] (ca� OK         0          0          0

Vielleicht weiss jemand mehr?
 
P2P oder PTMP Anschluss (nur um sicher zu gehen wegen der Config)? Was sagt "pri debug span 1" auf der Asterisk-CLI? Die Cause-Codes sind interessant ...
 
Vergessen mitzuteilen: 2x mal P2P Anschluss.

Die Ausgabe von pri debug span 1 werde ich morgen nachsehen und hier pasten!
 
So hier der versprochene Auzug : Ich habe irgendwie das gefühl, daß es was mit der Länge der Telfnr. oder overlapdial zu tun hat..

Code:
asterisk001*CLI> pri debug span 1
Enabled debugging on span 1
    -- Executing Set("SIP/dv-081a4320", "CALLERID(num)=11") in new stack
    -- Executing Dial("SIP/dv-081a4320", "Zap/g1/01726403521|240|Tt") in new stack
1 -- Making new call for cr 139
    -- Requested transfer capability: 0x00 - SPEECH
1 > Protocol Discriminator: Q.931 (8)  len=32
1 > Call Ref: len= 1 (reference 11/0xB) (Originator)
1 > Message type: SETUP (5)
1 > [04 03 80 90 a3]
1 > Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer capability:
 Speech (0)
1 >                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode (
16)
1 >                              Ext: 1  User information layer 1: A-Law (35)
1 > [18 01 89]
1 > Channel ID (len= 3) [ Ext: 1  IntID: Implicit, Other Spare: 0, Exclusive Dch
an: 0
1 >                        ChanSel: B1 channel
1                          ]
1 > [6c 04 21 81 31 31]
1 > Calling Number (len= 6) [ Ext: 0  TON: National Number (2)  NPI: ISDN/Teleph
ony Numbering Plan (E.164/E.163) (1)
1 >                           Presentation: Presentation permitted, user number
passed network screening (1) '11' ]
1 > [70 0c a1 30 31 37 32 36 34 30 33 35 32 31]
1 > Called Number (len=14) [ Ext: 1  TON: National Number (2)  NPI: ISDN/Telepho
ny Numbering Plan (E.164/E.163) (1) '01726403521' ]
    -- Called g1/01726403521
1 < Protocol Discriminator: Q.931 (8)  len=7
1 < Call Ref: len= 1 (reference 139/0x8B) (Terminator)
1 < Message type: CALL PROCEEDING (2)
1 < [18 01 89]
1 < Channel ID (len= 3) [ Ext: 1  IntID: Implicit, Other Spare: 0, Exclusive Dch
an: 0
1 <                        ChanSel: B1 channel
1                          ]
1 -- Processing IE 24 (cs0, Channel Identification)
    -- Zap/1-1 is proceeding passing it to SIP/dv-081a4320
1 < Protocol Discriminator: Q.931 (8)  len=38
1 < Call Ref: len= 1 (reference 139/0x8B) (Terminator)
1 < Message type: DISCONNECT (69)
1 < [08 02 82 9f]
1 < Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: P
ublic network serving the local user (2)
1 <                  Ext: 1  Cause: Normal, unspecified (31), class = Normal Eve
nt (1) ]
1 < [1c 18 91 a1 15 02 01 00 02 01 22 30 0d a1 05 30 03 02 01 00 82 01 01 83 01
00]
1 < Facility (len=26, codeset=0) [ 1 0x91, 0xa1, 0x15, 0x02, 0x01, 0x00, 0x02, 0
x01, 0x22, '0', 0x0d, 0xa1, 0x05, '0', 0x03, 0x02, 0x01, 0x00, 0x82, 0x01, 0x01,
 0x83, 0x01, 0x001  ]
1 < [1e 02 82 88]
1 < Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0
  Location: Public network serving the local user (2)
1 <                               Ext: 1  Progress Description: Inband informati
on or appropriate pattern now available. (8) ]
1 -- Processing IE 8 (cs0, Cause)
1 -- Processing IE 28 (cs0, Facility)
1 Handle Q.932 ROSE Invoke component
1 -- Processing IE 30 (cs0, Progress Indicator)
    -- Channel 0/1, span 1 got hangup request
    -- Channel 0/1, span 1 received AOC-E charging 0 units
1 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peersta                                                              te Disconnect Request
1 > Protocol Discriminator: Q.931 (8)  len=8
1 > Call Ref: len= 1 (reference 11/0xB) (Originator)
1 > Message type: RELEASE (77)
1 > [08 02 81 9f]
1 > Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: P                                                              rivate network serving the local user (1)
1 >                  Ext: 1  Cause: Normal, unspecified (31), class = Normal Eve                                                              nt (1) ]
    -- Hungup 'Zap/1-1'
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing Hangup("SIP/dv-081a4320", "") in new stack
  == Spawn extension (sip-intern, 01726403521, 103) exited non-zero on 'SIP/dv-0                                                              81a4320'
1 < Protocol Discriminator: Q.931 (8)  len=4
1 < Call Ref: len= 1 (reference 139/0x8B) (Terminator)
1 < Message type: RELEASE COMPLETE (90)
1 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
1 NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
 
Die Lösung war pridialplan = local zu setzen. Dann klappts auch mit dem Nachbarn!

Was es aber nun macht, ist mir noch recht schleierhaft. voip-info.org sagt:


pridialplan: Sets an option required for some (rare) switches that require a dialplan parameter to be passed. This option is ignored by most PRI switches. It may be necessary on a few pieces of hardware. Valid options are: unknown, local, private, national, and international. This option can almost always be left unchanged from the default. Default: national.
pridialplan=local

Ok es gibt der Karte etwas mit. Aber wo ist nun der Unterschied zwischen national,local usw. ?
 
Scheint wohl niemand zu wissen.
 
Kostenlos!

Statistik des Forums

Themen
248,871
Beiträge
2,303,448
Mitglieder
378,531
Neuestes Mitglied
margaux