[root@asterisk1 asterisk]# asterisk -r
Asterisk 1.2.26.1 svn rev 79171, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'show license' for details.
=========================================================================
Connected to Asterisk 1.2.26.1 svn rev 79171 currently running on asterisk1 (pid = 2748)
Verbosity is at least 10
-- Executing Macro("SIP/723002-08d78698", "dialout-trunk|5|01873878149||") in new stack
-- Executing Set("SIP/723002-08d78698", "DIAL_TRUNK=5") in new stack
-- Executing Set("SIP/723002-08d78698", "DIAL_NUMBER=01873878149") in new stack
-- Executing Set("SIP/723002-08d78698", "ROUTE_PASSWD=") in new stack
-- Executing GotoIf("SIP/723002-08d78698", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing GotoIf("SIP/723002-08d78698", "0?disabletrunk|1") in new stack
-- Executing Set("SIP/723002-08d78698", "_NODEST=") in new stack
-- Executing Set("SIP/723002-08d78698", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing Set("SIP/723002-08d78698", "GROUP()=OUT_5") in new stack
-- Executing Macro("SIP/723002-08d78698", "user-callerid|SKIPTTL") in new stack
-- Executing NoOp("SIP/723002-08d78698", "user-callerid: device 723002") in new stack
-- Executing Set("SIP/723002-08d78698", "AMPUSER=723002") in new stack
-- Executing GotoIf("SIP/723002-08d78698", "0?report") in new stack
-- Executing GotoIf("SIP/723002-08d78698", "0?start") in new stack
-- Executing Set("SIP/723002-08d78698", "REALCALLERIDNUM=723002") in new stack
-- Executing NoOp("SIP/723002-08d78698", "REALCALLERIDNUM is 723002") in new stack
-- Executing Set("SIP/723002-08d78698", "AMPUSER=723002") in new stack
-- Executing Set("SIP/723002-08d78698", "AMPUSERCIDNAME=Flat Phone") in new stack
-- Executing GotoIf("SIP/723002-08d78698", "0?report") in new stack
-- Executing Set("SIP/723002-08d78698", "AMPUSERCID=723002") in new stack
-- Executing Set("SIP/723002-08d78698", "CALLERID(all)="Flat Phone" <723002>") in new stack
-- Executing Set("SIP/723002-08d78698", "REALCALLERIDNUM=723002") in new stack
-- Executing NoOp("SIP/723002-08d78698", "TTL: ARG1: SKIPTTL") in new stack
-- Executing GotoIf("SIP/723002-08d78698", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing NoOp("SIP/723002-08d78698", "Using CallerID "Flat Phone" <723002>") in new stack
-- Executing Macro("SIP/723002-08d78698", "record-enable|723002|OUT") in new stack
-- Executing GotoIf("SIP/723002-08d78698", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("SIP/723002-08d78698", "recordingcheck|20080402-174349|1207154629.317") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080402-174349|1207154629.317: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("SIP/723002-08d78698", "No recording needed") in new stack
-- Executing GotoIf("SIP/723002-08d78698", "0?skipoutcid") in new stack
-- Executing Set("SIP/723002-08d78698", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing Macro("SIP/723002-08d78698", "outbound-callerid|5") in new stack
-- Executing GotoIf("SIP/723002-08d78698", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing NoOp("SIP/723002-08d78698", "REALCALLERIDNUM is 723002") in new stack
-- Executing GotoIf("SIP/723002-08d78698", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing Set("SIP/723002-08d78698", "USEROUTCID=") in new stack
-- Executing Set("SIP/723002-08d78698", "EMERGENCYCID=") in new stack
-- Executing Set("SIP/723002-08d78698", "TRUNKOUTCID=01873878147") in new stack
-- Executing GotoIf("SIP/723002-08d78698", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing GotoIf("SIP/723002-08d78698", "0?usercid") in new stack
-- Executing Set("SIP/723002-08d78698", "CALLERID(all)=01873878147") in new stack
-- Executing GotoIf("SIP/723002-08d78698", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing NoOp("SIP/723002-08d78698", "CallerID set to "" <01873878147>") in new stack
-- Executing GotoIf("SIP/723002-08d78698", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing AGI("SIP/723002-08d78698", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("SIP/723002-08d78698", "OUTNUM=01873878149") in new stack
-- Executing Set("SIP/723002-08d78698", "custom=SIP/SGRaf878147") in new stack
-- Executing GotoIf("SIP/723002-08d78698", "1?gocall") in new stack
-- Goto (macro-dialout-trunk,s,22)
-- Executing Macro("SIP/723002-08d78698", "dialout-trunk-predial-hook") in new stack
-- Executing GotoIf("SIP/723002-08d78698", "0?bypass|1") in new stack
-- Executing GotoIf("SIP/723002-08d78698", "0?customtrunk") in new stack
-- Executing Dial("SIP/723002-08d78698", "SIP/SGRaf878147/01873878149|300|") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Goto("SIP/723002-08d78698", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing GotoIf("SIP/723002-08d78698", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing NoOp("SIP/723002-08d78698", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing Macro("SIP/723002-08d78698", "outisbusy|") in new stack
-- Executing Playback("SIP/723002-08d78698", "all-circuits-busy-now|noanswer") in new stack
-- Playing 'all-circuits-busy-now' (language 'en')
-- Executing Playback("SIP/723002-08d78698", "pls-try-call-later|noanswer") in new stack
-- Playing 'pls-try-call-later' (language 'en')
-- Executing Macro("SIP/723002-08d78698", "hangupcall") in new stack
-- Executing ResetCDR("SIP/723002-08d78698", "w") in new stack
-- Executing NoCDR("SIP/723002-08d78698", "") in new stack
-- Executing GotoIf("SIP/723002-08d78698", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing GotoIf("SIP/723002-08d78698", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing GotoIf("SIP/723002-08d78698", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing Hangup("SIP/723002-08d78698", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/723002-08d78698' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/723002-08d78698' in macro 'outisbusy'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/723002-08d78698'