[Freeswitch-dev] Channel variable read_terminator_used

Bob Coleman bobc at devassert.com
Mon Nov 16 11:40:00 PST 2009


Ah, missed that, perfect

Thanks

Bob

On Tue, Nov 17, 2009 at 4:32 AM, Anthony Minessale
<anthony.minessale at gmail.com> wrote:
> 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
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org
> pstn:213-799-1400
>
> _______________________________________________
> 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
>
>



More information about the FreeSWITCH-dev mailing list