Summary: | ASTERISK-17461: DISA allow hangup feature doesn't seem to work | ||
Reporter: | ilie neagu (ineagu) | Labels: | |
Date Opened: | 2011-02-23 00:48:37.000-0600 | Date Closed: | 2011-02-23 08:33:25.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_disa |
Versions: | 1.8.2 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | hello, This is on Asterisk 1.8.2.3 I'm using DISA and at the end of a call when i press "**" to get a new dial-tone there is a hangup but no a new dial-tone. ****** ADDITIONAL INFORMATION ****** here are the logs: ---- Verbosity is at least 10 Core debug is at least 10 -- Accepting AUTHENTICATED call from x.x.x.x: > requested format = gsm, > requested prefs = disabled, > actual format = gsm, > host prefs = disabled, > priority = disabled -- Executing [2001@from-internal:1] NoOp("IAX2/2080-14130", "Running miscapp 10: disa-test") in new stack -- Executing [2001@from-internal:2] Macro("IAX2/2080-14130", "user-callerid,") in new stack -- Executing [s@macro-user-callerid:1] Set("IAX2/2080-14130", "AMPUSER=2080") in new stack -- Executing [s@macro-user-callerid:2] GotoIf("IAX2/2080-14130", "0?report") in new stack -- Executing [s@macro-user-callerid:3] ExecIf("IAX2/2080-14130", "0?Set(REALCALLERIDNUM=2080)") in new stack -- Executing [s@macro-user-callerid:4] Set("IAX2/2080-14130", "AMPUSER=2080") in new stack -- Executing [s@macro-user-callerid:5] Set("IAX2/2080-14130", "AMPUSERCIDNAME=IN") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("IAX2/2080-14130", "0?report") in new stack -- Executing [s@macro-user-callerid:7] Set("IAX2/2080-14130", "AMPUSERCID=2080") in new stack -- Executing [s@macro-user-callerid:8] Set("IAX2/2080-14130", "CALLERID(all)="IN" <2080>") in new stack -- Executing [s@macro-user-callerid:9] GotoIf("IAX2/2080-14130", "0?continue") in new stack -- Executing [s@macro-user-callerid:10] Set("IAX2/2080-14130", "__TTL=64") in new stack -- Executing [s@macro-user-callerid:11] GotoIf("IAX2/2080-14130", "1?continue") in new stack -- Goto (macro-user-callerid,s,18) -- Executing [s@macro-user-callerid:18] Set("IAX2/2080-14130", "CALLERID(number)=2080") in new stack -- Executing [s@macro-user-callerid:19] Set("IAX2/2080-14130", "CALLERID(name)=IN") in new stack -- Executing [s@macro-user-callerid:20] NoOp("IAX2/2080-14130", "Using CallerID "IN" <2080>") in new stack -- Executing [2001@from-internal:3] Goto("IAX2/2080-14130", "disa,12,1") in new stack -- Goto (disa,12,1) -- Executing [12@disa:1] Set("IAX2/2080-14130", "_DISA="disa,12,newcall"") in new stack -- Executing [12@disa:2] Set("IAX2/2080-14130", "_DISACONTEXT=from-internal") in new stack -- Executing [12@disa:3] Set("IAX2/2080-14130", "_KEEPCID=TRUE") in new stack -- Executing [12@disa:4] Set("IAX2/2080-14130", "_HANGUP=Hg") in new stack -- Executing [12@disa:5] Set("IAX2/2080-14130", "TIMEOUT(digit)=9") in new stack -- Digit timeout set to 9.000 -- Executing [12@disa:6] Set("IAX2/2080-14130", "TIMEOUT(response)=14") in new stack -- Response timeout set to 14.000 -- Executing [12@disa:7] DISA("IAX2/2080-14130", "no-password,disa-dial") in new stack << [ TYPE: DTMF End (1) SUBCLASS: 4 (52) ] [IAX2/2080-14130] << [ TYPE: DTMF End (1) SUBCLASS: 8 (56) ] [IAX2/2080-14130] << [ TYPE: DTMF End (1) SUBCLASS: 8 (56) ] [IAX2/2080-14130] << [ TYPE: DTMF End (1) SUBCLASS: # (35) ] [IAX2/2080-14130] -- Executing [488@disa-dial:1] NoOp("IAX2/2080-14130", "called 488 in from-internal by "disa,12,newcall"") in new stack -- Executing [488@disa-dial:2] Dial("IAX2/2080-14130", "Local/488@from-internal,300,Hg") in new stack -- Called 488@from-internal -- Executing [488@from-internal:1] NoOp("Local/488@from-internal-17d5;2", "Running miscapp 3: to-ivr-in") in new stack -- Executing [488@from-internal:2] Macro("Local/488@from-internal-17d5;2", "user-callerid,") in new stack -- Executing [s@macro-user-callerid:1] Set("Local/488@from-internal-17d5;2", "AMPUSER=2080") in new stack -- Executing [s@macro-user-callerid:2] GotoIf("Local/488@from-internal-17d5;2", "1?report") in new stack -- Goto (macro-user-callerid,s,9) -- Executing [s@macro-user-callerid:9] GotoIf("Local/488@from-internal-17d5;2", "0?continue") in new stack -- Executing [s@macro-user-callerid:10] Set("Local/488@from-internal-17d5;2", "__TTL=63") in new stack -- Executing [s@macro-user-callerid:11] GotoIf("Local/488@from-internal-17d5;2", "1?continue") in new stack -- Goto (macro-user-callerid,s,18) -- Executing [s@macro-user-callerid:18] Set("Local/488@from-internal-17d5;2", "CALLERID(number)=2080") in new stack -- Executing [s@macro-user-callerid:19] Set("Local/488@from-internal-17d5;2", "CALLERID(name)=IN") in new stack -- Executing [s@macro-user-callerid:20] NoOp("Local/488@from-internal-17d5;2", "Using CallerID "IN" <2080>") in new stack -- Executing [488@from-internal:3] Goto("Local/488@from-internal-17d5;2", "ivr-2,s,1") in new stack -- Goto (ivr-2,s,1) -- Executing [s@ivr-2:1] Set("Local/488@from-internal-17d5;2", "MSG=custom/in-ivr") in new stack -- Executing [s@ivr-2:2] Set("Local/488@from-internal-17d5;2", "LOOPCOUNT=0") in new stack -- Executing [s@ivr-2:3] Set("Local/488@from-internal-17d5;2", "__DIR-CONTEXT=") in new stack -- Executing [s@ivr-2:4] Set("Local/488@from-internal-17d5;2", "_IVR_CONTEXT_ivr-2=") in new stack -- Executing [s@ivr-2:5] Set("Local/488@from-internal-17d5;2", "_IVR_CONTEXT=ivr-2") in new stack -- Executing [s@ivr-2:6] GotoIf("Local/488@from-internal-17d5;2", "0?begin") in new stack -- Executing [s@ivr-2:7] Answer("Local/488@from-internal-17d5;2", "") in new stack << [ TYPE: Control (4) SUBCLASS: Answer (4) ] [Local/488@from-internal-17d5;1] -- Local/488@from-internal-17d5;1 answered IAX2/2080-14130 << [ TYPE: Control (4) SUBCLASS: Stop generators (-1) ] [Local/488@from-internal-17d5;1] << [ TYPE: Control (4) SUBCLASS: Unknown control '20' (20) ] [Local/488@from-internal-17d5;2] << [ TYPE: Control (4) SUBCLASS: Unknown control '20' (20) ] [Local/488@from-internal-17d5;2] << [ TYPE: Control (4) SUBCLASS: Unknown control '20' (20) ] [Local/488@from-internal-17d5;2] -- Executing [s@ivr-2:8] Wait("Local/488@from-internal-17d5;2", "1") in new stack << [ TYPE: Control (4) SUBCLASS: Unknown control '20' (20) ] [Local/488@from-internal-17d5;2] << [ TYPE: Control (4) SUBCLASS: Unknown control '20' (20) ] [Local/488@from-internal-17d5;2] << [ TYPE: Control (4) SUBCLASS: Unknown control '20' (20) ] [Local/488@from-internal-17d5;2] -- Executing [s@ivr-2:9] Set("Local/488@from-internal-17d5;2", "TIMEOUT(digit)=3") in new stack -- Digit timeout set to 3.000 -- Executing [s@ivr-2:10] Set("Local/488@from-internal-17d5;2", "TIMEOUT(response)=5") in new stack -- Response timeout set to 5.000 -- Executing [s@ivr-2:11] Set("Local/488@from-internal-17d5;2", "__IVR_RETVM=RETURN") in new stack -- Executing [s@ivr-2:12] ExecIf("Local/488@from-internal-17d5;2", "1?Background(custom/in-ivr)") in new stack -- <Local/488@from-internal-17d5;2> Playing 'custom/in-ivr.slin' (language 'en') << [ TYPE: Control (4) SUBCLASS: Unknown control '20' (20) ] [Local/488@from-internal-17d5;2] << [ TYPE: Control (4) SUBCLASS: Unknown control '20' (20) ] [Local/488@from-internal-17d5;2] << [ TYPE: Control (4) SUBCLASS: Unknown control '20' (20) ] [Local/488@from-internal-17d5;2] << [ TYPE: DTMF Begin (12) SUBCLASS: * (42) ] [IAX2/2080-14130] << [ TYPE: Control (4) SUBCLASS: Unknown control '20' (20) ] [Local/488@from-internal-17d5;2] << [ TYPE: Control (4) SUBCLASS: Unknown control '20' (20) ] [Local/488@from-internal-17d5;2] << [ TYPE: DTMF End (1) SUBCLASS: * (42) ] [IAX2/2080-14130] << [ TYPE: Control (4) SUBCLASS: Unknown control '20' (20) ] [Local/488@from-internal-17d5;2] << [ TYPE: Control (4) SUBCLASS: Unknown control '20' (20) ] [Local/488@from-internal-17d5;2] << [ TYPE: DTMF Begin (12) SUBCLASS: * (42) ] [IAX2/2080-14130] << [ TYPE: Control (4) SUBCLASS: Unknown control '20' (20) ] [Local/488@from-internal-17d5;2] << [ TYPE: Control (4) SUBCLASS: Unknown control '20' (20) ] [Local/488@from-internal-17d5;2] << [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [IAX2/2080-14130] << [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [IAX2/2080-14130] << [ TYPE: DTMF End (1) SUBCLASS: * (42) ] [IAX2/2080-14130] > User hit '**' to disconnect call. << [ TYPE: Control (4) SUBCLASS: Unknown control '20' (20) ] [Local/488@from-internal-17d5;2] << [ HANGUP (NULL) ] [Local/488@from-internal-17d5;2] == Spawn extension (ivr-2, s, 12) exited non-zero on 'Local/488@from-internal-17d5;2' -- Executing [h@ivr-2:1] Hangup("Local/488@from-internal-17d5;2", "") in new stack == Spawn extension (ivr-2, h, 1) exited non-zero on 'Local/488@from-internal-17d5;2' -- Executing [488@disa-dial:3] Gosub("IAX2/2080-14130", "s-ANSWER,1") in new stack -- Executing [s-ANSWER@disa-dial:1] Return("IAX2/2080-14130", "") in new stack -- Executing [488@disa-dial:4] Goto("IAX2/2080-14130", ""disa,12,newcall"") in new stack == Spawn extension (disa-dial, 488, 4) exited non-zero on 'IAX2/2080-14130' -- Hungup 'IAX2/2080-14130' ---- int the /var/log/asterisk/full log file I see: -- [Feb 23 01:16:47] VERBOSE[7685] pbx.c: -- Executing [s-ANSWER@disa-dial:1] Return("IAX2/2080-13979", "") in new stack [Feb 23 01:16:47] DEBUG[7685] pbx.c: Result of 'DISA' is '"disa,12,newcall"' [Feb 23 01:16:47] DEBUG[7685] pbx.c: Launching 'Goto' [Feb 23 01:16:47] VERBOSE[7685] pbx.c: -- Executing [488@disa-dial:4] Goto("IAX2/2080-13979", ""disa,12,newcall"") in new stack [Feb 23 01:16:47] NOTICE[7685] pbx.c: Cannot find extension context '"disa' [Feb 23 01:16:47] WARNING[7685] pbx.c: Priority 'newcall"' must be a number > 0, or valid label [Feb 23 01:16:47] DEBUG[7685] pbx.c: Spawn extension (disa-dial,488,4) exited non-zero on 'IAX2/2080-13979' [Feb 23 01:16:47] VERBOSE[7685] pbx.c: == Spawn extension (disa-dial, 488, 4) exited non-zero on 'IAX2/2080-13979' [Feb 23 01:16:47] DEBUG[7685] channel.c: Soft-Hanging up channel 'IAX2/2080-13979' [Feb 23 01:16:47] DEBUG[7685] channel.c: Hanging up channel 'IAX2/2080-13979' [Feb 23 01:16:47] DEBUG[7685] chan_iax2.c: We're hanging up IAX2/2080-13979 now... [Feb 23 01:16:47] VERBOSE[7685] chan_iax2.c: -- Hungup 'IAX2/2080-13979' [Feb 23 01:16:47] DEBUG[2843] devicestate.c: No provider found, checking channel drivers for IAX2 - 2080 [Feb 23 01:16:47] DEBUG[2843] chan_iax2.c: Checking device state for device 2080 --- Thank you for your help Regards, Ilie Neagu | ||
Comments: | By: Paul Belanger (pabelanger) 2011-02-23 08:33:25.000-0600 This is a dialplan configuration error, not an asterisk bug (see below). -- Thanks for your comments. This does not appear to be a bug report and we are closing it. We appreciate the difficulties you are facing, but it would make more sense to raise your question in the support tracker, http://www.asterisk.org/support |