I am also interested in an answer to this question. But since I am more proficient in Python, I would ask the same using Python instead of Lua. But Tony I think if we can get your question answered we can probably assume it would work with Python, Perl, etc.<br>
<br>If you are interested, I have had success with using mod_xml_curl and a prototype application written in Django. It basically reads the POST data and then returns an XML response which is the dial plan. But if the same could be done using simple Lua or Python or whatever, it would be great.<br>
<br><br><div class="gmail_quote">On Mon, Jun 7, 2010 at 12:41 AM, Tony Tin <span dir="ltr"><<a href="mailto:tony.tin@noahmedia.com.hk">tony.tin@noahmedia.com.hk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br><br>I'm trying to implement dynamic dial plan, my approach is calling a lua scrip in "default.xml" as below, so I can change the dial plan by changing the lua script at any time.<br><br> <action application="lua" data="dispatcher.lua"/><br>
<br>Could any on please give me some advice about my approach and whether there is any limitation of LUA regarding dial plan implemenation.<br><br>Thanks.<br><font color="#888888"><br>Tony<br><br><br>
</font><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>