Dialtone and line-in-use detection on a ZAP channel
Created by: jgabriels,Last modification on Wed 29 of Aug, 2007 [03:26 UTC] by justin_newman
I am offering a $50 bounty to the person that submits code
that allows asterisk to detect whether a line has a dialtone,
is already in use, or is dead. Specifically, it must work with
my setup which is an adit 600 fxo connected to a TE110P
using a T1 line. $5 modems can do this, so it shouldn't be
very hard for asterisk to do this.
See bug report at:
http://bugs.digium.com/bug_view_page.php?bug_id=0002612
which mentions a way this might be done.
NVLineDetect - Detects answer, busy, congestion, dialtone, dead air, talk, etc. on ZAP, SIP, IAX, and other channels. E-mail us for the code at info@newmantelecom.com.
that allows asterisk to detect whether a line has a dialtone,
is already in use, or is dead. Specifically, it must work with
my setup which is an adit 600 fxo connected to a TE110P
using a T1 line. $5 modems can do this, so it shouldn't be
very hard for asterisk to do this.
See bug report at:
http://bugs.digium.com/bug_view_page.php?bug_id=0002612
which mentions a way this might be done.
NVLineDetect - Detects answer, busy, congestion, dialtone, dead air, talk, etc. on ZAP, SIP, IAX, and other channels. E-mail us for the code at info@newmantelecom.com.
Comments
333No Help from anyone????
I am not finding any sort of help to my issue on this forum for the last many days. Is there anybody who can help or I should knock some other door ??? :-(
Azhar
333Newman Telecom
333Answer Machine Detection
Can anybody help me to detect answering mahcine while dialing from asterisk using ZAP channel ?
Also I need help to detect busy tone, phone dead , phone busy status. Is that possible using TDP400P on ZAP ?
Help in this regard will highly be appreciated.
Azhar
333Partial sollution
chan_zap.c
There is a commented line:
/* #define ZAP_CHECK_HOOKSTATE - line 100 */
Uncomment it and may be problem will be solved.
This is working at least for me.