[Asterisk-Users] hangup detection

Sean Adams sadams at slimdevices.com
Fri Jan 2 12:24:42 MST 2004


Here's a recording:

http://www.seanadams.com/hangup_tones.aif

(sorry - recorded from speakerphone - skip to the end)

The following numbers are not real precise, I just got this from 
visually looking at the spectrum on my computer:

The tones appear to consist of 2600, 2440, 2000, and 1400 Hz.

The timing is 120ms on, 80ms off.

I'll take a look at dsp.c and see if I can make it work. Thanks for the 
pointers.



On Jan 2, 2004, at 10:46 AM, Martin Pycko wrote:

> busydetect should help you. Set busycount=10 busydetect=yes in 
> zapata.conf
> and measure the length of the tone .. should be equal the pause too.
>
> Then in dsp.c change the vaules BUSY_MIN and BUSY_MAX for example like
> this: your result - 100, your result + 100 [ms]
>
> regards
> Martin
>
> On Fri, 2 Jan 2004, Sean Adams wrote:
>
>>
>> So I made the mistake of buying a Carrier Access channel bank without
>> noticing the page on the wiki about the fact that they don't support
>> disconnect supervision (bastards!). However, apart from that, I do 
>> have
>> it working fine for incoming calls.
>>
>> Is there some trick to get asterisk to detect the hangup tones from
>> SBC? I've tried busydetect and callprogress as suggested, but neither
>> seems to work.  The tone is not a busy tone, but that ear-piercing 
>> high
>> pitched buzzer. It goes "if you'd like to make a call, please hang up
>> and try again. If you need help, hang up and then dial your operator.
>> BEEP BEEP BEEP etc."
>>
>> I am set up here with recording gear and spectrum analyzer software, 
>> so
>> I can identify the tones and timing if necessary. However I'm not sure
>> how to make asterisk detect the tones, or if this work has already 
>> been
>> done. Anyone know?
>>
>> _______________________________________________
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list