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
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 email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com 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
Thanks David that was quite informative. Is there a particular benefit to having something like a Dialplan stored in a database? On Fri, May 14, 2010 at 10:24 AM, David Ponzone <david.ponzone@gmail.com>wrote:
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 email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com
*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
_______________________________________________ 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
Well, it's dynamical, and it can be shared among multiple FS instances. When you use FS only as a switch between trunks, it's not really interesting, but if you plan to have lots of users registered on FS, it may help. Only you can decide if you need a static or dynamic dialplan. And if you need to register lots of users, it's pretty sure you'll want to store them in a DB... David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com 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 à 14:22, Aza Tek a écrit :
Thanks David that was quite informative. Is there a particular benefit to having something like a Dialplan stored in a database?
On Fri, May 14, 2010 at 10:24 AM, David Ponzone <david.ponzone@gmail.com
wrote: 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 email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com
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
_______________________________________________ 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
participants (2)
-
Aza Tek
-
David Ponzone