<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
yeah, sounds like the right solution.<br>
<br>
Also stumbled upon this problem sometime ago, and kept wondering
what was going on. Now it is very clear to me.<br>
<br>
BR<br>
<br>
Max M.<br>
<br>
Am 14.04.2011 13:02, schrieb Bogdan-Andrei Iancu:
<blockquote cite="mid:4DA6D44F.8030500@opensips.org" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
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>
- to have single default db_url for simple default scripts (as
we have now)<br>
- to see (no mote hidden) the default value for db_url in your
cfg<br>
- to change the default db_url without re-compilling<br>
- 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>
<blockquote cite="mid:C9CB8E65.1E0C1%25jpyle@fidelityvoice.com"
type="cite"><span id="OLK_SRC_BODY_SECTION">
<div>On Wed, Apr 13, 2011 at 3:22 PM, Bogdan-Andrei Iancu <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
<div>
<div class="h5">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.</div>
</div>
<br>
So, the default value will be explicitly set in the
opensips cfg -> no way to miss it, also easy to
roll out a simple default cfg.<br>
</div>
</blockquote>
</div>
</div>
</span></blockquote>
<br>
<pre class="moz-signature" cols="72">--
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 2nd of May 2011
OpenSIPS solutions and "know-how"</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>