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...
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users