Lua can be run directly, whereas python would be used eith mod_xml_curl, served from a server (I do tis with php) so if you know lua, use it. If you like python, use that.
There is a mod called mod_odbc_query in the git contrib that lets you make sql queries from the dialplan. The static xml can do a lot.
On Feb 18, 2011 8:51 AM, "Edward de Jong" <edward.dejong@voicecarrier.com> wrote:
>
> I am new to freeswitch, and wondering which of the many languages to implement my rather complex dial plan in. I know i can't express my desires in the normal XML language, because I need looping and database access
I'm not sure what you mean by looping, but you can transfer to a new number, and it can restart going through thr dialplan., so which language is the best tested and most reliable in terms of usage with FreeSwitch. My finalists so far are Lua, Python, and good old C. Haven't used python or lua yet, but I figure C will have a big performance advantage.Lua can be run directly, whereas python would be used eith mod_xml_curl, served from a server (I do tis with php) so if you know lua, use it. If you like python, use that.
>
> but maybe not important considering how much greater the CPU load in the switch is devoted to handling audio streams...
>
C is probably overkill becaue you would need to compile it for any change you make. If you have standardized functions that don't already have a mod, then by all means write a modin C and share it wih the community.
-Avi> edj
>
>
> _______________________________________________
> 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
_______________________________________________
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