[asterisk-dev] [DAHDI] How to set FXO channel busy

dpn at switchvoice.com dpn at switchvoice.com
Tue Jan 31 10:52:18 CST 2017


Hello,
I have developed a FXO driver which is working fine. 
I want to test the nontrivial scenario when I have an analog phone in parallel to the FXO port.
This setup works as expected. 
What I want in addition is the FXO port detects if the analog phone is off-hook (has already seized the line).
I can detect this by measuring the voltage on the line.
So anyone familiar with DAHDI. 
What king of signal my driver should send to DAHDI so it puts the FXO channel busy? (to avoid FXO tiring to seize the line if it is already used by the analog phone)
What signal I need to release the channel afterwards?     
Thank you!
Dimitar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20170131/8018d7b7/attachment.html>


More information about the asterisk-dev mailing list