Interesting. I'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'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.

Hop on #openzap on irc.freenode.net 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's going on.

-MC

On Thu, Jul 8, 2010 at 1:01 AM, Tony Tin <tony.tin@noahmedia.com.hk> wrote:
It's Digium TE220. I'm using the OpenZAP native stack, because I can not get the outbound call work with libpri compatibility stack.

Attached is the freeswitch.log. I'm not sure whether it includes the d-chan trace, though I already enabled the "q931_dump".

I originated a call to my mobile on freeswitch console with command "originate OpenZAP/2/A/98855404 6899", I answered the call then hung up, after around 30 seconds, I saw there is terminator event on the console and the call hangup.

Thanks

Regards,
Tony




On Thu, Jul 8, 2010 at 12:42 PM, Michael S Collins <msc@freeswitch.org> wrote:
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'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. 

-MC

Sent from my iPhone

On Jul 7, 2010, at 7:57 PM, Tony Tin <tony.tin@noahmedia.com.hk> wrote:

Thanks for your help.

It's a 4ESS IDSN and the carrier does provide disconnect supervision, is there any way to bypass it ?

Regards,
Tony


On Thu, Jul 8, 2010 at 7:14 AM, Michael Collins <msc@freeswitch.org> wrote:
It depends on where the "hangup signal" comes from. Is this an analog line? If so, does the carrier provide disconnect supervision? It's entirely possible that the other end isn't doing a good job of telling FreeSWITCH that the call is over.

-MC

On Tue, Jul 6, 2010 at 10:35 PM, Tony Tin <tony.tin@noahmedia.com.hk> wrote:
Hi,

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'm wondering whether there is a way to shorten that duration. Thanks.

Regards,
Tony



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org