<div dir="ltr"><div><div><div>Hi,<br><br></div>Try Lua:<br><br><a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_lua">https://freeswitch.org/confluence/display/FREESWITCH/mod_lua</a><br><br></div>for example:<br></div><div><br></div><div><code class="gmail-xml gmail-plain"><</code><code class="gmail-xml gmail-keyword">action</code> <code class="gmail-xml gmail-color1">application</code><code class="gmail-xml gmail-plain">=</code><code class="gmail-xml gmail-string">"set"</code> <code class="gmail-xml gmail-color1">data</code><code class="gmail-xml gmail-plain">=</code><code class="gmail-xml gmail-string">"MY_VAR=${lua(helloworld.lua arv1)}"</code> <code class="gmail-xml gmail-plain">/></code></div><div><br></div>With kind regards,<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Jurijs<br></div></div></div>
<br><div class="gmail_quote">On Mon, Nov 20, 2017 at 5:26 PM, Bilal Abbasi <span dir="ltr"><<a href="mailto:bilaln018@gmail.com" target="_blank">bilaln018@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Users,<div>I want to get the length of a variable in FreeSWITCH, same like Asterisk function LEN.</div><div>I can see there is no function to get the variable length in FS, can someone please help me out.</div><div><br></div><div>Regards</div><span class="HOEnZb"><font color="#888888"><div>Abbasi</div></font></span></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>