[Asterisk-Dev] how to detect busy tone ?

dev2003 at mail.ustc.edu.cn dev2003 at mail.ustc.edu.cn
Tue Nov 9 18:35:03 MST 2004


I have set busydetect =yes and busycount=4 ,
but x100p still can not detect busy tone.

where define busy_detect algorithms detect 450Hz ?

what means goertzels ?
/* Number of goertzels for progress detect */
#define GSAMP_SIZE_NA 183			/* North America - 350, 440, 480, 620, 950,
1400, 1800 Hz */
#define GSAMP_SIZE_CR 188			/* Costa Rica - Only care about 425 Hz */


busydetect=yes
busycount=6  ; try 4-8

in your /etc/asterisk/zapata.conf?



I assume you mean 450Hz!

The standard busy_detect algorithms should pick up a 50% duty-cycle tone at
450Hz. It picks up the UK 400Hz tones with the same timing.

The parameters in dsp.c look OK to pick it up without need for  change:
#define BUSY_PERCENT            10      /* The percentage diffrence between
the two last silence per
iods */
#define BUSY_THRESHOLD          100     /* Max number of ms difference
between max and min times in
busy */
#define BUSY_MIN                75      /* Busy must be at least 80 ms in
half-cadence */
#define BUSY_MAX                1100    /* Busy can't be longer than 1100 ms
in half-cadence */

Perhaps you need to set:

busydetect=yes
busycount=6  ; try 4-8

in your /etc/asterisk/zapata.conf?

Regards
Peter


-----Original Message-----
From: dev2003 at mail.ustc.edu.cn [mailto:dev2003 at mail.ustc.edu.cn]
Sent: 09 November 2004 11:25
To: asterisk-dev at lists.digium.com
Subject: [Asterisk-Dev] how to detect busy tone ?


asterisk-users at lists.digium.com

how to detect  busy tone 450Mhz 0.35s<On Time(ms)> 0.35<Off Time(ms)
and then hangup?

modify dsp.c or chan_zap.c ?





More information about the asterisk-dev mailing list