Lee Forkenbrock
2003-Aug-18 16:36 UTC
[Asterisk-Users] Asterisk Outbound Calling Warning: Unable To Forward Voice
When trying to make outbound calls I am getting the Warning: File app_dial.c line 313 (wait_for_answer) Unable to forward voice. When making the call it attempts to dial (pounds are actually numbers but replaced to not show numbers we are dialing): Executing Dial("Sip/donas-bd7b", Zap/g1/1##########") in new stack Called g1/1########## Channel 1, span 1 got hangup **Above warning message** Hungup 'Zap/1-1' No one is available to answer at this time **Goes to Congestion()*** Spawn extension (csr_incoming, 91##########, 2) exited non-zero on 'SIP/donas-bd7b' Now, what happens is when the call is made it is busy right away not even dialing out...it seems to go to Congestion almost immediately. The following is extensions.conf outbound_calls context which IS included in the sip phones default context: [outbound_calls] ignorepat=9 exten => _91NXXNXXXXXX,1,Dial(${TRUNK}/${EXTEN:1}) exten => _91NXXNXXXXXX,3,Congestion Answers to questions that may be asked: 1. Trunk is defined as g1 in globals 2. Group 1 channels are defined in zapata.conf 3. Using T1/PRI 4. Cisco 7960 w/SIP 5. Using CVS from 2 weeks ago 6. Already tried direct Zap (eg.Zap/15) instead of using TRUNK var So, when calling out we get a busy signal...calling to internal extensions works fine. Have tried almost everything and are beginning to wonder if there is something wrong with our carrier's config. We tried running pri debug on the span and got the following which is hard to understand: ^M-- Making new call for cr 32770 ^M> Protocol Discriminator: Q.931 (8) len=40 ^M> Call Ref: len= 2 (reference 2/0x2) (Originator) ^M> Message type: SETUP (5) ^M> Bearer Capability (len= 3) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0) ^M> Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16) ^M> Ext: 1 User information layer 1: u-Law (34) ^M> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0 ^M> ChanSel: Reserved ^M> Ext: 1 Coding: 0 Number Specified Channel Type: 3 ^M> Ext: 1 Channel: 1 ] ^M> Display (len= 1) [ 1 ] ^M> Progress Indicator (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) ^M> Ext: 1 Progress Description: Calling equipment is non-ISDN. (3) ] ^M> Calling Number (len= 4) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) ^M> Presentation: Unknown (67) '' ] ^M> Called Number (len=14) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '1##########' ^M^[[1;30;40m -- ^[[0;37;40mCalled g1/1########## ^M< Protocol Discriminator: Q.931 (8) len=10 ^M< Call Ref: len= 2 (reference 32770/0x8002) (Terminator) ^M< Message type: CALL PROCEEDING (2) ^M< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0 ^M< ChanSel: Reserved ^M< Ext: 1 Coding: 0 Number Specified Channel Type: 3 ^M< Ext: 1 Channel: 1 ] ^M-- Processing IE 24 (Channel Identification) ^M< Protocol Discriminator: Q.931 (8) len=9 ^M< Call Ref: len= 2 (reference 32770/0x8002) (Terminator) ^M< Message type: PROGRESS (3) ^M< Progress Indicator (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local$ ^M< Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ] ^M-- Processing IE 30 (Progress Indicator) ^M< Protocol Discriminator: Q.931 (8) len=9 ^M< Call Ref: len= 2 (reference 32770/0x8002) (Terminator) ^M< Message type: DISCONNECT (69) ^M< Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) ^M< Ext: 1 Cause: Temporary failure (41), class = Network Congestion (2) ] ^M-- Processing IE 8 (Cause) ^M^[[1;30;40m -- ^[[0;37;40mChannel 1, span 1 got hangup ^[[1;31;40mWARNING^[[0;37;40m[14351]: File ^[[1;37;40mapp_dial.c^[[0;37;40m, Line ^[[1;37;40m313^[[0;37;40m (^[[1;37;40mwait_$ ^M> Protocol Discriminator: Q.931 (8) len=5 ^M> Call Ref: len= 2 (reference 2/0x2) (Originator) ^M> Message type: RELEASE (77) ^M^[[1;30;40m -- ^[[0;37;40mHungup 'Zap/1-1' ^M^[[1;30;40m == ^[[0;37;40mNo one is available to answer at this time ^M^[[1;30;40m -- ^[[0;37;40mExecuting ^[[1;36;40mCongestion^[[0;37;40m("^[[1;35;40mSIP/donas-bd7b^[[0;37;40m", "^[[1;35;40$ ^M^[[1;30;40m == ^[[0;37;40mSpawn extension (csr_incoming, 91##########, 2) exited non-zero on 'SIP/donas-bd7b' ^M< Protocol Discriminator: Q.931 (8) len=5 ^M< Call Ref: len= 2 (reference 32770/0x8002) (Terminator) ^M< Message type: RELEASE COMPLETE (90) So, if anyone has any suggestions they would be much appreciated. Thanks, Lee
CW_ASN
2003-Aug-18 17:14 UTC
[Asterisk-Users] Asterisk Outbound Calling Warning: Unable To Forward Voice
Q931 DISCONNECT message maps the release cause in both directions. For instance, the release cause is: Cause: Temporary failure (41), class = Network Congestion (2) Do you delete o replace part of SETUP message? Is very weird this part:> ^M> Called Number (len=14) [ Ext: 1 TON: National Number (2) NPI: > ISDN/Telephony Numbering Plan (E.164/E.163) (1) '1##########' > ^M^[[1;30;40m -- ^[[0;37;40mCalled g1/1##########Its according to your extensions Dial() configuration... You are sendig National Number, such as Long Distance Call. I assume that the release cause is sent to your by your provider. Regards, Gus ----- Original Message ----- From: "Lee Forkenbrock" <lee@platinumtel.com> To: <asterisk-users@lists.digium.com> Sent: Monday, August 18, 2003 8:36 PM Subject: [Asterisk-Users] Asterisk Outbound Calling Warning: Unable To Forward Voice> When trying to make outbound calls I am getting the Warning: File > app_dial.c line 313 (wait_for_answer) Unable to forward voice. > > When making the call it attempts to dial (pounds are actually numbers > but replaced to not show numbers we are dialing): > > Executing Dial("Sip/donas-bd7b", Zap/g1/1##########") in new stack > Called g1/1########## > Channel 1, span 1 got hangup > **Above warning message** > Hungup 'Zap/1-1' > No one is available to answer at this time > **Goes to Congestion()*** > Spawn extension (csr_incoming, 91##########, 2) exited non-zero on > 'SIP/donas-bd7b' > > > Now, what happens is when the call is made it is busy right away not > even dialing out...it seems to go to Congestion almost immediately. > > The following is extensions.conf outbound_calls context which IS > included in the sip phones default context: > > [outbound_calls] > ignorepat=9 > exten => _91NXXNXXXXXX,1,Dial(${TRUNK}/${EXTEN:1}) > exten => _91NXXNXXXXXX,3,Congestion > > > Answers to questions that may be asked: > > 1. Trunk is defined as g1 in globals > 2. Group 1 channels are defined in zapata.conf > 3. Using T1/PRI > 4. Cisco 7960 w/SIP > 5. Using CVS from 2 weeks ago > 6. Already tried direct Zap (eg.Zap/15) instead of using TRUNK var > > > > So, when calling out we get a busy signal...calling to internal > extensions works fine. Have tried almost everything and are beginning > to wonder if there is something wrong with our carrier's config. > > We tried running pri debug on the span and got the following which is > hard to understand: > > ^M-- Making new call for cr 32770 > ^M> Protocol Discriminator: Q.931 (8) len=40 > ^M> Call Ref: len= 2 (reference 2/0x2) (Originator) > ^M> Message type: SETUP (5) > ^M> Bearer Capability (len= 3) [ Ext: 1 Q.931 Std: 0 Info transfer > capability: Speech (0) > ^M> Ext: 1 Trans mode/rate: 64kbps, > circuit-mode (16) > ^M> Ext: 1 User information layer 1: u-Law > (34) > ^M> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, > Exclusive Dchan: 0 > ^M> ChanSel: Reserved > ^M> Ext: 1 Coding: 0 Number Specified Channel > Type: 3 > ^M> Ext: 1 Channel: 1 ] > ^M> Display (len= 1) [ 1 ] > ^M> Progress Indicator (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard > (0) 0: 0 Location: User (0) > ^M> Ext: 1 Progress Description: Calling > equipment is non-ISDN. (3) ] > ^M> Calling Number (len= 4) [ Ext: 0 TON: Unknown Number Type (0) NPI: > Unknown Number Plan (0) > ^M> Presentation: Unknown (67) '' ] > ^M> Called Number (len=14) [ Ext: 1 TON: National Number (2) NPI: > ISDN/Telephony Numbering Plan (E.164/E.163) (1) '1##########' > ^M^[[1;30;40m -- ^[[0;37;40mCalled g1/1########## > ^M< Protocol Discriminator: Q.931 (8) len=10 > ^M< Call Ref: len= 2 (reference 32770/0x8002) (Terminator) > ^M< Message type: CALL PROCEEDING (2) > ^M< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, > Exclusive Dchan: 0 > ^M< ChanSel: Reserved > ^M< Ext: 1 Coding: 0 Number Specified Channel > Type: 3 > ^M< Ext: 1 Channel: 1 ] > ^M-- Processing IE 24 (Channel Identification) > ^M< Protocol Discriminator: Q.931 (8) len=9 > ^M< Call Ref: len= 2 (reference 32770/0x8002) (Terminator) > ^M< Message type: PROGRESS (3) > ^M< Progress Indicator (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard > (0) 0: 0 Location: Private network serving the local$ > ^M< Ext: 1 Progress Description: Inband > information or appropriate pattern now available. (8) ] > ^M-- Processing IE 30 (Progress Indicator) > ^M< Protocol Discriminator: Q.931 (8) len=9 > ^M< Call Ref: len= 2 (reference 32770/0x8002) (Terminator) > ^M< Message type: DISCONNECT (69) > ^M< Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 > Location: Private network serving the local user (1) > ^M< Ext: 1 Cause: Temporary failure (41), class > Network Congestion (2) ] > ^M-- Processing IE 8 (Cause) > ^M^[[1;30;40m -- ^[[0;37;40mChannel 1, span 1 got hangup > ^[[1;31;40mWARNING^[[0;37;40m[14351]: File > ^[[1;37;40mapp_dial.c^[[0;37;40m, Line ^[[1;37;40m313^[[0;37;40m > (^[[1;37;40mwait_$ > ^M> Protocol Discriminator: Q.931 (8) len=5 > ^M> Call Ref: len= 2 (reference 2/0x2) (Originator) > ^M> Message type: RELEASE (77) > ^M^[[1;30;40m -- ^[[0;37;40mHungup 'Zap/1-1' > ^M^[[1;30;40m == ^[[0;37;40mNo one is available to answer at this time > ^M^[[1;30;40m -- ^[[0;37;40mExecuting > ^[[1;36;40mCongestion^[[0;37;40m("^[[1;35;40mSIP/donas-bd7b^[[0;37;40m", > "^[[1;35;40$ > ^M^[[1;30;40m == ^[[0;37;40mSpawn extension (csr_incoming, > 91##########, 2) exited non-zero on 'SIP/donas-bd7b' > ^M< Protocol Discriminator: Q.931 (8) len=5 > ^M< Call Ref: len= 2 (reference 32770/0x8002) (Terminator) > ^M< Message type: RELEASE COMPLETE (90) > > > So, if anyone has any suggestions they would be much appreciated. > > > Thanks, > > Lee > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users