<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Thank you</div><img src="https://mltrk.io/pixel/tErjGiNjsfL14OtHbQqo?rid=tErjGiNjsfL14OtHbQqo" width="1" height="1" border="0"></div><div class="gmail_extra"><br><div class="gmail_quote">2017-12-14 14:17 GMT+01:00 Stanislav Sinyagin <span dir="ltr"><<a href="mailto:ssinyagin@gmail.com" target="_blank">ssinyagin@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>either the random function, or a global counter if you want some more predictable randomness:<br><br>        <action application="set_global" data="global_fsqa_counter=${<wbr>expr(mod(${global_fsqa_<wbr>counter}+1,23))}"/><br>        <action application="set" data="silence_pause=${expr(${<wbr>global_fsqa_counter}*3+1000)}"<wbr>/><br>        <action application="playback" data="silence_stream://${<wbr>silence_pause}"/><br><br></div>this was for a test appliance, to make sure the same pieces of playback audio don't get cut into 20ms frames in the same way.<br><br><br><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 14, 2017 at 1:05 PM, Gregor Nanger <span dir="ltr"><<a href="mailto:gregor@infomedia.si" target="_blank">gregor@infomedia.si</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"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">:-) thank you, Aviv</div><img src="https://mltrk.io/pixel/1i0YXJnbHXfBx6hCv91l?rid=1i0YXJnbHXfBx6hCv91l" width="1" height="1" border="0"></div><div class="gmail_extra"><div><div class="m_-2649342589255215773h5"><br><div class="gmail_quote">2017-12-14 10:17 GMT+01:00 Aviv Shaham <span dir="ltr"><<a href="mailto:aviv@ironsip.com" target="_blank">aviv@ironsip.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>





<div><div style="font-family:Arial"><a href="https://wiki.freeswitch.org/wiki/Mod_expr" target="_blank">https://wiki.freeswitch.org/wi<wbr>ki/Mod_expr</a> has it<br></div><div><div class="m_-2649342589255215773m_1793369444633339974h5">
<div><br></div>
<div><br></div>
<div>On Thu, Dec 14, 2017, at 02:05 AM, Gregor Nanger wrote:<br></div>
</div></div><blockquote type="cite"><div><div class="m_-2649342589255215773m_1793369444633339974h5"><div dir="ltr"><div style="font-family:"trebuchet ms",sans-serif">Hi, Guys!<br></div>
<div style="font-family:"trebuchet ms",sans-serif"><br></div>
<div style="font-family:"trebuchet ms",sans-serif">One hint, please. Is there a way to get random integer in FS variable without lua in Dialplan like:<br></div>
<div style="font-family:"trebuchet ms",sans-serif"><br></div>
<div style="font-family:"trebuchet ms",sans-serif"><div style="font-family:Arial"><span class="m_-2649342589255215773m_1793369444633339974m_3460865693675211237font" style="font-family:arial,sans-serif"><action application="set" data="</span><br></div>
<div style="display:inline">myvar=<br></div>
<div style="display:inline">some function to get random number betwee 100-200 or curl fetch?<br></div>
<div style="font-family:Arial"><span class="m_-2649342589255215773m_1793369444633339974m_3460865693675211237font" style="font-family:arial,sans-serif">"/></span><br></div>
</div>
<div style="font-family:"trebuchet ms",sans-serif"><span class="m_-2649342589255215773m_1793369444633339974m_3460865693675211237font" style="font-family:arial,sans-serif"></span><br></div>
<div><br></div>
<div><div style="font-family:"trebuchet ms",sans-serif">Thank you, Gregor<br></div>
</div>
<div style="font-family:Arial"><img src="https://www.fastmailusercontent.com/proxy/95010434f39ac3179a5abe138fd6f900980069d3991dd4b60b22860dc99a11bf/8647470737a3f2f2d6c64727b6e296f6f207968756c6f2573715f48367c44757f68756471516c454361477f3279646d3573715f48367c44757f68756471516c454361477/usQO8vLtuoxetQaLEcAw" width="1" height="1" border="0"><br></div>
</div>
</div></div><div><u>______________________________<wbr>______________________________<wbr>_____________</u><br></div>
<div>Professional FreeSWITCH Consulting Services:<br></div>
<div><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br></div>
<div><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br></div>
<div> <br></div>
<div>Official FreeSWITCH Sites<br></div>
<div><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></div>
<div><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br></div>
<div><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br></div>
<div> <br></div>
<div>FreeSWITCH-users mailing list<br></div>
<div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br></div>
<div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br></div>
<div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br></div>
<div><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></div>
</blockquote><div style="font-family:Arial"><br></div>
</div>

<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.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.o<wbr>rg</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" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="m_-2649342589255215773HOEnZb"><font color="#888888">-- <br><div class="m_-2649342589255215773m_1793369444633339974gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><table style="font-size:12px;border:1px dashed rgb(187,187,187);font-family:sans-serif;width:537px" border="0"><tbody style="border-spacing:2px;border:0px none rgb(128,128,128)"><tr style="border-spacing:2px;border:0px none rgb(128,128,128)" valign="top"><td style="color:rgb(32,32,32);margin:8px;border-width:0px 1px 0px 0px;border-style:none solid none none;border-color:rgb(32,32,32) rgb(0,161,230) rgb(32,32,32) rgb(32,32,32);font-weight:bold;letter-spacing:1px;text-transform:capitalize;vertical-align:top;padding:1px 8px 1px 1px;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px"><span style="color:rgb(0,161,230);outline:rgb(0,161,230) none 0px;border-spacing:2px;border:0px none rgb(0,161,230)"><font size="2" face="georgia, serif">Gregor Nanger</font></span><div style="font-size:17px;font-family:sans-serif;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px;border:0px none rgb(32,32,32)"> </div></td><td style="margin:8px;border:0px none rgb(80,80,80);vertical-align:top;padding:1px 1px 1px 6px;width:354px;outline:rgb(80,80,80) none 0px;border-spacing:2px"><font size="1" face="georgia, serif"><b>CTO</b><br>t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 <br>• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia <br>• <a href="http://www.infomedia.si" target="_blank">www.infomedia.si</a></font></td></tr></tbody></table></div></div>
</font></span></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.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.o<wbr>rg</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" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
</div></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><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><table border="0" style="font-size:12px;border:1px dashed rgb(187,187,187);font-family:sans-serif;width:537px"><tbody style="border-spacing:2px;border:0px none rgb(128,128,128)"><tr valign="top" style="border-spacing:2px;border:0px none rgb(128,128,128)"><td style="color:rgb(32,32,32);margin:8px;border-width:0px 1px 0px 0px;border-style:none solid none none;border-color:rgb(32,32,32) rgb(0,161,230) rgb(32,32,32) rgb(32,32,32);font-weight:bold;letter-spacing:1px;text-transform:capitalize;vertical-align:top;padding:1px 8px 1px 1px;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px"><span style="color:rgb(0,161,230);outline:rgb(0,161,230) none 0px;border-spacing:2px;border:0px none rgb(0,161,230)"><font face="georgia, serif" size="2">Gregor Nanger</font></span><div style="font-size:17px;font-family:sans-serif;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px;border:0px none rgb(32,32,32)"> </div></td><td style="margin:8px;border:0px none rgb(80,80,80);vertical-align:top;padding:1px 1px 1px 6px;width:354px;outline:rgb(80,80,80) none 0px;border-spacing:2px"><font face="georgia, serif" size="1"><b>CTO</b><br>t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 <br>• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia <br>• <a href="http://www.infomedia.si" target="_blank">www.infomedia.si</a></font></td></tr></tbody></table></div></div>
</div>