Hi,
I have problems with two trunks, ZAP3 and ZAP4. ZAP4 is connected to PSTN line
while ZAP3 is connected to analogical switchboard.
The system is able to redirect calls from ZAP4 to ZAP3, through an IVR, but,
hanging up doesn't work .
This is the CLI report where you can see, at the end, the attempt of a native
bridge instead of the call hang up.
-- Playing 'custom/aa_10' (language 'it')
............
-- Executing Macro("Zap/4-1", "dialout-trunk|1|45|") in
new stack
.............
-- Executing AGI("Zap/4-1",
"recordingcheck|20060720-151752|1153401458.34") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20060720-151752|1153401458.34: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("Zap/4-1", "No recording needed") in
new stack
-- Executing Macro("Zap/4-1", "outbound-callerid|1") in
new stack
-- Executing DBget("Zap/4-1",
"USEROUTCID=AMPUSER//outboundcid") in new stack
-- DBget: varname=USEROUTCID, family=AMPUSER, key=/outboundcid
-- DBget: Value not found in database.
-- Executing GotoIf("Zap/4-1", "1?4") in new stack
-- Goto (macro-outbound-callerid,s,4)
-- Executing GotoIf("Zap/4-1", "1?6") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing NoOp("Zap/4-1", "CallerID set to ") in new
stack
-- Executing SetGroup("Zap/4-1", "OUT_1") in new stack
-- Executing GotoIf("Zap/4-1", "0?108") in new stack
-- Executing SetVar("Zap/4-1", "DIAL_NUMBER=45") in new
stack
-- Executing SetVar("Zap/4-1", "DIAL_TRUNK=1") in new
stack
-- Executing AGI("Zap/4-1", "fixlocalprefix") in new
stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing SetVar("Zap/4-1", "OUTNUM=45") in new stack
-- Executing Cut("Zap/4-1", "custom=OUT_1|:|1") in new
stack
-- Executing GotoIf("Zap/4-1", "0?16") in new stack
-- Executing Dial("Zap/4-1", "ZAP/3/45") in new stack
-- Called 3/45
-- Zap/3-1 answered Zap/4-1
-- Attempting native bridge of Zap/4-1 and Zap/3-1
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20060721/f135d401/attachment.htm