Aza,

I think you got confused.

ESL and mod_xml_curl are not doing the same thing.
ESL is a way to control FreeSWITCH through the even socket (you can send commands like call this number, listen to DTMF, play audio file, etc...).

Mod_xml_curl is "just" a way to have your config, dialplan and directory stored in a DB, that FS will access through a HTTP/XML middleware.
You can't write applications with that.

The alternative to ESL is to use scripting in the dialplan (mod_lua, mod_python, etc...). A such application is generally put somewhere in the dialplan, so it is triggered because FS executes an extension.
You can also execute it from CLI (with luarun for instance).

As you say that you want to write a web-based app, I guess you should go for php/ESL.
Playing with that, you will perhaps find exactly what suits you.

To install php/ESL support, you need to compile FreeSWITCH with:
./configure --with-php
make install

and after that:
cd libs/esl
make phpmod-install

(php-devel is a required package)

David Ponzone  Direction Technique
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




Le 14/05/2010 à 09:29, Aza Tek a écrit :

Hi All

I'm a bit undecided on the best approach for a web-based FreeSWITCH application, between the above two.
Any advice would be most appreciated.

Thanks
_______________________________________________
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