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 "fake" numbers with a "realistic" behaviour and eventually to test and debug an automated dialer.
On Wed, Aug 5, 2009 at 3:54 PM, Raffaele P. Guidi <raffaele.p.guidi@gmail.com> wrote:
interesting! what values can contain "variable_originate_disposition"? And can I set them manually in a script to reject a call simulating user busy or call rejected? A lua example?Thanks,Raffaele
Start here:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_hangup
And note the link to the hangup causes. As far as Lua, I'm not sure there's a good reason to do it there. Could you give us pseudo code example of what you're thinking of doing?
-MC
_______________________________________________
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