[asterisk-users] ZAP and line disconnection detection

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Sep 17 01:57:17 CDT 2009


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



More information about the asterisk-users mailing list