[Freeswitch-users] ESL vs Mod_XML_Curl

David Ponzone david.ponzone at gmail.com
Fri May 14 05:55:54 PDT 2010


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 at 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 at 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 at 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 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
>
>
> _______________________________________________
> 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
>
>
> _______________________________________________
> 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/20100514/f9de40f3/attachment.html 


More information about the FreeSWITCH-users mailing list