As a follow-up, I have traced the PRI connection and discovered that calls hung up by a local BCM voice station (analog, digital, whatever) send a disconnect with a clear cause of 1 (Number not assigned) instead of a normal clear cause of 16. Calls forwarded through the BCM disconnect with the normal clear cause.
I have kludged up a fix to change all clear causes below 2 to 16 (I placed "if (icause <= 1) icause = 16;" after line 2506 in channels/chan_zap.c (version 1.2.5)). I am waiting to see if it solves the D-channel drops.
As an aside, I have noted that calls that are hung up before completion, from either the Definity or the BCM, clear with a cause of -1. This can hang a channel on the Definity side as well.
Mark.
________________________________
From: McQuiggan, Mark xt46480
Sent: Monday, March 13, 2006 4:20 PM
To: 'asterisk-users@lists.digium.com'
Subject: Calls not tearing down properly
I have the following configuration:
Bell CO. <---ISDN---> Definity <---ZAP PRI---> Asterisk <--ZAP PRI---> Nortel BCM.
With SIP users on the Asterisk box.
I have found a problem with call tear-downs. When a caller calls in from Outside, or from a Definity station to a BCM station, _and_ the BCM hangs up first, the Definity - Asterisk call does not tear down properly. I get a problem tone on the Definity station, or a "not in service" message from Bell for outside callers.
All other calls tear down properly, in either direction, no matter who calls or who hangs up first.
I have been having problems with my Definity Asterisk connection dropping its D-channel (and all connections existing at the time of the D-channel drop). I believe that they may be linked. In using gdb, I was seeing problems with pri_disconnect_timeout.
Please help.
Regards,
Mark.
This message and any attachments are intended only for the use of the addressee and
may contain information that is privileged and confidential. If the reader of the
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users