Thanks for all the replies ! <br><br>I&#39;ve tried libpri compatible stack again. The outbound is working now after I removed the latest libpri package 1.4.11, fall back to 1.4.7 and recompiled everything again. Actually which version of DAHDI and libpri package do you recommend?<br>
<br>Is there any easy way to bypass the &quot;disconnect supervision&quot; ?  Thanks.<br><br>Regards,<br>Tony<br> <br><br><div class="gmail_quote">On Fri, Jul 9, 2010 at 7:42 PM, Jan Berger <span dir="ltr">&lt;<a href="mailto:jan.berger@video24.no">jan.berger@video24.no</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">










<div link="blue" vlink="blue" lang="NO-BOK">

<div>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Have you checked your NAI
setting? This is usually the main reason why outboand calls trouble. And the
native and Libpri might have a different default settings. If not get a trace
with the native and one with libpri . I need to see HDLC either in raw form or
decoded on layer 2.</span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Jan</span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>

<div>

<div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">

<hr align="center" size="2" width="100%">

</span></font></div>

<p class="MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;" lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">
<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Michael Collins<br>
<b><span style="font-weight: bold;">Sent:</span></b> 8. juli 2010 18:58<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users]
originate call hangup signal</span></font><span lang="EN-US"></span></p>

</div><div><div></div><div class="h5">

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Interesting. I&#39;ve had
more success with the libpri stack than the native stack because the native
stack is definitely a work in progress. I assisted Mike J in getting 5ESS
support in the native stack, but we definitely don&#39;t have explicit 4ESS
support. I think you are better off using the libpri method and debugging it
than trying to get the native PRI stack to work on a 4ESS connection. <br>
<br>
Hop on #openzap on <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> and
ask for some assistance there. We have a few guys who are familiar with PRI and
libpri, etc. who might be able to help you figure out what&#39;s going on.<br>
<br>
-MC</span></font></p>

<div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Thu, Jul 8, 2010 at 1:01 AM, Tony Tin &lt;<a href="mailto:tony.tin@noahmedia.com.hk" target="_blank">tony.tin@noahmedia.com.hk</a>&gt;
wrote:</span></font></p>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">It&#39;s Digium TE220. I&#39;m using the OpenZAP native stack, because I can
not get the outbound call work with libpri compatibility stack. <br>
<br>
Attached is the freeswitch.log. I&#39;m not sure whether it includes the d-chan
trace, though I already enabled the &quot;q931_dump&quot;.<br>
<br>
I originated a call to my mobile on freeswitch console with command
&quot;originate OpenZAP/2/A/98855404 6899&quot;, I answered the call then hung
up, after around 30 seconds, I saw there is terminator event on the console and
the call hangup.<br>
<br>
Thanks<br>
<br>
Regards,<br>
<font color="#888888"><span style="color: rgb(136, 136, 136);">Tony</span></font></span></font></p>

<div>

<div>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br>
<br>
</span></font></p>

<div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Thu, Jul 8, 2010 at 12:42 PM, Michael S Collins &lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;
wrote:</span></font></p>

<div bgcolor="#FFFFFF">

<div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Okay, next question: which PRI are you using? Is it Digium-based or
Sangoma hardware? If the former then use the libpri method; the latter use
freetdm. I think they&#39;re both covered on the wiki. You need to get an ISDN
trace on the d-chan to see what is actually being sent to/from telco. </span></font></p>

</div>

<div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</div>

<div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">-MC<br>
<br>
Sent from my iPhone</span></font></p>

</div>

<div>

<div>

<div>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
On Jul 7, 2010, at 7:57 PM, Tony Tin &lt;<a href="mailto:tony.tin@noahmedia.com.hk" target="_blank">tony.tin@noahmedia.com.hk</a>&gt;
wrote:</span></font></p>

</div>

<blockquote style="margin-top: 5pt; margin-bottom: 5pt;" type="cite">

<div>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Thanks for your help.<br>
<br>
It&#39;s a 4ESS IDSN and the carrier does provide disconnect supervision, is there
any way to bypass it ? <br>
<br>
Regards,<br>
Tony<br>
<br>
</span></font></p>

<div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Thu, Jul 8, 2010 at 7:14 AM, Michael Collins &lt;<a href="mailto:msc@freeswitch.org" target="_blank"></a><a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;
wrote:</span></font></p>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">It depends on where the
&quot;hangup signal&quot; comes from. Is this an analog line? If so, does the
carrier provide disconnect supervision? It&#39;s entirely possible that the other
end isn&#39;t doing a good job of telling FreeSWITCH that the call is over. <br>
<br>
-MC</span></font></p>

<div>

<div>

<div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Tue, Jul 6, 2010 at 10:35 PM, Tony Tin &lt;<a href="mailto:tony.tin@noahmedia.com.hk" target="_blank"></a><a href="mailto:tony.tin@noahmedia.com.hk" target="_blank">tony.tin@noahmedia.com.hk</a>&gt;
wrote:</span></font></p>

</div>

</div>

<blockquote style="border-width: medium medium medium 1pt; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); padding: 0cm 0cm 0cm 6pt; margin-left: 4.8pt; margin-right: 0cm;">


<div>

<div>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi,<br>
<br>
When I use OpenZAP channel to originate a call, after the called party hangup
the phone. It takes freeswitch around 40 seconds to catch the hangup signal and
stop the dial plan. I&#39;m wondering whether there is a way to shorten that
duration. Thanks.<br>
<br>
Regards,<br>
<font color="#888888"><span style="color: rgb(136, 136, 136);">Tony<br>
<br>
<br>
</span></font></span></font></p>

</div>

</div>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"></a><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"></a><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>

UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"></a><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>

<a href="http://www.freeswitch.org" target="_blank"></a><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span></font></p>

</blockquote>

</div>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"></a><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"></a><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>

UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"></a><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>

<a href="http://www.freeswitch.org" target="_blank"></a><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span></font></p>

</div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</div>

</blockquote>

<blockquote style="margin-top: 5pt; margin-bottom: 5pt;" type="cite">

<div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span></font></p>

</div>

</blockquote>

</div>

</div>

</div>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span></font></p>

</div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</div>

</div>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span></font></p>

</div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</div></div></div>

</div>


<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>