[Asterisk-Dev] how to detect busy tone ?

Whisker, Peter Peter.Whisker at logicacmg.com
Tue Nov 9 04:45:43 MST 2004


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 ?
_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.



More information about the asterisk-dev mailing list