<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="COLOR: black; mso-bidi-font-size: 9.0pt; mso-ansi-language: EN-GB"><FONT
size=3><FONT face="Times New Roman">Hi,<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="COLOR: black; mso-bidi-font-size: 9.0pt; mso-ansi-language: EN-GB"><FONT
size=3><FONT face="Times New Roman">I have problems with two trunks, ZAP3 and
ZAP4. ZAP4 is connected to PSTN line while ZAP3 is connected to analogical
switchboard. <o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="COLOR: black; mso-bidi-font-size: 9.0pt; mso-ansi-language: EN-GB"><FONT
size=3><FONT face="Times New Roman"><o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT
face="Times New Roman"><SPAN lang=EN-GB
style="COLOR: black; mso-bidi-font-size: 9.0pt; mso-ansi-language: EN-GB">The
system is able to redirect calls from ZAP4 to ZAP3,<SPAN
style="mso-spacerun: yes"> </SPAN></SPAN><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB">through </SPAN><SPAN lang=EN-GB
style="COLOR: black; mso-bidi-font-size: 9.0pt; mso-ansi-language: EN-GB">an
IVR, but, hanging up doesnt work . <o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="COLOR: black; mso-bidi-font-size: 9.0pt; mso-ansi-language: EN-GB"><FONT
size=3><FONT face="Times New Roman"><o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="COLOR: black; mso-bidi-font-size: 9.0pt; mso-ansi-language: EN-GB"><FONT
size=3><FONT face="Times New Roman">This is the CLI report where you can see, at
the end, the attempt of a native bridge instead of the call hang
up.<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="COLOR: black; mso-bidi-font-size: 9.0pt; mso-ansi-language: EN-GB"><FONT
size=3><FONT face="Times New Roman"><o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="COLOR: black; mso-bidi-font-size: 9.0pt; mso-ansi-language: EN-GB"><FONT
size=3><FONT face="Times New Roman"><o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="COLOR: black; mso-bidi-font-size: 9.0pt; mso-ansi-language: EN-GB"><FONT
size=3><FONT face="Times New Roman"> <o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Playing 'custom/aa_10'
(language 'it')<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT
face="Times New Roman">
..<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Executing
Macro("Zap/4-1", "dialout-trunk|1|45|") in new
stack<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT
face="Times New Roman">
<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Executing AGI("Zap/4-1",
"recordingcheck|20060720-151752|1153401458.34") in new
stack<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Launched AGI Script
/var/lib/asterisk/agi-bin/recordingcheck<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes">
</SPAN>recordingcheck|20060720-151752|1153401458.34: Outbound recording not
enabled<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- AGI Script recordingcheck
completed, returning 0<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Executing NoOp("Zap/4-1",
"No recording needed") in new stack<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Executing
Macro("Zap/4-1", "outbound-callerid|1") in new
stack<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Executing
DBget("Zap/4-1", "USEROUTCID=AMPUSER//outboundcid") in new
stack<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- DBget:
varname=USEROUTCID, family=AMPUSER,
key=/outboundcid<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- DBget: Value not found in
database.<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Executing
GotoIf("Zap/4-1", "1?4") in new stack<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Goto
(macro-outbound-callerid,s,4)<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Executing
GotoIf("Zap/4-1", "1?6") in new stack<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Goto
(macro-outbound-callerid,s,6)<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Executing NoOp("Zap/4-1",
"CallerID set to ") in new stack<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Executing
SetGroup("Zap/4-1", "OUT_1") in new stack<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Executing
GotoIf("Zap/4-1", "0?108") in new stack<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Executing
SetVar("Zap/4-1", "DIAL_NUMBER=45") in new
stack<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Executing
SetVar("Zap/4-1", "DIAL_TRUNK=1") in new
stack<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Executing AGI("Zap/4-1",
"fixlocalprefix") in new stack<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Launched AGI Script
/var/lib/asterisk/agi-bin/fixlocalprefix<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- AGI Script fixlocalprefix
completed, returning 0<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Executing
SetVar("Zap/4-1", "OUTNUM=45") in new stack<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Executing Cut("Zap/4-1",
"custom=OUT_1|:|1") in new stack<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Executing
GotoIf("Zap/4-1", "0?16") in new stack<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Executing Dial("Zap/4-1",
"ZAP/3/45") in new stack<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Called
3/45<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Zap/3-1 answered
Zap/4-1<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>-- Attempting native bridge
of Zap/4-1 and Zap/3-1<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT
face="Times New Roman"> <o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT size=3><FONT
face="Times New Roman">Thanks in
advance.<o:p></o:p></FONT></FONT></SPAN></P></FONT></DIV></FONT></DIV></BODY></HTML>