by rhonuatics » Sat May 07, 2011 1:17 am
here is the CLI output from my Asterisk/FreePBX machine w/ siptosis:
Connected to Asterisk 1.4.35 currently running on sipserver (pid = 2861)
Verbosity is at least 3
-- Registered SIP '1001' at 192.168.1.251 port 40554
-- Executing [76086611376@from-internal:1] Macro("SIP/1001-00000000", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/1001-00000000", "AMPUSER=1001") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/1001-00000000", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/1001-00000000", "1|Set|REALCALLERIDNUM=1001") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/1001-00000000", "AMPUSER=1001") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/1001-00000000", "AMPUSERCIDNAME=Ronnie") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/1001-00000000", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/1001-00000000", "AMPUSERCID=1001") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/1001-00000000", "CALLERID(all)="Ronnie" <1001>") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("SIP/1001-00000000", "1?continue") in new stack
-- Goto (macro-user-callerid,s,18)
-- Executing [s@macro-user-callerid:18] Set("SIP/1001-00000000", "CALLERID(number)=1001") in new stack
-- Executing [s@macro-user-callerid:19] Set("SIP/1001-00000000", "CALLERID(name)=Ronnie") in new stack
-- Executing [s@macro-user-callerid:20] NoOp("SIP/1001-00000000", "Using CallerID "Ronnie" <1001>") in new stack
-- Executing [76086611376@from-internal:2] Set("SIP/1001-00000000", "_NODEST=") in new stack
-- Executing [76086611376@from-internal:3] Macro("SIP/1001-00000000", "record-enable|1001|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/1001-00000000", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/1001-00000000", "0|MacroExit|") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/1001-00000000", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/1001-00000000", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/1001-00000000", "1|MacroExit|") in new stack
-- Executing [76086611376@from-internal:4] Macro("SIP/1001-00000000", "dialout-trunk|2|6086611376||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/1001-00000000", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1001-00000000", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1001-00000000", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/1001-00000000", "DIAL_NUMBER=6086611376") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/1001-00000000", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/1001-00000000", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1001-00000000", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1001-00000000", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/1001-00000000", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/1001-00000000", "outbound-callerid|2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1001-00000000", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1001-00000000", "0|Set|REALCALLERIDNUM=1001") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1001-00000000", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/1001-00000000", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/1001-00000000", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/1001-00000000", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1001-00000000", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/1001-00000000", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/1001-00000000", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1001-00000000", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/1001-00000000", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/1001-00000000", "1|AGI|fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
== fixlocalprefix: Dialpattern . matched. 6086611376 -> 6086611376
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/1001-00000000", "OUTNUM=6086611376") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/1001-00000000", "custom=SIP/skypeuser") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1001-00000000", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/1001-00000000", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1001-00000000", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/1001-00000000", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1001-00000000", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/1001-00000000", "SIP/skypeuser/6086611376|300|") in new stack
-- Called skypeuser/6086611376
-- SIP/skypeuser-00000001 answered SIP/1001-00000000
-- Packet2Packet bridging SIP/1001-00000000 and SIP/skypeuser-00000001
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/1001-00000000", "hangupcall|") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/1001-00000000", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/1001-00000000", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/1001-00000000", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/1001-00000000", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/1001-00000000' in macro 'hangupcall'
== Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/1001-00000000'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/1001-00000000' in macro 'dialout-trunk'
== Spawn extension (from-internal, 76086611376, 4) exited non-zero on 'SIP/1001-00000000'