<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Sure. I can at least contribute the knowledge gained last night. <div><br></div><div>Thanks. </div><div>Geoff <br><div><br>On Jan 3, 2018, at 7:01 AM, Ítalo Rossi <<a href="mailto:italo@freeswitch.org">italo@freeswitch.org</a>> wrote:<br><br></div><blockquote type="cite"><div>Do you want to contribute to our documentation by clarifying it? I can give you access to the Confluence editors.<br><div class="gmail_quote"><div dir="ltr">Em qua, 3 de jan de 2018 às 00:22, Geoff Mina <<a href="mailto:gmina@connectfirst.com">gmina@connectfirst.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"> I finally figured it out. I didn't realize that I needed a specific odbc-dsn parameter in both the internal and external sip_profiles. Adding the following to both of my profiles seems to have resolved the issues.<div><br></div><div> <param name="odbc-dsn" value="freeswitch:freeswitch:freeswitch"/></div><div><br></div><div>I wish the documentation on the various ODBC settings was a little more clear. Anyway... all good now, we are no longer relying on corruption prone SQLite for our registrations.</div><div><br></div><div>Thanks,</div><div>Geoff</div></div><div class="gmail_extra"><br clear="all"><div><div class="m_-7129416378882896911gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">
<p style="font-size:12.8px"><b>GEOFF MINA<u><br></u></b><span style="font-size:12.8px">Chief Executive Officer<br></span><span style="font-size:12.8px">Connect First / Contact Center Solutions, Built Better.</span></p><p style="font-size:12.8px"><span style="font-size:12.8px">3101 Iris Ave #200, Boulder, CO 80301<br></span><a href="tel:%28720%29%20335-5924" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">720.335.5924</a><br><a href="mailto:gmina@connectfirst.com" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">gmina@connectfirst.com</a><span style="font-size:12.8px"> / </span><a href="http://connectfirst.com/" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.connectfirst.com</a></p><p style="font-size:12.8px"><u></u></p><p style="font-size:12.8px"><u></u> <image002.png></p><p style="font-size:12.8px"><u></u></p><p style="font-size:12.8px"><u></u> <span style="font-size:12.8px">This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.</span></p></div></div></div></div></div></div></div></div><div class="gmail_extra">
<br><div class="gmail_quote">On Tue, Jan 2, 2018 at 5:26 PM, Geoff Mina <span dir="ltr"><<a href="mailto:gmina@connectfirst.com" target="_blank">gmina@connectfirst.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Greetings,<div>I have a freeswitch installation that is configured to use MySQL (via ODBC) in switch.xml. Today we had one of our freeswitch hosts go out of service with this error:</div><div><br></div><div><div><b>2018-01-03 00:14:51.340034 [ERR] switch_core_sqldb.c:587 NATIVE SQL ERR [database disk image is malformed]</b></div><div><b>delete from sip_registrations where sip_user='rcampos1' and sip_host='10.201.0.94'</b></div></div><div><br></div><div>Through some searching, we determined that is the result of the sqlite db becoming corrupt. There were no power events, but it simply stopped working. Now... I don't even want to use sqllite. We have MySQL configured and is working properly. Here is our config from switch.xml</div><div><br></div><div><div> <param name="core-db-dsn" value="freeswitch:freeswitch:freeswitch" /></div><div> <param name="auto-create-schemas" value="true"/></div><div> <param name="auto-clear-sql" value="true"/></div><div> <param name="core-dbtype" value="MYSQL"/></div></div><div><br></div><div>The registrations and calls ARE showing up in MySQL, so the ODBC connection is working. Why would Freeswitch continue to use SQLite even though we have configured the core to use MySQL? Even after clearing out the /freeswtich/db directory, upon restart, the following files show up again. It's as if Freeswitch is writing to both SQLite and MySQL.</div><div><br></div><div><div>-rw-r--r-- 1 14K Jan 3 00:16 call_limit.db</div><div>-rw-r--r-- 1 5.0K Jan 3 00:16 fifo.db</div><div>-rw-r--r-- 1 93K Jan 3 00:16 sofia_reg_external.db</div><div>-rw-r--r-- 1 99K Jan 3 00:26 sofia_reg_internal.db</div></div><div><br></div><div>Any help would be greatly appreciated.</div><div><br></div><div>Thanks,</div><div>Geoff</div></div>
</blockquote></div><br></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></div></blockquote></div></body></html>