[Freeswitch-users] TERMINATOR_USED_VARIABLE

Alex alex at thewinelake.com
Wed Jun 20 15:18:58 MSD 2012


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?
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.2177 / Virus Database: 2437/5080 - Release Date: 06/19/12
>
>





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