[Freeswitch-dev] Channel variable read_terminator_used
anthony.minessale at gmail.com
Mon Nov 16 07:32:39 PST 2009
do you mean playback_terminator_used ?
That is already in place.
On Sun, Nov 15, 2009 at 4:36 PM, Bob Coleman <bobc at devassert.com> wrote:
> Am using outbound socket mode, own client, using the latest code.
> I have noticed that there is a channel variable read_terminator_used
> for returning what terminator was used when using the read command
> It would be very useful to know what terminator has been used to
> terminate the playback command as well, especially where you allow
> someone to short circuit the prompt and start entering a pin etc.
> These are cases where you are not interested in capturing more than
> one digit, and the playback command seems to have less overhead than
> the read command.
> I realise I could just use the read command, expecting zero digits
> from one etc, but if a terminator can be used, generally you want to
> know what it was.
> I am wondering if this would be a good idea for a small enhancement,
> perhaps a terminator_used variable that could be set by any command
> that allows termination.
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
Anthony Minessale II
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-dev