Dear Folks, Im looking for a way to detect if an analog line is connected to card or not (Im using Sangoma A200). Im using the dialtone detection when dialing but need a way to detect the disconnection of the line when it actually happens. Anyone have any hints or tricks for this? Regards. -- Mohammad Sh. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090917/1c6ae2df/attachment.htm
On Thu, Sep 17, 2009 at 09:34:56AM +0330, M Shokuie wrote:> Dear Folks, > > Im looking for a way to detect if an analog line is connected to card or not > (Im using Sangoma A200). Im using the dialtone detection when dialing but > need a way to detect the disconnection of the line when it actually happens.I have no idea about the Sangoma drivers, but reecnt in-tree DAHDI drivers report this by raising a RED channel alarm if there's nothing connected. This means that Asterisk won't try dialing through it. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Seemingly Similar Threads
- Sangoma A200 and battery removal detection ??!!!
- Sangoma A200 preventing Zap channels from disconnecting immediately after PSTN line hangs up (getting empty voicemails)
- Configuring chan_dahdi.conf for Sangoma A200/Remora FXO/FXS Analog AFT card
- Zap Channel Oddity
- Distinctive ring detection not detecting ring cadences