[Freeswitch-dev] Channel variable read_terminator_used
Anthony Minessale
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:
> Hi,
>
> 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.
>
> Thanks
>
> Bob
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
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>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20091116/dd1ba998/attachment.html
More information about the FreeSWITCH-dev
mailing list