[Asterisk-Users] priority "a" in macro to access voicemail

Rich Adamson radamson at routers.com
Wed Aug 3 19:25:15 MST 2005


> > 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...

Not sure this pertains, but a cvs-head change was just submitted involving
tast_say_digit today. Might take a look at that to see if it addresses
the issue.





More information about the asterisk-users mailing list