asterisk*CLI>
-- Executing Macro("SIP/50129-006e83e0", "dialout-trunk|4|19876543210||") in new stack
-- Executing Set("SIP/50129-006e83e0", "DIAL_TRUNK=4") in new stack
-- Executing Set("SIP/50129-006e83e0", "DIAL_NUMBER=19876543210") in new stack
-- Executing Set("SIP/50129-006e83e0", "ROUTE_PASSWD=") in new stack
-- Executing Set("SIP/50129-006e83e0", "DIAL_TRUNK_OPTIONS=trw") in new stack
-- Executing GotoIf("SIP/50129-006e83e0", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,7)
-- Executing Set("SIP/50129-006e83e0", "GROUP()=OUT_4") in new stack
-- Executing Macro("SIP/50129-006e83e0", "user-callerid") in new stack
-- Executing GotoIf("SIP/50129-006e83e0", "0?report") in new stack
-- Executing GotoIf("SIP/50129-006e83e0", "0?start") in new stack
-- Executing Set("SIP/50129-006e83e0", "REALCALLERIDNUM=50129") in new stack
-- Executing NoOp("SIP/50129-006e83e0", "REALCALLERIDNUM is 50129") in new stack
-- Executing Set("SIP/50129-006e83e0", "AMPUSER=12345") in new stack
-- Executing Set("SIP/50129-006e83e0", "AMPUSERCIDNAME=JANE DOE") in new stack
-- Executing GotoIf("SIP/50129-006e83e0", "0?report") in new stack
-- Executing Set("SIP/50129-006e83e0", "CALLERID(all)=JANE DOE <12345>") in new stack
-- Executing Set("SIP/50129-006e83e0", "REALCALLERIDNUM=12345") in new stack
-- Executing NoOp("SIP/50129-006e83e0", "Using CallerID "JANE DOE" <12345>") in new stack
-- Executing Macro("SIP/50129-006e83e0", "record-enable|12345|OUT") in new stack
-- Executing GotoIf("SIP/50129-006e83e0", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing DeadAGI("SIP/50129-006e83e0", "recordingcheck|20061107-201623|1162948583.133") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20061107-201623|1162948583.133: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("SIP/50129-006e83e0", "No recording needed") in new stack
-- Executing GotoIf("SIP/50129-006e83e0", "0?skipoutcid") in new stack
-- Executing Set("SIP/50129-006e83e0", "DIAL_TRUNK_OPTIONS=r") in new stack
-- Executing Macro("SIP/50129-006e83e0", "outbound-callerid|4") in new stack
-- Executing GotoIf("SIP/50129-006e83e0", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing NoOp("SIP/50129-006e83e0", "REALCALLERIDNUM is 12345") in new stack
-- Executing Set("SIP/50129-006e83e0", "TRUNKOUTCID="" <2124950001>") in new stack
-- Executing GotoIf("SIP/50129-006e83e0", """?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing GotoIf("SIP/50129-006e83e0", """?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing GotoIf("SIP/50129-006e83e0", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,23)
-- Executing NoOp("SIP/50129-006e83e0", "CallerID set to "JANE DOE" <12345>") in new stack
-- Executing GotoIf("SIP/50129-006e83e0", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,15)
-- Executing DeadAGI("SIP/50129-006e83e0", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("SIP/50129-006e83e0", "OUTNUM=19876543210") in new stack
-- Executing Set("SIP/50129-006e83e0", "custom=IAX2/voicepulse01") in new stack
-- Executing GotoIf("SIP/50129-006e83e0", "0?customtrunk") in new stack
-- Executing Dial("SIP/50129-006e83e0", "IAX2/voicepulse01/19876543210|120|r") in new stack
-- Called voicepulse01/19876543210
-- Call accepted by 64.61.93.87 (format ulaw)
-- Format for call is ulaw
-- Hungup 'IAX2/voicepulse01-6'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/50129-006e83e0' in macro 'dialout-trunk'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/50129-006e83e0'
-- Executing Macro("SIP/50129-006e83e0", "hangupcall") in new stack
-- Executing ResetCDR("SIP/50129-006e83e0", "w") in new stack
-- Executing NoCDR("SIP/50129-006e83e0", "") in new stack
-- Executing GotoIf("SIP/50129-006e83e0", "1?theend") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing Wait("SIP/50129-006e83e0", "5") in new stack
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/50129-006e83e0' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/50129-006e83e0'
asterisk*CLI>