Skip to content

Instantly share code, notes, and snippets.

@joejwright
Created January 16, 2014 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joejwright/8461676 to your computer and use it in GitHub Desktop.
Save joejwright/8461676 to your computer and use it in GitHub Desktop.
Asterisk logs
-- Executing [901@from-internal:1] Macro("SIP/900-0000007f", "exten-vm,901,901") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/900-0000007f", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/900-0000007f", "AMPUSER=900") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/900-0000007f", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/900-0000007f", "1?Set(REALCALLERIDNUM=900)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/900-0000007f", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/900-0000007f", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/900-0000007f", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/900-0000007f", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/900-0000007f", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/900-0000007f", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/900-0000007f", "CALLERID(number)=900") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/900-0000007f", "CALLERID(name)=device") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/900-0000007f", "Using CallerID "device" <900>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/900-0000007f", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/900-0000007f", "VMBOX=901") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/900-0000007f", "__EXTTOCALL=901") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/900-0000007f", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/900-0000007f", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/900-0000007f", "RT=15") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/900-0000007f", "record-enable,901,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/900-0000007f", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/900-0000007f", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/900-0000007f", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/900-0000007f", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/900-0000007f", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/900-0000007f", "dial-one,15,tr,901") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/900-0000007f", "DEXTEN=901") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/900-0000007f", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/900-0000007f", "0?screen,1") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/900-0000007f", "0?cf,1") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/900-0000007f", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/900-0000007f", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/900-0000007f", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/900-0000007f", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/900-0000007f", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,12)
-- Executing [s@macro-dial-one:12] GotoIf("SIP/900-0000007f", "0?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,16)
-- Executing [s@macro-dial-one:16] GotoIf("SIP/900-0000007f", "1?next2:continue") in new stack
-- Goto (macro-dial-one,s,17)
-- Executing [s@macro-dial-one:17] GotoIf("SIP/900-0000007f", "1?continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/900-0000007f", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/900-0000007f", "1?dstring,1:dlocal,1") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/900-0000007f", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/900-0000007f", "DEVICES=901") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/900-0000007f", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/900-0000007f", "0?Set(DEVICES=01)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/900-0000007f", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/900-0000007f", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/900-0000007f", "THISDIAL=") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/900-0000007f", "1?zap2dahdi,1") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/900-0000007f", "1?Return()") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/900-0000007f", "DSTRING=&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/900-0000007f", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/900-0000007f", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/900-0000007f", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/900-0000007f", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/900-0000007f", "1?nodial") in new stack
-- Goto (macro-dial-one,s,41)
-- Executing [s@macro-dial-one:41] ExecIf("SIP/900-0000007f", "1?Set(DIALSTATUS=NOANSWER)") in new stack
-- Executing [s@macro-dial-one:42] NoOp("SIP/900-0000007f", "Returned from dial-one with nothing to call and DIALSTATUS: NOANSWER") in new stack
-- Executing [s@macro-dial-one:43] MacroExit("SIP/900-0000007f", "") in new stack
-- Executing [s@macro-exten-vm:10] GotoIf("SIP/900-0000007f", "0?exit") in new stack
-- Executing [s@macro-exten-vm:11] Set("SIP/900-0000007f", "SV_DIALSTATUS=NOANSWER") in new stack
-- Executing [s@macro-exten-vm:12] GosubIf("SIP/900-0000007f", "0?docfu,1") in new stack
-- Executing [s@macro-exten-vm:13] GosubIf("SIP/900-0000007f", "0?docfb,1") in new stack
-- Executing [s@macro-exten-vm:14] Set("SIP/900-0000007f", "DIALSTATUS=NOANSWER") in new stack
-- Executing [s@macro-exten-vm:15] NoOp("SIP/900-0000007f", "Voicemail is '901'") in new stack
-- Executing [s@macro-exten-vm:16] GotoIf("SIP/900-0000007f", "0?s-NOANSWER,1") in new stack
-- Executing [s@macro-exten-vm:17] NoOp("SIP/900-0000007f", "Sending to Voicemail box 901") in new stack
-- Executing [s@macro-exten-vm:18] Macro("SIP/900-0000007f", "vm,901,NOANSWER,") in new stack
-- Executing [s@macro-vm:1] Macro("SIP/900-0000007f", "user-callerid,SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/900-0000007f", "AMPUSER=900") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/900-0000007f", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/900-0000007f", "0?Set(REALCALLERIDNUM=900)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/900-0000007f", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/900-0000007f", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/900-0000007f", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/900-0000007f", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/900-0000007f", "CALLERID(number)=900") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/900-0000007f", "CALLERID(name)=device") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/900-0000007f", "Using CallerID "device" <900>") in new stack
-- Executing [s@macro-vm:2] Set("SIP/900-0000007f", "VMGAIN=""") in new stack
-- Executing [s@macro-vm:3] GotoIf("SIP/900-0000007f", "1?vmx,1") in new stack
-- Goto (macro-vm,vmx,1)
-- Executing [vmx@macro-vm:1] Set("SIP/900-0000007f", "MEXTEN=901") in new stack
-- Executing [vmx@macro-vm:2] Set("SIP/900-0000007f", "MMODE=NOANSWER") in new stack
-- Executing [vmx@macro-vm:3] Set("SIP/900-0000007f", "RETVM=") in new stack
-- Executing [vmx@macro-vm:4] Set("SIP/900-0000007f", "MODE=unavail") in new stack
-- Executing [vmx@macro-vm:5] GotoIf("SIP/900-0000007f", "1?chknomsg") in new stack
-- Goto (macro-vm,vmx,7)
-- Executing [vmx@macro-vm:7] GotoIf("SIP/900-0000007f", "0?s-NOANSWER,1") in new stack
-- Executing [vmx@macro-vm:8] GotoIf("SIP/900-0000007f", "1?notdirect") in new stack
-- Goto (macro-vm,vmx,10)
-- Executing [vmx@macro-vm:10] NoOp("SIP/900-0000007f", "Checking if ext 901 is enabled: ") in new stack
-- Executing [vmx@macro-vm:11] GotoIf("SIP/900-0000007f", "1?s-NOANSWER,1") in new stack
-- Goto (macro-vm,s-NOANSWER,1)
-- Executing [s-NOANSWER@macro-vm:1] Macro("SIP/900-0000007f", "get-vmcontext,901") in new stack
-- Executing [s@macro-get-vmcontext:1] Set("SIP/900-0000007f", "VMCONTEXT=default") in new stack
-- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/900-0000007f", "0?200:300") in new stack
-- Goto (macro-get-vmcontext,s,300)
-- Executing [s@macro-get-vmcontext:300] NoOp("SIP/900-0000007f", "") in new stack
-- Executing [s-NOANSWER@macro-vm:2] VoiceMail("SIP/900-0000007f", "901@default,u""") in new stack
> 0x8b61190 -- Probation passed - setting RTP source address to 172.16.6.225:3002
-- <SIP/900-0000007f> Playing 'vm-theperson.gsm' (language 'en')
-- <SIP/900-0000007f> Playing 'digits/9.gsm' (language 'en')
-- <SIP/900-0000007f> Playing 'digits/0.gsm' (language 'en')
-- <SIP/900-0000007f> Playing 'digits/1.gsm' (language 'en')
-- <SIP/900-0000007f> Playing 'vm-isunavail.gsm' (language 'en')
-- <SIP/900-0000007f> Playing 'vm-intro.gsm' (language 'en')
== Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'SIP/900-0000007f' in macro 'vm'
== Spawn extension (macro-exten-vm, s, 18) exited non-zero on 'SIP/900-0000007f' in macro 'exten-vm'
== Spawn extension (from-internal, 901, 1) exited non-zero on 'SIP/900-0000007f'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment