<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML - vooraf opgemaakt Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTML-voorafopgemaaktChar
        {mso-style-name:"HTML - vooraf opgemaakt Char";
        mso-style-priority:99;
        mso-style-link:"HTML - vooraf opgemaakt";
        font-family:Consolas;
        color:black;}
span.E-mailStijl19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=NL link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>+1 for me<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>Van:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> users-bounces@lists.opensips.org [mailto:users-bounces@lists.opensips.org] <b>Namens </b>Bogdan-Andrei Iancu<br><b>Verzonden:</b> donderdag 14 april 2011 13:03<br><b>Aan:</b> users@lists.opensips.org<br><b>Onderwerp:</b> [OpenSIPS-Users] [RFC] Default value of db_url in OpenSIPS<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Hi all,<br><br>Following some discussions on the value of db_url, we end up with the idea of chancing the way of definition the db_url in opensips.<br><br>The problem with the current approach (having builtin - hidden- default values) is confusing as, if you do no explicitly set a db_url, the modules will try do connect to the default db_url, without you even knowing that.<br><br>So the idea is to remove the builtin default value and to have a new global parameter in opensips cfg to define the default value for db_urls.<br>This will allow:<br>&nbsp;&nbsp;&nbsp; - to have single default db_url for simple default scripts (as we have now)<br>&nbsp;&nbsp;&nbsp; - to see (no mote hidden) the default value for db_url in your cfg<br>&nbsp;&nbsp;&nbsp; - to change the default db_url without re-compilling<br>&nbsp;&nbsp;&nbsp; - still be able to individually change the db_urls for each module...<br><br>Already there are three +votes for this, but I would like to see other opinions on that....pro or against :)<br><br>Regards,<br>Bogdan<br><br><br><o:p></o:p></p><div><p class=MsoNormal>On Wed, Apr 13, 2011 at 3:22 PM, Bogdan-Andrei Iancu &lt;<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>&gt; wrote:<o:p></o:p></p><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><div><p class=MsoNormal>Or maybe, to make everyone happy, to have a global cfg parameter for defining a default db_url. This will be used to populate the db_urls from the module.<o:p></o:p></p></div></div><p class=MsoNormal><br>So, the default value will be explicitly set in the opensips cfg -&gt; no way to miss it, also easy to roll out a simple default cfg.<o:p></o:p></p></div></blockquote></div></div><p class=MsoNormal><br><br><o:p></o:p></p><pre>-- <o:p></o:p></pre><pre>Bogdan-Andrei Iancu<o:p></o:p></pre><pre>OpenSIPS eBootcamp - 2nd of May 2011<o:p></o:p></pre><pre>OpenSIPS solutions and &quot;know-how&quot;<o:p></o:p></pre></div></body></html>