Actually I was reading that page, right now. I wrote a small lua script that simulates a call with random wait time before answering, randomly not answering at all and saying things for a random times once answered. This would be useful for testing purposes simulating load, letting call center operators try scripts against &quot;fake&quot; numbers with a &quot;realistic&quot; behaviour and eventually to test and debug an automated dialer.<div>
<br></div><div>The script is almost ready (can contribute it should you find it useful), I used it today to simulate load on my windows laptop with 50 concurrent calls and peaks of 20/30 simultaneous calls connected (cpu was below 3%). I only miss some use cases such as some CALL_REJECTED, USER_BUSY, NO_ANSWER</div>
<div><div><br></div><div><div><div class="gmail_quote">On Thu, Aug 6, 2009 at 00:16, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote"><div class="im">On Wed, Aug 5, 2009 at 3:54 PM, Raffaele P. Guidi <span dir="ltr">&lt;<a href="mailto:raffaele.p.guidi@gmail.com" target="_blank">raffaele.p.guidi@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
interesting! what values can contain &quot;variable_originate_disposition&quot;? And can I set them manually in a script to reject a call simulating user busy or call rejected? A lua example?<div><br></div><div>Thanks,</div>


<div>   Raffaele</div></blockquote></div><div><br>Start here:<br><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_hangup" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_hangup</a><br><br>
And note the link to the hangup causes. As far as Lua, I&#39;m not sure there&#39;s a good reason to do it there. Could you give us pseudo code example of what you&#39;re thinking of doing?<br>
-MC<br><br></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div></div>