[asterisk-dev] gentone.c

Russell Bryant russell at digium.com
Wed Jan 2 13:56:51 CST 2008


Kevin P. Fleming wrote:
> Well... his message prompted me to revisit eliminating gentone.c and
> letting chan_alsa/chan_oss/chan_usbradio just use built-in indications
> in Asterisk. I think I'll get that done today and then this entire
> thread will be moot :-)

That's what chan_console does.  It's quite trivial, actually.  All you have to
do is have the indicate, send_digit_begin, and send_digit_end callbacks return
-1.  That tells the Asterisk core that it would like inband tones generated.

-- 
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.



More information about the asterisk-dev mailing list