@kristiandg wrote:
Good morning all.
This morning we came in and were unable to access voicemail. Our feature code is *0# for voicemail (and has worked for years on various deployments).
When we change the feature code to something like 1234, it works fine, but when it's put back to 0#, the phones report NO RESPONSE (even though it's an instant NO RESPONSE - no time for a timeout to occur), which is what it was doing this morning. Also, our Voicemail access feature code (#0 or #0*+Extension) works just fine.
Does anyone have any thoughts?
Here's are two Asterisk traces of a successful call attempt (when we made the feature code "1234", and when the feature code was back to it's normal "*0#" (what bothers me is the *0# code, the call attempt looks like it's missing the first part of the call setup when I compare it to a working call to a working feature code).
FAILED:
[2016-05-02 12:16:52] SECURITY[2636]: res_security_log.c:116 security_event_stasis_cb: SecurityEvent="ChallengeSent",EventTV="2016-05-02T12:16:52.578-0400",Severity="Informational",Service="SIP",EventVersion="1",AccountID="sip:1602@pbx-admin.gogcit.com",SessionID="0x7f5d7430dfe8",LocalAddress="IPV4/UDP//5060",RemoteAddress="IPV4/UDP//22443",Challenge="535c86d3"
== Using SIP VIDEO TOS bits 136
== Using SIP VIDEO TOS bits 136 in TCLASS field.
== Using SIP VIDEO CoS mark 5
== Using SIP RTP TOS bits 184
== Using SIP RTP TOS bits 184 in TCLASS field.
== Using SIP RTP CoS mark 6
== Extension Changed 1602[ext-local] new state InUse for Notify User 1601
== Extension Changed 1602[ext-local] new state InUse for Notify User 1777
== Extension Changed 1602[ext-local] new state InUse for Notify User 1602
-- Executing [*0#@from-internal:1] GotoIf("SIP/1602-0000000c", "1?hangup") in new stack
-- Goto (from-internal,*0#,3)
-- Executing [*0#@from-internal:3] Hangup("SIP/1602-0000000c", "") in new stack
== Spawn extension (from-internal, *0#, 3) exited non-zero on 'SIP/1602-0000000c'
-- Executing [h@from-internal:1] Macro("SIP/1602-0000000c", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/1602-0000000c", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/1602-0000000c", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("SIP/1602-0000000c", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/1602-0000000c' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1602-0000000c'
== Extension Changed 1602[ext-local] new state Idle for Notify User 1601 (queued)
== Extension Changed 1602[ext-local] new state Idle for Notify User 1777 (queued)
== Extension Changed 1602[ext-local] new state Idle for Notify User 1602 (queued)WORKING:
[2016-05-02 12:22:02] SECURITY[2636]: res_security_log.c:116 security_event_stasis_cb: SecurityEvent="ChallengeSent",EventTV="2016-05-02T12:22:02.133-0400",Severity="Informational",Service="SIP",EventVersion="1",AccountID="sip:1602@",SessionID="0x7f5d74265f18",LocalAddress="IPV4/UDP//5060",RemoteAddress="IPV4/UDP//22443",Challenge="047a77bb"
== Using SIP VIDEO TOS bits 136
== Using SIP VIDEO TOS bits 136 in TCLASS field.
== Using SIP VIDEO CoS mark 5
== Using SIP RTP TOS bits 184
== Using SIP RTP TOS bits 184 in TCLASS field.
== Using SIP RTP CoS mark 6
== Extension Changed 1602[ext-local] new state InUse for Notify User 1601
== Extension Changed 1602[ext-local] new state InUse for Notify User 1777
== Extension Changed 1602[ext-local] new state InUse for Notify User 1602
-- Executing [1234@from-internal:1] Answer("SIP/1602-00000011", "") in new stack0x7f5d74322e70 -- Probation passed - setting RTP source address to :15000
-- Executing [1234@from-internal:2] Wait("SIP/1602-00000011", "1") in new stack
-- Executing [1234@from-internal:3] Macro("SIP/1602-00000011", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/1602-00000011", "TOUCH_MONITOR=1462206122.62") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/1602-00000011", "AMPUSER=1602") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/1602-00000011", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/1602-00000011", "1?Set(REALCALLERIDNUM=1602)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/1602-00000011", "AMPUSER=1602") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/1602-00000011", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/1602-00000011", "AMPUSERCIDNAME=Kristian Guntzelman") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/1602-00000011", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/1602-00000011", "AMPUSERCID=1602") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/1602-00000011", "_DIALOPTIONS=r") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/1602-00000011", "CALLERID(all)="Kristian Guntzelman" <1602>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/1602-00000011", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/1602-00000011", "0?Set(GROUP(concurrency_limit)=1602)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/1602-00000011", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/1602-00000011", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] ExecIf("SIP/1602-00000011", "1?Set(_CALLEEACCOUNCODE=)") in new stack
-- Executing [s@macro-user-callerid:17] Set("SIP/1602-00000011", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:18] GotoIf("SIP/1602-00000011", "1?continue") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [s@macro-user-callerid:29] Set("SIP/1602-00000011", "CALLERID(number)=1602") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/1602-00000011", "CALLERID(name)=Kristian Guntzelman") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/1602-00000011", "CDR(cnum)=1602") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/1602-00000011", "CDR(cnam)=Kristian Guntzelman") in new stack
-- Executing [s@macro-user-callerid:33] Set("SIP/1602-00000011", "CHANNEL(language)=en") in new stack
-- Executing [1234@from-internal:4] Macro("SIP/1602-00000011", "get-vmcontext,1602") in new stack
-- Executing [s@macro-get-vmcontext:1] Set("SIP/1602-00000011", "VMCONTEXT=default") in new stack
-- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/1602-00000011", "0?200:300") in new stack
-- Goto (macro-get-vmcontext,s,300)
-- Executing [s@macro-get-vmcontext:300] NoOp("SIP/1602-00000011", "") in new stack
-- Executing [1234@from-internal:5] Set("SIP/1602-00000011", "VMBOXEXISTSSTATUS=SUCCESS") in new stack
-- Executing [1234@from-internal:6] GotoIf("SIP/1602-00000011", "1?mbexist") in new stack
-- Goto (from-internal,1234,106)
-- Executing [1234@from-internal:106] GotoIf("SIP/1602-00000011", "1?novmpw:vmpw") in new stack
-- Goto (from-internal,1234,107)
-- Executing [1234@from-internal:107] NoOp("SIP/1602-00000011", "Verifying channel SIP/1602-00000011 is actually 1602") in new stack
-- Executing [1234@from-internal:108] GotoIf("SIP/1602-00000011", "0?vmpws") in new stack
-- Executing [1234@from-internal:109] VoiceMailMain("SIP/1602-00000011", "1602@default,s") in new stack
-- Playing 'vm-youhave.gsm' (language 'en')
-- Playing 'digits/3.gsm' (language 'en')
-- Playing 'vm-INBOX.gsm' (language 'en')
-- Playing 'vm-messages.gsm' (language 'en')
-- Playing 'vm-onefor.gsm' (language 'en')
== Spawn extension (from-internal, 1234, 109) exited non-zero on 'SIP/1602-00000011'
-- Executing [h@from-internal:1] Macro("SIP/1602-00000011", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/1602-00000011", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/1602-00000011", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("SIP/1602-00000011", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/1602-00000011' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1602-00000011'
== Extension Changed 1602[ext-local] new state Idle for Notify User 1601
== Extension Changed 1602[ext-local] new state Idle for Notify User 1777
== Extension Changed 1602[ext-local] new state Idle for Notify User 1602DIALPLAN:
Working:
[app-vmmain]
include => app-vmmain-custom
exten => 1234,1,Answer
exten => 1234,n,Wait(1)
exten => 1234,n,Macro(user-callerid,)
exten => 1234,n,Macro(get-vmcontext,${AMPUSER})
exten => 1234,n(check),Set(VMBOXEXISTSSTATUS=${IF(${VM_INFO(${AMPUSER}@${VMCONTEXT},exists)}?SUCCESS:FAILED)})
exten => 1234,n,GotoIf($["${VMBOXEXISTSSTATUS}" = "SUCCESS"]?mbexist)
exten => 1234,n,VoiceMailMain()
exten => 1234,n,GotoIf($["${IVR_RETVM}" = "RETURN" & "${IVR_CONTEXT}" != ""]?playret)
exten => 1234,n,Macro(hangupcall,)
exten => 1234,check+101(mbexist),GotoIf($["${DB(AMPUSER/${AMPUSER}/novmpw)}"!=""]?novmpw:vmpw)
exten => 1234,n(novmpw),Noop(Verifying channel ${CHANNEL} is actually ${AMPUSER})
exten => 1234,n,GotoIf($["${REGEX("^${DB(DEVICE/${AMPUSER}/dial)}-[0-9a-fx]+$" ${CHANNEL})}"!="1"]?vmpws)
exten => 1234,n,VoiceMailMain(${AMPUSER}@${VMCONTEXT},s)
exten => 1234,n,Goto(vmend)
exten => 1234,n(vmpws),Noop(Channel ${CHANNEL} is NOT ${AMPUSER} forcing VM Password)
exten => 1234,n(vmpw),VoiceMailMain(${AMPUSER}@${VMCONTEXT})
exten => 1234,n,Goto(vmend)
exten => 1234,n(vmend),GotoIf($["${IVR_RETVM}" = "RETURN" & "${IVR_CONTEXT}" != ""]?playret)
exten => 1234,n,Macro(hangupcall,)
exten => 1234,n(playret),Playback(beep&you-will-be-transfered-menu&silence/1)
exten => 1234,n,Goto(${IVR_CONTEXT},return,1)Failed:
[app-vmmain]
include => app-vmmain-custom
exten => *0#,1,Answer
exten => *0#,n,Wait(1)
exten => *0#,n,Macro(user-callerid,)
exten => *0#,n,Macro(get-vmcontext,${AMPUSER})
exten => *0#,n(check),Set(VMBOXEXISTSSTATUS=${IF(${VM_INFO(${AMPUSER}@${VMCONTEXT},exists)}?SUCCESS:FAILED)})
exten => *0#,n,GotoIf($["${VMBOXEXISTSSTATUS}" = "SUCCESS"]?mbexist)
exten => *0#,n,VoiceMailMain()
exten => *0#,n,GotoIf($["${IVR_RETVM}" = "RETURN" & "${IVR_CONTEXT}" != ""]?playret)
exten => *0#,n,Macro(hangupcall,)
exten => *0#,check+101(mbexist),GotoIf($["${DB(AMPUSER/${AMPUSER}/novmpw)}"!=""]?novmpw:vmpw)
exten => *0#,n(novmpw),Noop(Verifying channel ${CHANNEL} is actually ${AMPUSER})
exten => *0#,n,GotoIf($["${REGEX("^${DB(DEVICE/${AMPUSER}/dial)}-[0-9a-fx]+$" ${CHANNEL})}"!="1"]?vmpws)
exten => *0#,n,VoiceMailMain(${AMPUSER}@${VMCONTEXT},s)
exten => *0#,n,Goto(vmend)
exten => *0#,n(vmpws),Noop(Channel ${CHANNEL} is NOT ${AMPUSER} forcing VM Password)
exten => *0#,n(vmpw),VoiceMailMain(${AMPUSER}@${VMCONTEXT})
exten => *0#,n,Goto(vmend)
exten => *0#,n(vmend),GotoIf($["${IVR_RETVM}" = "RETURN" & "${IVR_CONTEXT}" != ""]?playret)
exten => *0#,n,Macro(hangupcall,)
exten => *0#,n(playret),Playback(beep&you-will-be-transfered-menu&silence/1)
exten => *0#,n,Goto(${IVR_CONTEXT},return,1)
Posts: 22
Participants: 2