<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><div>On 2012-11-22, at 9:54 AM, Jon Bonilla (Manwe) <<a href="mailto:jbonilla@sipwise.com">jbonilla@sipwise.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">El Thu, 22 Nov 2012 09:10:32 -0500<br>Dave Massey <<a href="mailto:dave@optionsdsl.ca">dave@optionsdsl.ca</a>> escribió:<br><br><blockquote type="cite">I can confirm that commenting out the line does stop the multiple UA<br>registrations.  It still doesnt work right  with it commented out but I guess<br>thats to be expected. Entries are now in kamailio cache that are not in the<br>database, and old entries (one ata reboot) still remain stuck in the database.<br><br><br></blockquote><br>Well, Are you sure both cache entries and database entries were empty during<br>the restart of the proxy? Becuae I've seen that if they are not, you can have<br>entries in the cache which are not updates in the database. <br><br>That's why when commenting the option and restarting the proxy (applying the<br>changes should do it) I wanted to be sure that the db entries were clean.<br><br>We'll check later if the db/cache entries unsynsc if the proxy is started in a<br>clean way.<br><br><br>The "multiple registration error" we have here is only ast databse level, as<br>the proxy only keeps one single registration for the ATA.<br><br></blockquote></div><br><div><br></div><div>Yes I was sure that the database, and the cache were both empty, well, kamailio was stopped, I deleted the database, and restarted kamailio again.</div><div>Everything works great, no more multiple registrations at all...until the ATA reboots, then all bets are off.   THen the old entry sits there, and a new one never gets added to the DB.</div><div><br></div><div>But just to not confuse anything, I have an ATA that changes call-id each reboot-- which is probably another issue and perhaps this "fix" does nothing for that anyways?</div><div><br></div><div>The Kamailio cache is always correct.   I attached an image.</div><div><br></div><div>The DB image shows one ATA with 2 SIP registrations (ddufresne and test2) rebooted, old entries still there, new entries never got added.</div><div>And one ATA that hasn't rebooted (ddufresne).</div><div><br></div><div><img height="173" width="1408" apple-width="yes" apple-height="yes" id="32e95cf4-3f76-4e48-aee6-3b28ba6796c3" src="cid:BA4C75CD-614C-425E-BFB7-A7A9CC82CBCF@optionsdsl.ca"></div><div><br></div><div><br></div></body></html>