search for: ast_playtones_stop

Displaying 1 result from an estimated 1 matches for "ast_playtones_stop".

2003 Jun 04
1
new application Dialtone()
...gt; } else { > ts = ast_get_indication_tone(chan->zone, "dial"); > if (option_verbose > 2) > ast_verbose(VERBOSE_PREFIX_3 "Dialtone: playing dial for %d mili seconds\n", timeout); > } > > ast_playtones_stop(chan); > res = ast_playtones_start(chan, 0, ts->data, 0); > > if (res) > ast_log(LOG_NOTICE,"Unable to start playtones\n"); > > if (!res) { > res = ast_waitfordigit(chan, (const int) timeout); > ast_pla...