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 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" /> <param name="realm" value="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>
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of jacek burghardt Sent: Thursday, December 15, 2016 1:58 PM To: FreeSWITCH Users Help <FreeSWITCH-users@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>
or maybe use fusinpbx, which for a fs newbie is quite good... downside is you probably won't learn much about fs.. the curve will be very very steep ᐧ Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 On Thu, Dec 15, 2016 at 9:11 PM, Ken Rice <krice@freeswitch.org> wrote:
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@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *jacek burghardt *Sent:* Thursday, December 15, 2016 1:58 PM *To:* FreeSWITCH Users Help <FreeSWITCH-users@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
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" />
<param name="realm" value="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>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
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
I can get gateway registered, with voip.ms. I am trying to use freeswitch and fusionpbx on centos 7. I guess I need to learn how to setup dial plans and extension. Using fusionpbx would be nice, but xml files are well documented.
I'd like to frame this email and hang it on my wall. :) On Thu, Dec 15, 2016 at 3:09 PM, jacek burghardt <jaceksburghardt@gmail.com> wrote:
I can get gateway registered, with voip.ms. I am trying to use freeswitch and fusionpbx on centos 7. I guess I need to learn how to setup dial plans and extension. Using fusionpbx would be nice,* but xml files are well documented. *
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
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
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest
I run update on centos 7 now tons of modules will not load and freeswitch will not start.
participants (4)
-
Brian West
-
David Villasmil
-
jacek burghardt
-
Ken Rice