Summary: | ASTERISK-01671: HANGUPCAUSE is 0 | ||
Reporter: | ewieling (ewieling) | Labels: | |
Date Opened: | 2004-05-21 14:00:37 | Date Closed: | 2004-09-25 02:45:06 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I'm getting WAY too many ${HANGUPCAUSE} of 0 (AST_CAUSE_NOTDEFINED)in my Asterisk setup. This is on a PRI As you can see below Dial is setting HANGUPCAUSE to be 0. Shouldn't it be set to 1? ****** ADDITIONAL INFORMATION ****** -- Accepting AUTHENTICATED call from 209.16.70.122, requested format = 1024, actual format = 1024 -- Executing AGI("IAX2[stirling@stirling]/8", "/etc/asterisk/agi/cidfixup.agi|9857648744") in new stack -- Launched AGI Script /etc/asterisk/agi/cidfixup.agi /etc/asterisk/agi/cidfixup.agi|9857648744: CIDFIXUP: 2111 set to 9857648744 -- AGI Script /etc/asterisk/agi/cidfixup.agi completed, returning 0 -- Executing Dial("IAX2[stirling@stirling]/8", "Zap/R1/5048587689||g") in new stack -- Called R1/5048587689 -- Zap/5-1 answered IAX2[stirling@stirling]/8 -- Channel 'IAX2[stirling@stirling]/8' unable to transfer -- Channel 5, span 1 got hangup -- Hungup 'Zap/5-1' -- Executing Macro("IAX2[stirling@stirling]/8", "dial-result") in new stack -- Executing NoOp("IAX2[stirling@stirling]/8", "HANGUPCAUSE is 0") in new stack -- Executing SetVar("IAX2[stirling@stirling]/8", "SAVED_EXTEN=95048587689") in new stack -- Executing AbsoluteTimeout("IAX2[stirling@stirling]/8", "120") in new stack -- Set Absolute Timeout to 120 -- Executing Goto("IAX2[stirling@stirling]/8", "hangupcause+0|1") in new stack -- Goto (macro-dial-result,hangupcause+0,1) -- Executing NoOp("IAX2[stirling@stirling]/8", "AST_CAUSE_NOTDEFINED") in new stack -- Executing System("IAX2[stirling@stirling]/8", "/bin/echo "WARNING Error AST_CAUSE_NOTDEFINED when dialing 95048587689| call sent via VoicePulse backup trunk (rUg85rDF84)" | mutt -s "ORMOND PBX ERROR" mis-pager@stirlingprop.com") in new stack -- Executing GotoIf("IAX2[stirling@stirling]/8", "0?hangupcause+0|11") in new stack -- Executing GotoIf("IAX2[stirling@stirling]/8", "1?hangupcause+0|7") in new stack -- Goto (macro-dial-result,hangupcause+0,7) -- Executing Dial("IAX2[stirling@stirling]/8", "IAX2/rUg85rDF84@voicepulse/15048587689||g") in new stack -- Called ABCDEFG@voicepulse/15048587689 -- Call accepted by 66.234.228.132 (format ILBC) -- Format for call is ILBC -- IAX2[voicepulse]/3 stopped sounds -- IAX2[voicepulse]/3 stopped sounds -- IAX2[voicepulse]/3 stopped sounds -- Hungup 'IAX2[voicepulse]/3' | ||
Comments: | By: Mark Spencer (markster) 2004-05-21 15:16:44 Uhm, have you looked at PRI debug to see what the cause is in the received hangup? By: ewieling (ewieling) 2004-05-21 15:52:05 < Channel ID (len= 6) [ Ext: 1 IntID: Explicit, PRI Spare: 0, Exclusive Dchan: 0 < ChanSel: Reserved < Ext: 1 DS1 Identifier: 0 ] -- Processing IE 24 (Channel Identification) < Protocol Discriminator: Q.931 (8) len=9 < Call Ref: len= 2 (reference 32792/0x8018) (Terminator) < Message type: PROGRESS (3) < Progress Indicator (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) < Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ] -- Processing IE 30 (Progress Indicator) < Protocol Discriminator: Q.931 (8) len=5 < Call Ref: len= 2 (reference 32792/0x8018) (Terminator) < Message type: CONNECT (7) > Protocol Discriminator: Q.931 (8) len=5 > Call Ref: len= 2 (reference 24/0x18) (Originator) > Message type: CONNECT ACKNOWLEDGE (15) -- Zap/2-1 answered IAX2[stirling@stirling]/2 -- Channel 'IAX2[stirling@stirling]/2' unable to transfer < Protocol Discriminator: Q.931 (8) len=9 < Call Ref: len= 2 (reference 32792/0x8018) (Terminator) < Message type: DISCONNECT (69) < Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) < Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ] -- Processing IE 8 (Cause) -- Channel 2, span 1 got hangup NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request > Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 24/0x18) (Originator) > Message type: RELEASE (77) > Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ] -- Hungup 'Zap/2-1' -- Executing Macro("IAX2[stirling@stirling]/2", "dial-result") in new stack -- Executing NoOp("IAX2[stirling@stirling]/2", "HANGUPCAUSE is 0") in new stack By: Mark Spencer (markster) 2004-05-21 19:39:19 The code does not seem to support any way that the hangup cause can be 0 on an in-band call, nor do I see a frame that could signal hangup without copying it to the main thing. If the obvious normal stuff (cvs update / make clean ; make install) doesn't fix it, you just need to find me on IRC so I can login and do some tests. Obviously it will require being able to restart asterisk though, just a heads up. Anyway talk to you soon. By: ewieling (ewieling) 2004-05-21 23:43:54 With today's CVS -stable it only happens if I use the "g" option to Dial. I don't really need to use the "g" option to dial so I worked around the problem by not using it. By: ewieling (ewieling) 2004-05-22 05:50:05 I can't even dial out with CVS -head ================================ CVS -head ================================= -- Executing Dial("IAX2[btel@btel]/3", "Zap/R1/5048991387") in new stack -- Making new call for cr 32772 > Protocol Discriminator: Q.931 (8) len=61 > Call Ref: len= 2 (reference 4/0x4) (Originator) > Message type: SETUP (5) > Bearer Capability (len= 3) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0) > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16) > Ext: 1 User information layer 1: u-Law (34) > Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0 > ChanSel: Reserved > Ext: 1 Coding: 0 Number Specified Channel Type: 3 > Ext: 1 Channel: 4 ] > Display (len=13) [ > Display (len=13) [ 1> Display (len=13) [ 1E> Display (len=13) [ 1Er> Display (len=13) [ 1Eri> Display (len=13) [ 1Eric> Display (len=13) [ 1Eric > Display (len=13) [ 1Eric W> Display (len=13) [ 1Eric Wi> Display (len=13) [ 1Eric Wie> Display (len=13) [ 1Eric Wiel> Display (len=13) [ 1Eric Wieli> Display (len=13) [ 1Eric Wielin> Display (len=13) [ 1Eric Wieling> Display (len=13) [ 1Eric Wieling ] > Progress Indicator (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) > Ext: 1 Progress Description: Calling equipment is non-ISDN. (3) ] > Calling Number (len=14) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) > Called Number (len=13) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '5048991387' ] -- Called R1/5048991387 > Protocol Discriminator: Q.931 (8) len=10 > Call Ref: len= 2 (reference 4/0x4) (Originator) > Message type: CALL PROCEEDING (2) > Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0 > ChanSel: Reserved > Ext: 1 Coding: 0 Number Specified Channel Type: 3 > Ext: 1 Channel: 4 ] > Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 4/0x4) (Originator) > Message type: PROGRESS (3) > Progress Indicator (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) > Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ] < Protocol Discriminator: Q.931 (8) len=11 < Call Ref: len= 2 (reference 32772/0x8004) (Terminator) < Message type: CALL PROCEEDING (2) < Channel ID (len= 6) [ Ext: 1 IntID: Explicit, PRI Spare: 0, Exclusive Dchan: 0 < ChanSel: Reserved < Ext: 1 DS1 Identifier: 0 ] -- Processing IE 24 (Channel Identification) > Protocol Discriminator: Q.931 (8) len=12 > Call Ref: len= 2 (reference 4/0x4) (Originator) > Message type: STATUS (125) > Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) > Ext: 1 Cause: Wrong message (98), class = Protocol Error (6) ] > Call State (len= 1) [ Ext: 0 Coding: CCITT (ITU) standard (0) Call state: Incoming Call Proceeding (9) < Protocol Discriminator: Q.931 (8) len=9 < Call Ref: len= 2 (reference 32772/0x8004) (Terminator) < Message type: DISCONNECT (69) < Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) < Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ] -- Processing IE 8 (Cause) -- Channel 4, span 1 got hangup < Protocol Discriminator: Q.931 (8) len=9 < Call Ref: len= 2 (reference 32772/0x8004) (Terminator) < Message type: RELEASE (77) < Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) < Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ] -- Processing IE 8 (Cause) -- Channel 4, span 1 got hangup NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request > Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 4/0x4) (Originator) > Message type: RELEASE COMPLETE (90) > Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ] NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null -- Hungup 'Zap/4-1' == No one is available to answer at this time -- Executing Macro("IAX2[btel@btel]/3", "dial-result") in new stack -- Executing NoOp("IAX2[btel@btel]/3", "HANGUPCAUSE is 1") in new stack +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ============================== CVS -stable =================================== -- Executing Dial("IAX2[btel@btel]/12", "Zap/R1/5048991387") in new stack -- Making new call for cr 32770 > Protocol Discriminator: Q.931 (8) len=61 > Call Ref: len= 2 (reference 2/0x2) (Originator) > Message type: SETUP (5) > Bearer Capability (len= 3) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0) > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16) > Ext: 1 User information layer 1: u-Law (34) > Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0 > ChanSel: Reserved > Ext: 1 Coding: 0 Number Specified Channel Type: 3 > Ext: 1 Channel: 6 ] > Display (len=13) [ > Display (len=13) [ 1> Display (len=13) [ 1E> Display (len=13) [ 1Er> Display (len=13) [ 1Eri> Display (len=13) [ 1Eric> Display (len=13) [ 1Eric > Display (len=13) [ 1Eric W> Display (len=13) [ 1Eric Wi> Display (len=13) [ 1Eric Wie> Display (len=13) [ 1Eric Wiel> Display (len=13) [ 1Eric Wieli> Display (len=13) [ 1Eric Wielin> Display (len=13) [ 1Eric Wieling> Display (len=13) [ 1Eric Wieling ] > Progress Indicator (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) > Ext: 1 Progress Description: Calling equipment is non-ISDN. (3) ] > Calling Number (len=14) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) > Called Number (len=13) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '5048991387' ] -- Called R1/5048991387 < Protocol Discriminator: Q.931 (8) len=11 < Call Ref: len= 2 (reference 32770/0x8002) (Terminator) < Message type: CALL PROCEEDING (2) < Channel ID (len= 6) [ Ext: 1 IntID: Explicit, PRI Spare: 0, Exclusive Dchan: 0 < ChanSel: Reserved < Ext: 1 DS1 Identifier: 0 ] -- Processing IE 24 (Channel Identification) < Protocol Discriminator: Q.931 (8) len=9 < Call Ref: len= 2 (reference 32770/0x8002) (Terminator) < Message type: PROGRESS (3) < Progress Indicator (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) < Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ] -- Processing IE 30 (Progress Indicator) NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Outgoing call Proceeding, peerstate Incoming Call Proceeding > Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 2/0x2) (Originator) > Message type: DISCONNECT (69) > Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ] -- Hungup 'Zap/6-1' == Spawn extension (local-access, 95048991387, 2) exited non-zero on 'IAX2[btel@btel]/12' -- Hungup 'IAX2[btel@btel]/12' < Protocol Discriminator: Q.931 (8) len=5 < Call Ref: len= 2 (reference 32770/0x8002) (Terminator) < Message type: RELEASE (77) NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request > Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 2/0x2) (Originator) > Message type: RELEASE COMPLETE (90) > Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ] NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null By: Mark Spencer (markster) 2004-05-22 11:00:28 How embarassing. Please cvs update asterisk-head and try again. Let me know whether the problem occurs in both head and stable or just head. By: Paul Cadach (pcadach) 2004-05-22 13:44:10 See fix of ewieling report dated at 05-22-04 05:50 in bug ASTERISK-1677 By: ewieling (ewieling) 2004-05-22 14:20:55 fs-1*CLI> show version Asterisk CVS-HEAD-05/22/04-12:51:07 built by root@fs-1.ormond.stirlingprop.com on a i686 running Linux -- Executing Dial("IAX2[btel@btel]/8", "Zap/R1/5042325606||g") in new stack -- Called R1/5042325606 -- Zap/5-1 answered IAX2[btel@btel]/8 -- Channel 5, span 1 got hangup -- Hungup 'Zap/5-1' -- Executing Macro("IAX2[btel@btel]/8", "dial-result") in new stack -- Executing NoOp("IAX2[btel@btel]/8", "HANGUPCAUSE is 0") in new stack -- Executing SetVar("IAX2[btel@btel]/8", "SAVED_EXTEN=95042325606") in new stack By: Mark Spencer (markster) 2004-05-22 14:56:36 Do not use the patch mentioned in 1700. Just update to latest CVS. Again, if it does not work you will need to supply pri debug. By: ewieling (ewieling) 2004-05-22 16:05:08 -- Accepting AUTHENTICATED call from 208.164.150.160, requested format = 16, actual format = 16 -- Executing AGI("IAX2[btel@btel]/14", "/etc/asterisk/agi/cidfixup.agi|9857648744") in new stack -- Launched AGI Script /etc/asterisk/agi/cidfixup.agi /etc/asterisk/agi/cidfixup.agi|9857648744: CIDFIXUP: 5042743301 not changed -- AGI Script /etc/asterisk/agi/cidfixup.agi completed, returning 0 -- Executing Dial("IAX2[btel@btel]/14", "Zap/R1/5042325606||g") in new stack -- Making new call for cr 32772 > Protocol Discriminator: Q.931 (8) len=61 > Call Ref: len= 2 (reference 4/0x4) (Originator) > Message type: SETUP (5) > Bearer Capability (len= 3) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0) > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16) > Ext: 1 User information layer 1: u-Law (34) > Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0 > ChanSel: Reserved > Ext: 1 Coding: 0 Number Specified Channel Type: 3 > Ext: 1 Channel: 4 ] > Display (len=13) [ > Display (len=13) [ 1> Display (len=13) [ 1E> Display (len=13) [ 1Er> Display (len=13) [ 1Eri> Display (len=13) [ 1Eric> Display (len=13) [ 1Eric > Display (len=13) [ 1Eric W> Display (len=13) [ 1Eric Wi> Display (len=13) [ 1Eric Wie> Display (len=13) [ 1Eric Wiel> Display (len=13) [ 1Eric Wieli> Display (len=13) [ 1Eric Wielin> Display (len=13) [ 1Eric Wieling> Display (len=13) [ 1Eric Wieling ] > Progress Indicator (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) > Ext: 1 Progress Description: Calling equipment is non-ISDN. (3) ] > Calling Number (len=14) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) > Called Number (len=13) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '5042325606' ] -- Called R1/5042325606 < Protocol Discriminator: Q.931 (8) len=11 < Call Ref: len= 2 (reference 32772/0x8004) (Terminator) < Message type: CALL PROCEEDING (2) < Channel ID (len= 6) [ Ext: 1 IntID: Explicit, PRI Spare: 0, Exclusive Dchan: 0 < ChanSel: Reserved < Ext: 1 DS1 Identifier: 0 ] -- Processing IE 24 (Channel Identification) < Protocol Discriminator: Q.931 (8) len=9 < Call Ref: len= 2 (reference 32772/0x8004) (Terminator) < Message type: PROGRESS (3) < Progress Indicator (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) < Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ] -- Processing IE 30 (Progress Indicator) < Protocol Discriminator: Q.931 (8) len=5 < Call Ref: len= 2 (reference 32772/0x8004) (Terminator) < Message type: CONNECT (7) > Protocol Discriminator: Q.931 (8) len=5 > Call Ref: len= 2 (reference 4/0x4) (Originator) > Message type: CONNECT ACKNOWLEDGE (15) -- Zap/4-1 answered IAX2[btel@btel]/14 < Protocol Discriminator: Q.931 (8) len=9 < Call Ref: len= 2 (reference 32772/0x8004) (Terminator) < Message type: DISCONNECT (69) < Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) < Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ] -- Processing IE 8 (Cause) -- Channel 4, span 1 got hangup NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request > Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 4/0x4) (Originator) > Message type: RELEASE (77) > Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ] -- Hungup 'Zap/4-1' -- Executing Macro("IAX2[btel@btel]/14", "dial-result") in new stack -- Executing NoOp("IAX2[btel@btel]/14", "HANGUPCAUSE is 0") in new stack -- Executing SetVar("IAX2[btel@btel]/14", "SAVED_EXTEN=95042325606") in new stack -- Executing AbsoluteTimeout("IAX2[btel@btel]/14", "120") in new stack -- Set Absolute Timeout to 120 -- Executing Goto("IAX2[btel@btel]/14", "hangupcause+0|1") in new stack -- Goto (macro-dial-result,hangupcause+0,1) -- Executing NoOp("IAX2[btel@btel]/14", "AST_CAUSE_NOTDEFINED") in new stack -- Executing System("IAX2[btel@btel]/14", "/bin/echo "WARNING Error AST_CAUSE_NOTDEFINED when dialing 95042325606 call sent via VoicePulse backup trunk (rUg85rDF84)" | mutt -s "ORMOND PBX ERROR" mis-pager@stirlingprop.com") in new stack < Protocol Discriminator: Q.931 (8) len=5 < Call Ref: len= 2 (reference 32772/0x8004) (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 -- Executing GotoIf("IAX2[btel@btel]/14", "0?hangupcause+0|11") in new stack -- Executing GotoIf("IAX2[btel@btel]/14", "1?hangupcause+0|7") in new stack -- Goto (macro-dial-result,hangupcause+0,7) -- Executing Dial("IAX2[btel@btel]/14", "IAX2/rUg85rDF84@voicepulse/15042325606") in new stack -- Called rUg85rDF84@voicepulse/15042325606 -- Call accepted by 66.234.228.132 (format G726) -- Format for call is G726 -- IAX2[voicepulse]/3 is busy -- Hungup 'IAX2[voicepulse]/3' == Everyone is busy at this time -- Executing Macro("IAX2[btel@btel]/14", "dial-result") in new stack -- Executing NoOp("IAX2[btel@btel]/14", "HANGUPCAUSE is 0") in new stack -- Executing SetVar("IAX2[btel@btel]/14", "SAVED_EXTEN=hangupcause+0") in new stack -- Executing AbsoluteTimeout("IAX2[btel@btel]/14", "120") in new stack -- Set Absolute Timeout to 120 -- Executing Goto("IAX2[btel@btel]/14", "hangupcause+0|1") in new stack -- Goto (macro-dial-result,hangupcause+0,1) -- Executing NoOp("IAX2[btel@btel]/14", "AST_CAUSE_NOTDEFINED") in new stack -- Executing System("IAX2[btel@btel]/14", "/bin/echo "WARNING Error AST_CAUSE_NOTDEFINED when dialing hangupcause+0 call sent via VoicePulse backup trunk (rUg85rDF84)" | mutt -s "ORMOND PBX ERROR" mis-pager@stirlingprop.com") in new stack -- Executing GotoIf("IAX2[btel@btel]/14", "1?hangupcause+0|11") in new stack -- Goto (macro-dial-result,hangupcause+0,11) -- Executing Zapateller("IAX2[btel@btel]/14", "") in new stack -- Executing Playback("IAX2[btel@btel]/14", "an-error-has-occured") in new stack -- Playing 'an-error-has-occured' (language 'en') -- Executing Playback("IAX2[btel@btel]/14", "pls-try-call-later") in new stack -- Playing 'pls-try-call-later' (language 'en') == Spawn extension (macro-dial-result, hangupcause+0, 13) exited non-zero on 'IAX2[btel@btel]/14' in macro 'dial-result' == Spawn extension (macro-dial-result, hangupcause+0, 8) exited non-zero on 'IAX2[btel@btel]/14' in macro 'dial-result' == Spawn extension (local-access, 95042325606, 3) exited non-zero on 'IAX2[btel@btel]/14' -- Hungup 'IAX2[btel@btel]/14' By: ewieling (ewieling) 2004-05-22 16:09:23 [macro-dial-result] ; ; Handle Disconnect Cause Codes ; exten => s,1,NoOp(HANGUPCAUSE is ${HANGUPCAUSE}) exten => s,2,SetVar(SAVED_EXTEN=${MACRO_EXTEN}) exten => s,3,AbsoluteTimeout(120) exten => s,4,Goto(hangupcause+${HANGUPCAUSE},1) exten => hangupcause+0,1,NoOp(AST_CAUSE_NOTDEFINED) exten => hangupcause+0,2,System(/bin/echo "WARNING Error AST_CAUSE_NOTDEFINED when dialing ${SAVED_EXTEN} call sent via Voice exten => hangupcause+0,3,GoToIf($[${SAVED_EXTEN} = hangupcause+0]?hangupcause+0,11) exten => hangupcause+0,4,GoToIf($[${LEN(${SAVED_EXTEN})} = 11]?hangupcause+0,7) exten => hangupcause+0,5,GoToIf($[${LEN(${SAVED_EXTEN})} = 12]?hangupcause+0,9) exten => hangupcause+0,6,GoTo(hangupcause+0,11) exten => hangupcause+0,7,Dial(${VOICEPULSE}/1${SAVED_EXTEN:1}) exten => hangupcause+0,8,Macro(dial-result) exten => hangupcause+0,9,Dial(${VOICEPULSE}/${SAVED_EXTEN:1}) exten => hangupcause+0,10,Macro(dial-result) exten => hangupcause+0,11,Zapateller exten => hangupcause+0,12,Playback(an-error-has-occured) exten => hangupcause+0,13,Playback(pls-try-call-later) exten => hangupcause+0,14,Wait(1) exten => hangupcause+0,15,Zapateller exten => hangupcause+0,16,Playback(an-error-has-occured) exten => hangupcause+0,17,Playback(pls-try-call-later) exten => hangupcause+0,18,Wait(1) exten => hangupcause+0,19,Congestion By: Mark Spencer (markster) 2004-05-22 18:15:07 Just find me on IRC. i can't see anything here to cause it not to work. Please be sure to have head running to make things easier for me. thanks! By: Mark Spencer (markster) 2004-05-22 19:23:48 Fixed in CVS |