[OpenSIPS-Users] Saving CDR to a database via unixodbc

Saint Michael venefax at gmail.com
Thu Mar 12 02:36:47 EST 2020


Thanks.
Done.

On Wed, Mar 11, 2020 at 3:00 AM Liviu Chircu <liviu at opensips.org> wrote:

> On 02.03.2020 15:45, Saint Michael wrote:
> > I loaded the module db_unixodbc but don't know how to go from there.
>
> Hey, Philip!
>
> See the "Installation and Running" section [1] in the docs. As far as
> OpenSIPS configuration goes, you just need to use DB URLs resembling
> "unixodbc://opensips:opensipsrw@localhost/my_dsn" as modparams to each
> of your modules that you want to pass through the ODBC layer (e.g.
> dialog, usrloc, etc.).  Of course, "my_dsn" must be separately defined
> within "/etc/odbc.ini".  You can find plenty of examples on the web on
> how to edit this file so it points to your desired SQL DB.
>
> Regards,
>
> [1]: https://opensips.org/docs/modules/3.1.x/db_unixodbc.html#idp5924752
>
> --
> Liviu Chircu
> www.twitter.com/liviuchircu | www.opensips-solutions.com
>
> OpenSIPS Summit, Amsterdam, May 2020
>    www.opensips.org/events
>
>
> _______________________________________________
> 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/20200311/1997ffa9/attachment-0001.html>


More information about the Users mailing list