Hi Users, I want to get the length of a variable in FreeSWITCH, same like Asterisk function LEN. I can see there is no function to get the variable length in FS, can someone please help me out. Regards Abbasi
Hi, Try Lua: https://freeswitch.org/confluence/display/FREESWITCH/mod_lua for example: <action application="set" data="MY_VAR=${lua(helloworld.lua arv1)}" /> With kind regards, Jurijs On Mon, Nov 20, 2017 at 5:26 PM, Bilal Abbasi <bilaln018@gmail.com> wrote:
Hi Users, I want to get the length of a variable in FreeSWITCH, same like Asterisk function LEN. I can see there is no function to get the variable length in FS, can someone please help me out.
Regards Abbasi
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Bilal Abbasi
-
Jurijs Ivolga