[Freeswitch-users] Freeswitch 1.10.X mod_limit db configuration

Andrey Wolk andywolk at gmail.com
Mon Nov 11 19:59:03 UTC 2019


Since it's a regex
"^pgsql|^odbc|^sqlite|[^:]+:[^:]*:.*"
"dsn:username:password"

Try adding : at the end of the value.

<param name="odbc-dsn"
value="mariadb://Server=localhost;Database=freeswitch;Uid=freeswitch;Pwd=fsgreat!;:"/>


> From: Volodymyr Fedorov <lexxua at gmail.com>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Bcc:
> Date: Mon, 11 Nov 2019 09:25:23 +0100
> Subject: [Freeswitch-users] Freeswitch 1.10.X mod_limit db configuration
> Hi I need some help from community, I have a question regarding
> mod_limit db configuration in modern freeswitch release where we have
> new db drivers.
> I tried to use following construction:
> <configuration name="db.conf" description="LIMIT DB Configuration">
>   <settings>
>     <param name="odbc-dsn"
>
> value="mariadb://Server=localhost;Database=freeswitch;Uid=freeswitch;Pwd=fsgreat!;"/>
>   </settings>
> </configuration>
>
> When I try to load mod_db I`m getting following error:
> 2019-11-11 09:22:11.813986 [ERR] switch_xml_config.c:267 Invalid value
>
> [mariadb://Server=localhost;Database=freeswitch;Uid=freeswitch;Pwd=fsgreat!;]
> for parameter [odbc-dsn]
> freeswitch at loopkam>
> Item name: [odbc-dsn]
> Type: string (optional)
> Syntax: dsn:username:password
> Help: If set, the ODBC DSN used by the limit and db applications
>
> I have following version installed:
> FreeSWITCH (Version 1.10.1 -release-12-f9990221e6 64bit) is ready
>
> Thanks for advices!
> --
> Best regards,
> Volodymyr
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191111/4cf870fa/attachment.html>


More information about the FreeSWITCH-users mailing list