[Freeswitch-users] dynamic dial plan with lua

Code Ghar codeghar at gmail.com
Mon Jun 7 14:37:39 PDT 2010


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.

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.


On Mon, Jun 7, 2010 at 12:41 AM, Tony Tin <tony.tin at noahmedia.com.hk> wrote:

> Hi,
>
> 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.
>
>  <action application="lua" data="dispatcher.lua"/>
>
> Could any on please give me some advice about my approach and whether there
> is any limitation of LUA regarding dial plan implemenation.
>
> Thanks.
>
> Tony
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100607/b0dd97e1/attachment-0001.html 


More information about the FreeSWITCH-users mailing list