[asterisk-dev] ast_waitstream behaviour

ast guy astguy at gmail.com
Thu Apr 27 02:39:26 MST 2006


   if (retry >= 1)
            {
              res = ast_streamfile (chan, prompt_error, chan->language);
              if (!res)
                res = ast_waitstream (chan, "");
            }

          res = _code_prompt (chan, &code_digits);

According to flow  after playing prompt_error file it should go to
_code_prompt function and execute ast_app_getdata function.

 But It plays prompt_error and then waites for some TIMEOUT value and
then goes to __code_prompt, Is there any value that I can set that
after file has been played ( don't want any DTMF from ast_stream) it
goes according to flow.

regards,
-ag



More information about the asterisk-dev mailing list