[Freeswitch-users] [Getting FS variable length]

Jurijs Ivolga jurijs.ivolga at gmail.com
Mon Nov 20 15:30:59 UTC 2017


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 at 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 at 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 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171120/259e0617/attachment.html>


More information about the FreeSWITCH-users mailing list