This is what I get....after Zap/4-1 answer I can press # and
the call go thru just fine..I just can find a way to force the # go in
automaticly @ end... :-( any ideas?
===============================================================Connected to
Asterisk 1.0.7 currently running on pbx (pid = 1089)
Verbosity is at least 3
-- Remote UNIX connection
-- Executing Macro("SIP/2007-a956",
"dialout-trunk|4|2831234") in new stack
-- Executing GotoIf("SIP/2007-a956", "0?4") in new
stack
-- Executing SetCallerID("SIP/2007-a956", "2007") in
new
stack
-- Executing Goto("SIP/2007-a956", "6") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing SetGroup("SIP/2007-a956", "OUT_4") in new
stack
-- Executing CheckGroup("SIP/2007-a956", "1") in new
stack
-- Executing SetVar("SIP/2007-a956",
"DIAL_NUMBER=2831234") in new stack
-- Executing SetVar("SIP/2007-a956", "DIAL_TRUNK=4")
in
new stack
-- Executing AGI("SIP/2007-a956", "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 Dial("SIP/2007-a956", "ZAP/4/2831234") in
new stack
-- Called 4/2831234
-- Zap/4-1 answered SIP/2007-a956
-- Hungup 'Zap/4-1'
== Spawn extension (macro-dialout-trunk, s, 11) exited
non-zero on 'SIP/2007-a956' in macro 'dialout-trunk'
== Spawn extension (from-internal, 2831234, 1) exited
non-zero on 'SIP/2007-a956'
-- Executing Macro("SIP/2007-a956", "hangupcall") in
new
stack
-- Executing ResetCDR("SIP/2007-a956", "w") in new
stack
-- Executing NoCDR("SIP/2007-a956", "") in new stack
-- Executing Wait("SIP/2007-a956", "5") in new stack
== Spawn extension (macro-hangupcall, s, 3) exited
non-zero on 'SIP/2007-a956' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero
on 'SIP/2007-a956'
pbx*CLI>
================================================================
[cellsocket-custom]
exten => _NXXXXXX,1,Dial(Zap/4/${EXTEN}#)
exten => _NXXXXXX,2,Macro(outisbusy) ; No available
circuits
also tried
[cellsocket-custom]
exten => _NXXXXXX,1,Dial(Zap/4/w${EXTEN}#)
exten => _NXXXXXX,2,Macro(outisbusy) ; No available
circuits
also tried
[cellsocket-custom]
SHARP=#
exten => _NXXXXXX,1,Dial(Zap/4/w${EXTEN}${SHARP})
exten => _NXXXXXX,2,Macro(outisbusy) ; No available
circuits
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4680 bytes
Desc: not available
Url :
http://lists.digium.com/pipermail/asterisk-users/attachments/20050512/d092d103/winmail.bin