[Freeswitch-users] TERMINATOR_USED_VARIABLE

Michael Collins msc at freeswitch.org
Wed Jun 20 22:52:28 MSD 2012


Thanks for doing the leg work and wikifying it!
-MC

On Wed, Jun 20, 2012 at 4:18 AM, Alex <alex at thewinelake.com> wrote:

> Oh yeay... Victory is mine!
>
>  lastDigit = session:getVariable("read_terminator_used")
>
> Must put that in the PAGD wiki....
> > I note that in switch_ivr_play_say.c there's an intriguing reference to
> > SWITCH_READ_TERMINATOR_USED_VARIABLE on line 2015:
> >
> >           if ((min_digits == 0) && (strlen(digit_buffer) == 0) &&
> > switch_channel_get_variable(channel,
> > SWITCH_READ_TERMINATOR_USED_VARIABLE) != 0)
> >
> > It seems to me that this suggests that the terminator used in PAGD is
> > stored, at least temporarily in a channel variable.
> >
> > Is there any way I can get my mitts on the value of this following a
> > call to PAYG?
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120620/7481c084/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list