Robert Rozman
2005-Mar-30 05:49 UTC
[Asterisk-Users] Problem on outgoing calls (quadbri card and bristuffed Asterisk latest) ?
Hi, I have strange behavior on outgoing calls (I can receive calls and I can make outgoing calls to ISDN lines ok (035778421 and 5778421 for instance - 03 is area code). I use latest bristuffed Ast. under Suse 9.2. My zapata.conf and zaptel.conf are at the end of mail. Any help, advice - I guess there is something wrong with settings... But when I call my cellular on 041 461 620 - exactly as I type on phone, I get this : -- Executing Dial("IAX2/252@252/6", "ZAP/g1/041461620|60") in new stack -- Called g1/041461620 -- Zap/1-1 is making progress passing it to IAX2/252@252/6 -- Channel 0/1, span 1 got hangup Mar 30 14:40:10 WARNING[9744]: app_dial.c:412 wait_for_answer: Unable to forward voice -- Hungup 'Zap/1-1' == No one is available to answer at this time -- Executing Hangup("IAX2/252@252/6", "") in new stack == Spawn extension (from-internal, 041461620, 3) exited non-zero on 'IAX2/252@252/6' -- Hungup 'IAX2/252@252/6' and under debug span 1: < [18 01 89] < Channel ID (len= 3) [ Ext: 1 IntID: Implicit, Other Spare: 0, Exclusive Dchan: 0 < ChanSel: B1 channel ] < [1e 02 82 88] < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2) < Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ] -- Processing IE 24 (cs0, Channel Identification) -- Processing IE 30 (cs0, Progress Indicator) < Protocol Discriminator: Q.931 (8) len=4 < Call Ref: len= 1 (reference 133/0x85) (Terminator) < Message type: CALL PROCEEDING (2) -- Zap/1-1 is making progress passing it to IAX2/252@252/4 < Protocol Discriminator: Q.931 (8) len=23 < Call Ref: len= 1 (reference 133/0x85) (Terminator) < Message type: DISCONNECT (69) < [08 02 82 83] < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2) < Ext: 1 Cause: No route to destination (3), class = Normal Event (0) ] < [1e 02 82 88] < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2) < Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ] < [28 09 4e 4f 20 52 4f 55 54 45 20] < Display (len= 9) [ NO ROUTE ] -- Processing IE 8 (cs0, Cause) -- Processing IE 30 (cs0, Progress Indicator) -- Processing IE 40 (cs0, Display) -- Channel 0/1, span 1 got hangup NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request> Protocol Discriminator: Q.931 (8) len=8 > Call Ref: len= 1 (reference 5/0x5) (Originator) > Message type: RELEASE (77) > [08 02 81 83] > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: > Private network serving the local user (1) > Ext: 1 Cause: No route to destination (3), class = > Normal Event (0) ]-- Hungup 'Zap/1-1' == No one is available to answer at this time -- Executing Hangup("IAX2/252@252/4", "") in new stack == Spawn extension (from-internal, 041461620, 3) exited non-zero on 'IAX2/252@252/4' -- Hungup 'IAX2/252@252/4' < Protocol Discriminator: Q.931 (8) len=4 < Call Ref: len= 1 (reference 133/0x85) (Terminator) < Message type: RELEASE COMPLETE (90) NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null **********************************************/etc/zaptel.conf ************************************ loadzone=nl defaultzone=nl # qozap span definitions # most of the values should be bogus because we are not really zaptel #span=1,1,3,ccs,hdb3 #span=2,0,3,ccs,hdb3 #span=3,0,3,ccs,hdb3 #span=4,0,3,ccs,hdb3 span=1,1,3,ccs,ami,crc4 span=2,0,3,ccs,ami,crc4 span=3,0,3,ccs,ami,crc4 span=4,0,3,ccs,ami,crc4 bchan=1,2 dchan=3 bchan=4,5 dchan=6 bchan=7,8 dchan=9 bchan=10,11 dchan=12 **********************************************/etc/asterisk/zapata.conf ************************************ [channels] switchtype = euroisdn pridialplan = dynamic prilocaldialplan = local nationalprefix = 0 internationalprefix = 00 usecallingpres=yes echocancel = yes echocancelwhenbridged = yes echotraining = 100 ;callerid=asreceived overlapdial=yes ;------------------------------------------------------------------- ; p2p TE mode (for connecting ISDN lines in point-to-point mode) ;signalling = bri_cpe ; p2mp TE mode (for connecting ISDN lines in point-to-multipoint mode) signalling = bri_cpe_ptmp context=isdn-incoming group = 1 ; S/T port 1-3 (first quadBRI, or lower ports of an octoBRI) channel => 1-2 ;channel => 4-5 ;channel => 7-8 ;------------------------------------------------------------------- ; p2p NT mode (for connecting an ISDN PBX in point-to-point mode) signalling = bri_net context=pbx-incoming group = 2 ; S/T port 4 (second quadBRI, or upper ports of an octoBRI) channel => 10-11 ;channel => 13-14