[Asterisk-Users] Asterisk not detecting PSTN hang-up

steve at daviesfam.org steve at daviesfam.org
Wed Oct 5 11:00:39 MST 2005



On Tue, 4 Oct 2005, Leigh Fereday wrote:

> I upgraded to CVS, but get the same message in the log.

If you are on CVS-HEAD or 1.2, perhaps busypattern= will help you.

Call into your Asterisk box on one of the incoming analogue lines and dial 
through to an extension.  Whilst listening to the incoming call, hang up 
from the calling side.  Listen to the called side, and listen to what tone 
your PBX makes to signal that the line is disconnected.  Time the length 
of the beep and the silence.

Say it comes out 1.5 second beep and 0.5 second silence.

Put in your zapata.conf for the channel:

busydetect=yes
busypattern=1500,500
busycount=4
callprogress=no

The 1500 is 1500msec or 1.5 secs.  500msec = .5secs.

Asterisk will listen to the call and when it hears 4 repeats of that 
beep-silence pattern it will take the call as finished.

Regards,
Steve Davies




More information about the asterisk-users mailing list