Displaying 2 results from an estimated 2 matches for "tone_zone_sound".
2003 Jun 04
1
new application Dialtone()
...sk/res/res_indications.c,v
retrieving revision 1.2
diff -r1.2 res_indications.c
31a32,33
> #include <asterisk/app.h>
> #include <asterisk/options.h>
212a215,263
> * Dialtone
> */
> static int handle_dialtone(struct ast_channel *chan, void *data)
> {
> struct tone_zone_sound *ts;
> int res;
> char tmp[256];
> char *stringp, *mailbox, *stimeout;
> int timeout;
>
> stringp = mailbox = stimeout = NULL;
> timeout = 10000;
>
> strncpy(tmp, data, sizeof(tmp)-1),
> stringp = tmp;
>
> sti...
2003 Jul 22
2
enabling dtmf detection on zap channel?
Hi,
is there a way to enable dtmf detection on zap channels? I am trying to
pickup, play a ringtone and the dial out. I.e.
exten => s,1,Wait,1
exten => s,1,Answer
exten => s,2,Playtones(dial)
exten => s,3,DigitTimeout,5
exten => s,4,ResponseTimeout,10
exten => _X,1,StopPlaytones
exten => _X,2,Dial,Zap/g8/BYEXTENSION|10