Thursday, June 04, 2009

Hangup detection on BSNL lines for trunk line in Asterisk

Since there is no post anywhere talking about it . I am posting the settings below for users who still havent fixed it in their setup.
Edit the chan_dahdi.conf and enable and set the following settings:

busydetect = yes
busycount = 3
busypattern = 0,750 ;this finally made it work for me
ringtimeout = 8000

Hangup should work now. Only thing still a pain for me is answer detection on the dahdi channel. With busydetect on the channel is answered as soon as the ring starts. If I enable Callprogress, it answers when I end the call from the trunk end of the call. so twisted...

No comments: