[Freeswitch-users] freeswitch mysql integration
Ken Rice
krice at freeswitch.org
Thu Dec 15 23:11:02 MSK 2016
FreeSWITCH does not store configuration directly in a data like ARA… FreeSWITCH uses XML trees for configuration data… You can still store the configs in a DB of your choice and generate the configs that are required via mod_xml_curl or similar processes. These are documented quite well at https://freeswitch.org/confluence (start your search with xml_curl there)
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of jacek burghardt
Sent: Thursday, December 15, 2016 1:58 PM
To: FreeSWITCH Users Help <FreeSWITCH-users at lists.freeswitch.org>
Subject: [Freeswitch-users] freeswitch mysql integration
Can someone point me in right direction on integrating freeswitch with mysql ?
I am trying to store all configuration files in mysql just like asterisk does.
I used this sample config how I get it to use mysql database and how I can get gateway to register with voip.ms <http://voip.ms>
include>
<gateway name="voipms">
<!-- Replace the values below with your Voip.ms username and password. Even if you use an IP-based sub-account, FreeSWITCH likes values for the username and password -->
<param name="username" value="100XXX" />
<param name="password" value="PASSWORD" />
<!-- This gateway could be different depending on which switch you are on -->
<param name="proxy" value="sip.us4.voip.ms <http://sip.us4.voip.ms> " />
<param name="realm" value="sip.us4.voip.ms <http://sip.us4.voip.ms> " />
<!-- This should be set to "false" for IP-based accounts, or "true" for registration based -->
<param name="register" value="false" />
</gateway>
</include>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161215/55e216c1/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list