[root@asterisk1 root]# asterisk -r
Asterisk 1.0.9, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster@digium.com>
=========================================================================
Connected to Asterisk 1.0.9 currently running on asterisk1 (pid = 2604)
Verbosity is at least 3
-- Executing Macro("SIP/200-1fcb", "dialout-trunk|2|3157227|") in new stack
-- Executing GotoIf("SIP/200-1fcb", "1?3:2)") in new stack
-- Goto (macro-dialout-trunk,s,3)
-- Executing Macro("SIP/200-1fcb", "record-enable|200|OUT") in new stack
-- Executing GotoIf("SIP/200-1fcb", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing GotoIf("SIP/200-1fcb", "1?5:8") in new stack
-- Goto (macro-record-enable,s,5)
-- Executing DBget("SIP/200-1fcb", "RecEnable=RECORD-OUT/200") in new stack
-- DBget: varname=RecEnable, family=RECORD-OUT, key=200
-- DBget: Value not found in database.
-- Executing SetVar("SIP/200-1fcb", "CALLFILENAME=OUT200-20050819-104846-1124462926.34") in new stack
-- Executing Goto("SIP/200-1fcb", "s|14") in new stack
-- Goto (macro-record-enable,s,14)
-- Executing GotoIf("SIP/200-1fcb", "0?15:99") in new stack
-- Goto (macro-record-enable,s,99)
-- Executing NoOp("SIP/200-1fcb", "NO RECORDING NEEDED") in new stack
-- Executing GotoIf("SIP/200-1fcb", "1?7") in new stack
-- Goto (macro-dialout-trunk,s,7)
-- Executing GotoIf("SIP/200-1fcb", "0?9") in new stack
-- Executing SetCallerID("SIP/200-1fcb", "30105553") in new stack
-- Executing SetGroup("SIP/200-1fcb", "OUT_2") in new stack
-- Executing CheckGroup("SIP/200-1fcb", "") in new stack
-- Executing SetVar("SIP/200-1fcb", "DIAL_NUMBER=3157227") in new stack
-- Executing SetVar("SIP/200-1fcb", "DIAL_TRUNK=2") in new stack
-- Executing AGI("SIP/200-1fcb", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing SetVar("SIP/200-1fcb", "OUTNUM=3157227") in new stack
-- Executing Cut("SIP/200-1fcb", "custom=OUT_2|:|1") in new stack
-- Executing GotoIf("SIP/200-1fcb", "0?19") in new stack
-- Executing Dial("SIP/200-1fcb", "SIP/voipfone/3157227") in new stack
-- Called voipfone/3157227
-- SIP/voipfone-fa64 answered SIP/200-1fcb
-- Attempting native bridge of SIP/200-1fcb and SIP/voipfone-fa64
== Spawn extension (macro-dialout-trunk, s, 17) exited non-zero on 'SIP/200-1fcb' in macro 'dialout-trunk'
== Spawn extension (from-internal, 83157227, 1) exited non-zero on 'SIP/200-1fcb'
-- Executing Macro("SIP/200-1fcb", "hangupcall") in new stack
-- Executing ResetCDR("SIP/200-1fcb", "w") in new stack
-- Executing NoCDR("SIP/200-1fcb", "") in new stack
-- Executing Wait("SIP/200-1fcb", "5") in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'SIP/200-1fcb' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/200-1fcb'
asterisk1*CLI>