ABBAS SHAKEEL
2009-Aug-06 12:24 UTC
[asterisk-users] Asterisk dont detects hangup by phone
Hello I have configured TDM400P with asterisk . The problem is that when i make a call to server. and while going on it dont detects call hang up. ie i called the Asterisk server and it start playing files that i indicated to do so in extensions.conf i suddenly put down the phone. now the server must detect that phone is hangup but it dont. How can i make server to detect this -- Best Regards Shakeel Abbas
Assuming you are connected to a regular phone line, the hang up signal from the phone line would be a break or reversal of polarity of the DC signal on the phone line. (We connect to PRIs, so our signaling is on a data channel. I assume you don't. ) The first question you need to answer is "Are you getting a voltage drop or polarity reversal when the other end disconnects?" Asterisk has to have a signal to respond to. Some Telcos may not give that signal. Check your phone line with a meter. Cary Fitch -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of ABBAS SHAKEEL Sent: Thursday, August 06, 2009 7:25 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Asterisk dont detects hangup by phone Hello I have configured TDM400P with asterisk . The problem is that when i make a call to server. and while going on it dont detects call hang up. ie i called the Asterisk server and it start playing files that i indicated to do so in extensions.conf i suddenly put down the phone. now the server must detect that phone is hangup but it dont. How can i make server to detect this -- Best Regards Shakeel Abbas _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
C. Chad Wallace
2009-Aug-06 19:09 UTC
[asterisk-users] Asterisk dont detects hangup by phone
At 5:24 PM on 06 Aug 2009, ABBAS SHAKEEL wrote:> Hello > I have configured TDM400P with asterisk . > The problem is that when i make a call to server. and while going on > it dont detects call hang up. > > ie i called the Asterisk server and it start playing files that i > indicated to do so in extensions.conf > i suddenly put down the phone. now the server must detect that phone > is hangup but it dont. > > How can i make server to detect thisYou may need to enable busydetect in chan_dahdi.conf or zapata.conf. However, if you do enable it, I would recommend you also tune it with the busycount and busypattern options so you don't get false positives (asterisk hanging up in the middle of a call). You can read the comments in the sample configs or on voip-info.org for more information: http://www.voip-info.org/wiki/view/Asterisk+config+chan_dahdi.conf http://www.voip-info.org/wiki/view/Asterisk+config+zapata.conf.sample -- C. Chad Wallace, B.Sc. The Lodging Company http://www.skihills.com/ OpenPGP Public Key ID: 0x262208A0 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090806/1e1ea24b/attachment.pgp