Asterisk hangup detection
After hangup ""most""" telecos send reverse polarity signal to callee to signal hangup. But some
telcos does not do it.
There are 2 ways to detect hangup in asterisk in India. do
1) Add answeruponpolarityreversal=yes in /etc/asterisk/zapata.conf . If it does not
solve the problem then do
2) add buysydetect=yes, busycount=4, busypattern=750,750 in /etc/asterisk/zapata.conf.
Else
3) edit zonedat.c file in zaptel/zonedata.c. //This would also take care of other tones
But you should be done by 2. For 3 you have to recompile asterisk source.
This should work for hangup detection in india. This would do for busy detection and
hangup detection.
telcos does not do it.
There are 2 ways to detect hangup in asterisk in India. do
1) Add answeruponpolarityreversal=yes in /etc/asterisk/zapata.conf . If it does not
solve the problem then do
2) add buysydetect=yes, busycount=4, busypattern=750,750 in /etc/asterisk/zapata.conf.
Else
3) edit zonedat.c file in zaptel/zonedata.c. //This would also take care of other tones
But you should be done by 2. For 3 you have to recompile asterisk source.
This should work for hangup detection in india. This would do for busy detection and
hangup detection.
Hi,
ReplyDeleteI just got hangup detection working with busypattern=0,750 over BSNL lines. But I still have problems with answer detection. With just busydetect=yes , dahdi line is answered just when ring starts. If I enable call progress line is not answered until I end the call from the trunk side which is not I want.
Can you post your configuration settings and what telco are you using?
worked :)) .. used ur busypattern setting and enabled call progress. thanks for the post!!
ReplyDelete