-- Starting simple switch on 'Zap/1-1' [May 3 10:49:21] DTMF[10455]: channel.c:2116 __ast_read: DTMF end 'X' received on Zap/1-1, duration 0 ms [May 3 10:49:21] DTMF[10455]: channel.c:2168 __ast_read: DTMF end accepted without begin 'X' on Zap/1-1 [May 3 10:49:21] DTMF[10455]: channel.c:2179 __ast_read: DTMF end passthrough 'X' on Zap/1-1 [May 3 10:49:21] DTMF[10455]: channel.c:2116 __ast_read: DTMF end 'X' received on Zap/1-1, duration 0 ms [May 3 10:49:21] DTMF[10455]: channel.c:2168 __ast_read: DTMF end accepted without begin 'X' on Zap/1-1 [May 3 10:49:21] DTMF[10455]: channel.c:2179 __ast_read: DTMF end passthrough 'X' on Zap/1-1 [May 3 10:49:21] DTMF[10455]: channel.c:2116 __ast_read: DTMF end 'X' received on Zap/1-1, duration 0 ms [May 3 10:49:21] DTMF[10455]: channel.c:2168 __ast_read: DTMF end accepted without begin 'X' on Zap/1-1 [May 3 10:49:21] DTMF[10455]: channel.c:2179 __ast_read: DTMF end passthrough 'X' on Zap/1-1 [May 3 10:49:21] DTMF[10455]: channel.c:2116 __ast_read: DTMF end 'X' received on Zap/1-1, duration 0 ms [May 3 10:49:21] DTMF[10455]: channel.c:2168 __ast_read: DTMF end accepted without begin 'X' on Zap/1-1 [May 3 10:49:21] DTMF[10455]: channel.c:2179 __ast_read: DTMF end passthrough 'X' on Zap/1-1 -- Executing [XXXX@from-pstn:1] NoOp("Zap/1-1", "Catch-All DID Match - Found XXXX - You probably want a DID for this.") in new stack -- Executing [XXXX@from-pstn:2] Goto("Zap/1-1", "ext-did|s|1") in new stack -- Goto (ext-did,s,1) -- Executing [s@ext-did:1] Set("Zap/1-1", "__FROM_DID=s") in new stack -- Executing [s@ext-did:2] ExecIf("Zap/1-1", "1 |Set|CALLERID(name)=") in new stack -- Executing [s@ext-did:3] Set("Zap/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack -- Executing [s@ext-did:4] SetCallerPres("Zap/1-1", "allowed_not_screened") in new stack -- Executing [s@ext-did:5] Goto("Zap/1-1", "timeconditions|1|1") in new stack -- Goto (timeconditions,1,1) -- Executing [1@timeconditions:1] GotoIfTime("Zap/1-1", "07:59-17:31|mon-fri|1-31|jan-dec?ivr-2|s|1") in new stack -- Executing [1@timeconditions:2] Goto("Zap/1-1", "ivr-1|s|1") in new stack -- Goto (ivr-1,s,1) -- Executing [s@ivr-1:1] Set("Zap/1-1", "MSG=custom/AFTERHRS") in new stack -- Executing [s@ivr-1:2] Set("Zap/1-1", "LOOPCOUNT=0") in new stack -- Executing [s@ivr-1:3] Set("Zap/1-1", "__DIR-CONTEXT=default") in new stack -- Executing [s@ivr-1:4] Set("Zap/1-1", "_IVR_CONTEXT_ivr-1=") in new stack -- Executing [s@ivr-1:5] Set("Zap/1-1", "_IVR_CONTEXT=ivr-1") in new stack -- Executing [s@ivr-1:6] GotoIf("Zap/1-1", "0?begin") in new stack -- Executing [s@ivr-1:7] Answer("Zap/1-1", "m") in new stack [May 3 10:49:25] DEBUG[10455]: chan_zap.c:3277 zt_answer: Took Zap/1-1 off hook -- Executing [s@ivr-1:8] Wait("Zap/1-1", "1") in new stack -- Executing [s@ivr-1:9] Set("Zap/1-1", "TIMEOUT(digit)=3") in new stack -- Digit timeout set to 3 -- Executing [s@ivr-1:10] Set("Zap/1-1", "TIMEOUT(response)=10") in new stack -- Response timeout set to 10 -- Executing [s@ivr-1:11] Set("Zap/1-1", "__IVR_RETVM=") in new stack -- Executing [s@ivr-1:12] ExecIf("Zap/1-1", "1|Background|custom/AFTERHRS") in new stack -- Playing 'custom/AFTERHRS' (language 'en') [May 3 10:49:28] DTMF[10455]: channel.c:2116 __ast_read: DTMF end '2' received on Zap/1-1, duration 0 ms [May 3 10:49:28] DTMF[10455]: channel.c:2168 __ast_read: DTMF end accepted without begin '2' on Zap/1-1 [May 3 10:49:28] DTMF[10455]: channel.c:2179 __ast_read: DTMF end passthrough '2' on Zap/1-1 [May 3 10:49:28] DTMF[10455]: channel.c:2116 __ast_read: DTMF end '2' received on Zap/1-1, duration 0 ms [May 3 10:49:28] DTMF[10455]: channel.c:2168 __ast_read: DTMF end accepted without begin '2' on Zap/1-1 [May 3 10:49:28] DTMF[10455]: channel.c:2179 __ast_read: DTMF end passthrough '2' on Zap/1-1 -- Invalid extension '22' in context 'ivr-1' on Zap/1-1 == CDR updated on Zap/1-1 -- Executing [i@ivr-1:1] Playback("Zap/1-1", "invalid") in new stack -- Playing 'invalid' (language 'en') [May 3 10:49:28] DTMF[10455]: channel.c:2116 __ast_read: DTMF end '2' received on Zap/1-1, duration 0 ms [May 3 10:49:28] DTMF[10455]: channel.c:2168 __ast_read: DTMF end accepted without begin '2' on Zap/1-1 [May 3 10:49:28] DTMF[10455]: channel.c:2179 __ast_read: DTMF end passthrough '2' on Zap/1-1 [May 3 10:49:30] DTMF[10455]: channel.c:2116 __ast_read: DTMF end '2' received on Zap/1-1, duration 0 ms [May 3 10:49:30] DTMF[10455]: channel.c:2168 __ast_read: DTMF end accepted without begin '2' on Zap/1-1 [May 3 10:49:30] DTMF[10455]: channel.c:2179 __ast_read: DTMF end passthrough '2' on Zap/1-1 -- Executing [i@ivr-1:2] Goto("Zap/1-1", "loop|1") in new stack -- Goto (ivr-1,loop,1) -- Executing [loop@ivr-1:1] Set("Zap/1-1", "LOOPCOUNT=1") in new stack -- Executing [loop@ivr-1:2] GotoIf("Zap/1-1", "0?hang|1") in new stack -- Executing [loop@ivr-1:3] Goto("Zap/1-1", "ivr-1|s|begin") in new stack -- Goto (ivr-1,s,9) -- Executing [s@ivr-1:9] Set("Zap/1-1", "TIMEOUT(digit)=3") in new stack -- Digit timeout set to 3 -- Executing [s@ivr-1:10] Set("Zap/1-1", "TIMEOUT(response)=10") in new stack -- Response timeout set to 10 -- Executing [s@ivr-1:11] Set("Zap/1-1", "__IVR_RETVM=") in new stack -- Executing [s@ivr-1:12] ExecIf("Zap/1-1", "1|Background|custom/AFTERHRS") in new stack -- Playing 'custom/AFTERHRS' (language 'en') [May 3 10:49:36] DTMF[10455]: channel.c:2116 __ast_read: DTMF end '0' received on Zap/1-1, duration 0 ms [May 3 10:49:36] DTMF[10455]: channel.c:2168 __ast_read: DTMF end accepted without begin '0' on Zap/1-1 [May 3 10:49:36] DTMF[10455]: channel.c:2179 __ast_read: DTMF end passthrough '0' on Zap/1-1 -- Invalid extension '0' in context 'ivr-1' on Zap/1-1 == CDR updated on Zap/1-1 -- Executing [i@ivr-1:1] Playback("Zap/1-1", "invalid") in new stack -- Playing 'invalid' (language 'en') -- Executing [i@ivr-1:2] Goto("Zap/1-1", "loop|1") in new stack -- Goto (ivr-1,loop,1) -- Executing [loop@ivr-1:1] Set("Zap/1-1", "LOOPCOUNT=2") in new stack -- Executing [loop@ivr-1:2] GotoIf("Zap/1-1", "0?hang|1") in new stack -- Executing [loop@ivr-1:3] Goto("Zap/1-1;40m", "ivr-1|s|begin") in new stack -- Goto (ivr-1,s,9) -- Executing [s@ivr-1:9] Set("Zap/1-1", "TIMEOUT(digit)=3") in new stack -- Digit timeout set to 3 -- Executing [s@ivr-1:10] Set("Zap/1-1", "TIMEOUT(response)=10") in new stack -- Response timeout set to 10 -- Executing [s@ivr-1:11] Set("Zap/1-1", "__IVR_RETVM=") in new stack -- Executing [s@ivr-1:12] ExecIf("Zap/1-1", "1|Background|custom/AFTERHRS") in new stack -- Playing 'custom/AFTERHRS' (language 'en') [May 3 10:49:43] DTMF[10455]: channel.c:2116 __ast_read: DTMF end '2' received on Zap/1-1, duration 0 ms [May 3 10:49:43] DTMF[10455]: channel.c:2168 __ast_read: DTMF end accepted without begin '2' on Zap/1-1 [May 3 10:49:43] DTMF[10455]: channel.c:2179 __ast_read: DTMF end passthrough '2' on Zap/1-1 == CDR updated on Zap/1-1 -- Executing [2@ivr-1:1] DBdel("Zap/1-1", "") in new stack [May 3 10:49:46] WARNING[10455]: app_db.c:119 del_exec: The DBdel application has been deprecated in favor of the DB_DELETE dialplan function! [May 3 10:49:46] DEBUG[10455]: app_db.c:139 del_exec: Ignoring, no parameters -- Executing [2@ivr-1:2] Set("Zap/1-1", "__NODEST=") in new stack -- Executing [2@ivr-1:3] Goto("Zap/1-1", "ext-local|vmu100|1") in new stack -- Goto (ext-local,vmu100,1) -- Executing [vmu100@ext-local:1] Macro("Zap/1-1", "vm|100|NOANSWER|") in new stack -- Executing [s@macro-vm:1] Macro("Zap/1-1", "user-callerid|SKIPTTL") in new stack -- Executing [s@macro-user-callerid:1] Set("Zap/1-1", "AMPUSER=") in new stack [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: Set -- Executing [s@macro-user-callerid:2] GotoIf("Zap/1-1", "0?report") in new stack [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: GotoIf -- Executing [s@macro-user-callerid:3] ExecIf("Zap/1-1", "1|Set|REALCALLERIDNUM=") in new stack [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: ExecIf [May 3 10:49:46] DEBUG[10455]: app_macro.c:378 _macro_exec: Last app: Set|REALCALLERIDNUM= [May 3 10:49:46] DEBUG[10455]: func_db.c:70 function_db_read: DB: DEVICE//user not found in database. -- Executing [s@macro-user-callerid:4] Set("Zap/1-1", "AMPUSER=") in new stack [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: Set [May 3 10:49:46] DEBUG[10455]: func_db.c:70 function_db_read: DB: AMPUSER//cidname not found in database. -- Executing [s@macro-user-callerid:5] Set("Zap/1-1", "AMPUSERCIDNAME=") in new stack [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: Set -- Executing [s@macro-user-callerid:6] GotoIf("Zap/1-1", "1?report") in new stack -- Goto (macro-user-callerid,s,10) [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: GotoIf -- Executing [s@macro-user-callerid:10] GotoIf("Zap/1-1", "1?continue") in new stack -- Goto (macro-user-callerid,s,19) [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: GotoIf -- Executing [s@macro-user-callerid:19] NoOp("Zap/1-1", "Using CallerID "" <>") in new stack [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: Noop [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: Macro -- Executing [s@macro-vm:2] Set("Zap/1-1", "VMGAIN=g(3)") in new stack [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: Set [May 3 10:49:46] WARNING[10455]: func_db.c:58 function_db_read: DB requires an argument, DB(/) -- Executing [s@macro-vm:3] GotoIf("Zap/1-1", "1?vmx|1") in new stack -- Goto (macro-vm,vmx,1) [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: GotoIf -- Executing [vmx@macro-vm:1] GotoIf("Zap/1-1", "0?s-NOANSWER|1") in new stack [May 3 10:49:46] DEBUG[10455]: [1;37;40mapp_macro.c:337 _macro_exec: Executed application: GotoIf -- Executing [vmx@macro-vm:2] Set("Zap/1-1", "MODE=unavail") in new stack [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: Set -- Executing [vmx@macro-vm:3] GotoIf("Zap/1-1", "1?notdirect") in new stack -- Goto (macro-vm,vmx,5) [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: GotoIf [May 3 10:49:46] DEBUG[10455]: func_db.c:70 function_db_read: DB: AMPUSER/100/vmx/unavail/state not found in database. -- Executing [vmx@macro-vm:5] NoOp("Zap/1-1", "Checking if ext 100 is enabled: ") in new stack [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: Noop [May 3 10:49:46] DEBUG[10455]: func_db.c:70 function_db_read: DB: AMPUSER/100/vmx/unavail/state not found in database. -- Executing [vmx@macro-vm:6] GotoIf("Zap/1-1", "1?s-NOANSWER|1") in new stack -- Goto (macro-vm,s-NOANSWER,1) [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 0m_macro_exec: Executed application: GotoIf -- Executing [s-NOANSWER@macro-vm:1] Macro("Zap/1-1", "get-vmcontext|100") in new stack -- Executing [s@macro-get-vmcontext:1] Set("Zap/1-1", "VMCONTEXT=default") in new stack [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: Set -- Executing [s@macro-get-vmcontext:2] GotoIf("Zap/1-1", "0?200:300") in new stack -- Goto (macro-get-vmcontext,s,300) [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: GotoIf -- Executing [s@macro-get-vmcontext:300] NoOp("Zap/1-1", "") in new stack [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: NoOp [May 3 10:49:46] DEBUG[10455]: app_macro.c:337 _macro_exec: Executed application: Macro -- Executing [s-NOANSWER@macro-vm:2] VoiceMail("Zap/1-1", "100@default|ug(3)") in new stack -- Playing '/var/spool/asterisk/voicemail/default/100/temp' (language 'en') -- Playing 'vm-intro' (language 'en') -- Playing 'beep' (language 'en') -- Recording the message -- x=0, open writing: /var/spool/asterisk/voicemail/default/100/tmp/8fCdVH format: wav49, 0xa0fc4e0 -- x=1, open writing: /var/spool/asterisk/voicemail/default/100/tmp/8fCdVH format: wav, 0xa0fc7b8 -- User hung up -- Recording was 2 seconds long but needs to be at least 3 - abandoning == Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'Zap/1-1' in macro 'vm' == Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'Zap/1-1' -- Hungup 'Zap/1-1'