Hi,

 

 

 

There is also the possibility to use the xml-handler (e.g. lua), write a  c/c++ module which does fetch the  dialplan/directory. Also it is possible to call lua as a application and then do some sort of mysql queries.

 

Another possible way is, that you specify to use LUA for the context of a sip profile. Then, if the context would be used, it will just call the lua script

 

BR,

Bernhard

 

 

 

Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von David Ponzone
Gesendet: Dienstag, 28. September 2010 08:57
An: FreeSWITCH Users Help
Betreff: Re: [Freeswitch-users] Freeswitch and mysql

 

Antonio,

 

there are 2 main solutions:

-use mod_xml_curl, which allows to get the whole dialplan from HTTP (so from SQL, using the language of your choice)

-have a "call routing engine" written in the language of your choice (LUA, JS, Python, Perl, C, C#, Ruby) running standalone besides FS. It will be connected to FS through sockets, and then you can include any level of "smartness" in that engine

 

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 28/09/2010 à 00:36, Antonio a écrit :



Hello,

I asked and more I searched, I found nothing, how to integrate FreeSwitch with mysql. Some time ago I found Asterisk-realtime and wanted to know if there is something similar in FreeSwitch. Is to avoid double configurations, for example if there is a conference room that can be accessed from multiple servers, etc.
I'm new in FreeSwitch and I have much knowledge ;-)

Does anyone have any url or book on how to do? Lua?. Thanks.

Greetings

_______________________________________________
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