[Asterisk-Users] priority "a" in macro to access voicemail
Trevor Peirce
tpeirce at digitalcon.ca
Wed Aug 3 13:09:29 MST 2005
Damon Estep wrote:
> The behavior is a little weird, the * key is not recognized during the
> portion of the greeting where the extension number is being played
> back, after it is played back, for the duration of the greeting, the *
> key is recognized and works as expected.
>
res = ast_streamfile(chan, "vm-theperson", chan->language);
if (res)
return -1;
res = ast_waitstream(chan, ecodes);
if (res)
return res;
res = ast_say_digit_str(chan, ext, ecodes, chan->language);
if (res)
return res;
My guess would be that ast_say_digit_str does not handle exiting on *
like ast_waitstream does. Fixing is beyond my abilities at the moment,
but that's where I would start looking...
More information about the asterisk-users
mailing list