tenora*CLI>
-- Hungup 'Zap/2-1'
== Spawn extension (macro-dialout-trunk, s, 25) exited non-zero on 'Zap/1-1' in macro 'dialout-trunk'
== Spawn extension (macro-dialout-trunk, s, 25) exited non-zero on 'Zap/1-1'
-- Executing [h@macro-dialout-trunk:1] Macro("Zap/1-1", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("Zap/1-1", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("Zap/1-1", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("Zap/1-1", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("Zap/1-1", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("Zap/1-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("Zap/1-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Zap/1-1' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'
-- Starting simple switch on 'Zap/1-1'
-- Executing [9135@from-internal:1] Macro("Zap/1-1", "dialout-trunk|1|135|") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Zap/1-1", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] Set("Zap/1-1", "DIAL_NUMBER=135") in new stack
-- Executing [s@macro-dialout-trunk:3] Set("Zap/1-1", "ROUTE_PASSWD=") in new stack
-- Executing [s@macro-dialout-trunk:4] GotoIf("Zap/1-1", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing [s@macro-dialout-trunk:6] GotoIf("Zap/1-1", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:7] Set("Zap/1-1", "_NODEST=") in new stack
-- Executing [s@macro-dialout-trunk:8] Set("Zap/1-1", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:9] Set("Zap/1-1", "GROUP()=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:10] Macro("Zap/1-1", "user-callerid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("Zap/1-1", "user-callerid: ZAP channel 1 401") in new stack
-- Executing [s@macro-user-callerid:2] Set("Zap/1-1", "AMPUSER=401") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("Zap/1-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] GotoIf("Zap/1-1", "0?start") in new stack
-- Executing [s@macro-user-callerid:5] Set("Zap/1-1", "REALCALLERIDNUM=401") in new stack
-- Executing [s@macro-user-callerid:6] NoOp("Zap/1-1", "REALCALLERIDNUM is 401") in new stack
-- Executing [s@macro-user-callerid:7] Set("Zap/1-1", "AMPUSER=401") in new stack
-- Executing [s@macro-user-callerid:8] Set("Zap/1-1", "AMPUSERCIDNAME=ZAP channel 1") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("Zap/1-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:10] Set("Zap/1-1", "AMPUSERCID=401") in new stack
-- Executing [s@macro-user-callerid:11] Set("Zap/1-1", "CALLERID(all)="ZAP channel 1" <401>") in new stack
-- Executing [s@macro-user-callerid:12] Set("Zap/1-1", "REALCALLERIDNUM=401") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("Zap/1-1", "TTL:  ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("Zap/1-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("Zap/1-1", "Using CallerID "ZAP channel 1" <401>") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Zap/1-1", "record-enable|401|OUT") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Zap/1-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("Zap/1-1", "recordingcheck|20090123-120404|asterisk-3997-1232712239.10") in new stack
-- Launched AGI Script /usr/share/asterisk/agi-bin/recordingcheck recordingcheck|20090123-120404|asterisk-3997-1232712239.10: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("Zap/1-1", "No recording needed") in new stack
-- Executing [s@macro-dialout-trunk:12] GotoIf("Zap/1-1", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Zap/1-1", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:14] Macro("Zap/1-1", "outbound-callerid|1") in new stack
-- Executing [s@macro-outbound-callerid:1] GotoIf("Zap/1-1", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [s@macro-outbound-callerid:3] NoOp("Zap/1-1", "REALCALLERIDNUM is 401") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("Zap/1-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid:9] Set("Zap/1-1", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:10] Set("Zap/1-1", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("Zap/1-1", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:12] GotoIf("Zap/1-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid:16] GotoIf("Zap/1-1", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid:18] GotoIf("Zap/1-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid:22] NoOp("Zap/1-1", "CallerID set to "ZAP channel 1" <401>") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("Zap/1-1", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] AGI("Zap/1-1", "fixlocalprefix") in new stack
-- Launched AGI Script /usr/share/asterisk/agi-bin/fixlocalprefix fixlocalprefix: Could not open /etc/asterisk/localprefixes.conf
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:18] Set("Zap/1-1", "OUTNUM=135") in new stack
-- Executing [s@macro-dialout-trunk:19] Set("Zap/1-1", "custom=ZAP/g0") in new stack
-- Executing [s@macro-dialout-trunk:20] GotoIf("Zap/1-1", "1?gocall") in new stack
-- Goto (macro-dialout-trunk,s,22)
-- Executing [s@macro-dialout-trunk:22] Macro("Zap/1-1", "dialout-trunk-predial-hook") in new stack
[Jan 23 12:04:05] WARNING[4501]: app_macro.c:214 _macro_exec: Context 'macro-dialout-trunk-predial-hook' for macro 'dialout-trunk-predial-hook' lacks 's' extension, priority 1
-- Executing [s@macro-dialout-trunk:23] GotoIf("Zap/1-1", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("Zap/1-1", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:25] Dial("Zap/1-1", "ZAP/g0/135|300|") in new stack
-- Called g0/135
-- Zap/2-1 answered Zap/1-1
-- Native bridging Zap/1-1 and Zap/2-1