<div dir="ltr"><div class="gmail_default" style="font-size:small">Thanks. </div><div class="gmail_default" style="font-size:small">Done.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 11, 2020 at 3:00 AM Liviu Chircu <<a href="mailto:liviu@opensips.org">liviu@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 02.03.2020 15:45, Saint Michael wrote:<br>
> I loaded the module db_unixodbc but don't know how to go from there.<br>
<br>
Hey, Philip!<br>
<br>
See the "Installation and Running" section [1] in the docs. As far as <br>
OpenSIPS configuration goes, you just need to use DB URLs resembling <br>
"unixodbc://opensips:opensipsrw@localhost/my_dsn" as modparams to each <br>
of your modules that you want to pass through the ODBC layer (e.g. <br>
dialog, usrloc, etc.).  Of course, "my_dsn" must be separately defined <br>
within "/etc/odbc.ini".  You can find plenty of examples on the web on <br>
how to edit this file so it points to your desired SQL DB.<br>
<br>
Regards,<br>
<br>
[1]: <a href="https://opensips.org/docs/modules/3.1.x/db_unixodbc.html#idp5924752" rel="noreferrer" target="_blank">https://opensips.org/docs/modules/3.1.x/db_unixodbc.html#idp5924752</a><br>
<br>
-- <br>
Liviu Chircu<br>
<a href="http://www.twitter.com/liviuchircu" rel="noreferrer" target="_blank">www.twitter.com/liviuchircu</a> | <a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">www.opensips-solutions.com</a><br>
<br>
OpenSIPS Summit, Amsterdam, May 2020<br>
   <a href="http://www.opensips.org/events" rel="noreferrer" target="_blank">www.opensips.org/events</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>