Displaying 1 result from an estimated 1 matches for "ast_app_has_voicemail".
2003 Jun 04
1
new application Dialtone()
...ringp = tmp;
>
> stimeout = strsep(&stringp, "|");
> 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 {
>...