[OpenSIPS-Users] Using external MySQL server

Vlad Paiu vladpaiu at opensips.org
Thu Jun 26 13:31:20 CEST 2014


Hello,

To make things simpler, you can also do

modparam("module1|module2|module3","db_url","YOUR_URL_HERE")

Best Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com

On 26.06.2014 11:13, Alain BIEUZENT wrote:
>
> Hi gary,
>
> You can use m4 « compilator » for this
>
> Have look to : http://www.opensips.org/Documentation/Tools
>
> Regards
>
> *De :*users-bounces at lists.opensips.org 
> [mailto:users-bounces at lists.opensips.org] *De la part de* Gary Patton
> *Envoyé :* jeudi 26 juin 2014 01:29
> *À :* users at lists.opensips.org
> *Objet :* [OpenSIPS-Users] Using external MySQL server
>
> Hi again!  Another newbie question.
>
> If I want a module to use an external MySQL db server, I simply modify 
> the modparam for each module in my residential config file by adding 
> the external server's IP address to the DB_URL parameter for each module.
>
> But isn't there a simpler way?  I guess what I'm asking is whether I 
> can enter the external db server's IP address on a single line in a 
> config file somewhere in OpenSIPS and OpenSIPS will use the external 
> MySQL server for all the modules included in my residential config file?
>
> Hope this question isn't too silly.
>
> Regards
>
> Gary
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140626/5db4810f/attachment.htm>


More information about the Users mailing list