<div dir="ltr"><div class="gmail_quote"><div>Since it's a regex<br>"^pgsql|^odbc|^sqlite|[^:]+:[^:]*:.*"</div><div>"dsn:username:password"<br><br>Try adding : at the end of the value.</div><div><br><param name="odbc-dsn"<br>
value="mariadb://Server=localhost;Database=freeswitch;Uid=freeswitch;Pwd=fsgreat!;:"/> <br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Volodymyr Fedorov <<a href="mailto:lexxua@gmail.com" target="_blank">lexxua@gmail.com</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>Cc: <br>Bcc: <br>Date: Mon, 11 Nov 2019 09:25:23 +0100<br>Subject: [Freeswitch-users] Freeswitch 1.10.X mod_limit db configuration<br>Hi I need some help from community, I have a question regarding<br>
mod_limit db configuration in modern freeswitch release where we have<br>
new db drivers.<br>
I tried to use following construction:<br>
<configuration name="db.conf" description="LIMIT DB Configuration"><br>
<settings><br>
<param name="odbc-dsn"<br>
value="mariadb://Server=localhost;Database=freeswitch;Uid=freeswitch;Pwd=fsgreat!;"/><br>
</settings><br>
</configuration><br>
<br>
When I try to load mod_db I`m getting following error:<br>
2019-11-11 09:22:11.813986 [ERR] switch_xml_config.c:267 Invalid value<br>
[mariadb://Server=localhost;Database=freeswitch;Uid=freeswitch;Pwd=fsgreat!;]<br>
for parameter [odbc-dsn]<br>
freeswitch@loopkam><br>
Item name: [odbc-dsn]<br>
Type: string (optional)<br>
Syntax: dsn:username:password<br>
Help: If set, the ODBC DSN used by the limit and db applications<br>
<br>
I have following version installed:<br>
FreeSWITCH (Version 1.10.1 -release-12-f9990221e6 64bit) is ready<br>
<br>
Thanks for advices!<br>
-- <br>
Best regards,<br>
Volodymyr<br></blockquote></div></div>