and log from 1.4 (that works) is:
login as: root
root@192.168.100.69's password:
Last login: Thu Dec 6 01:46:20 2007 from 192.168.100.6
[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 =
1328)
Verbosity is at least 3
asterisk1*CLI> set verbose 5
Verbosity was 3 and is now 5
-- Registered SIP '200' at 192.168.100.15 port 5060 expires 3600
-- Executing Macro("SIP/200-93f9", "dialout-trunk|1|2107236397|")
in new stack
-- Executing GotoIf("SIP/200-93f9", "1?3:2)") in new stack
-- Goto (macro-dialout-trunk,s,3)
-- Executing Macro("SIP/200-93f9", "record-enable|200|OUT") in new
stack
-- Executing GotoIf("SIP/200-93f9", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing GotoIf("SIP/200-93f9", "1?5:8") in new stack
-- Goto (macro-record-enable,s,5)
-- Executing DBget("SIP/200-93f9", "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-93f9",
"CALLFILENAME=OUT200-20071211-012759-1197354479.262") in new stack
-- Executing Goto("SIP/200-93f9", "s|14") in new stack
-- Goto (macro-record-enable,s,14)
-- Executing GotoIf("SIP/200-93f9", "0?15:99") in new stack
-- Goto (macro-record-enable,s,99)
-- Executing NoOp("SIP/200-93f9", "NO RECORDING NEEDED") in new
stack
-- Executing GotoIf("SIP/200-93f9", "1?7") in new stack
-- Goto (macro-dialout-trunk,s,7)
-- Executing GotoIf("SIP/200-93f9", "0?9") in new stack
-- Executing SetCallerID("SIP/200-93f9", "2107292105") in new
stack
-- Executing SetGroup("SIP/200-93f9", "OUT_1") in new stack
-- Executing CheckGroup("SIP/200-93f9", "1") in new stack
-- Executing SetVar("SIP/200-93f9", "DIAL_NUMBER=2107236397") in
new stack
-- Executing SetVar("SIP/200-93f9", "DIAL_TRUNK=1") in new stack
-- Executing AGI("SIP/200-93f9", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf
-- AGI Script fixlocalprefix completed, returning 0
-- Executing SetVar("SIP/200-93f9", "OUTNUM=2107236397") in new
stack
-- Executing Cut("SIP/200-93f9", "custom=OUT_1|:|1") in new stack
-- Executing GotoIf("SIP/200-93f9", "0?19") in new stack
-- Executing Dial("SIP/200-93f9", "ZAP/1/2107236397") in new stack
-- Called 1/2107236397
-- Zap/1-1 answered SIP/200-93f9
-- Hungup 'Zap/1-1'
== Spawn extension (macro-dialout-trunk, s, 17) exited non-zero on
'SIP/200-93f9' in macro 'dialout-trunk'
== Spawn extension (from-internal, 992107236397, 1) exited non-zero
on 'SIP/200-93f9'
-- Executing Macro("SIP/200-93f9", "hangupcall") in new stack
-- Executing ResetCDR("SIP/200-93f9", "w") in new stack
-- Executing NoCDR("SIP/200-93f9", "") in new stack
-- Executing Wait("SIP/200-93f9", "5") in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'SIP/
200-93f9' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/
200-93f9'
asterisk1*CLI>
see also the thread
http://groups.google.co.uk/group/uk....995ff9bc1dea81