search for: ast_get_indication_tone

Displaying 2 results from an estimated 2 matches for "ast_get_indication_tone".

2003 Jun 04
1
new application Dialtone()
...p, "|"); > if(stimeout && stimeout[0]) { > mailbox = strsep(&stringp, "|"); > timeout = atoi(stimeout) * 1000; > } > > > if(mailbox && ast_app_has_voicemail(mailbox)) { > ts = ast_get_indication_tone(chan->zone, "dialrecall"); > if (option_verbose > 2) > ast_verbose(VERBOSE_PREFIX_3 "Dialtone: playing dialrecall for %d mili seconds\n", timeout); > } else { > ts = ast_get_indication_tone(chan->zone,...
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