<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>Hey sorry I have not been back in touch regarding this issue, I and my whole family got the flu and motivation to get off the couch has been tough.</div><div><br></div><div>I left the system sit unused but operating sorta speak for a pile of days and logged in to check the multiple entries.</div><div>I have the ATAs set to 60 seconds REGISTER, and not rebooting them at all, but just letting them run and do their thing the multiple entries stack up again without touching/rebooting the ATA.</div><div><br></div><div> When run the command:</div><div><div>root@sip:~# ngcp-kamctl proxy ul show <a href="mailto:ddufresne@sip.optionsdsl.ca">ddufresne@sip.optionsdsl.ca</a></div><div>Contact:: <<a href="sip:ddufresne@24.102.50.63:49152">sip:ddufresne@24.102.50.63:49152</a>>;q=;expires=48;flags=0x0;cflags=0x0;socket=<udp:172.16.10.55:5062>;methods=0x129F;user_agent=<OBIHAI/OBi100-1.3.0.2744>;path=<<<a href="sip:lb@172.16.10.55;lr">sip:lb@172.16.10.55;lr</a>>></div></div><div><br></div><div>It only shows one entry, great! But the web interface/CSC show 40 entries that all are identical in expiry time. I fI hit the trash can, all of them disappear until the ATA sends a new REGISTER, then one entry shows back up, rinse and repeat. </div><div><br></div><div><br></div><div><br></div><div><img height="920" width="891" apple-width="yes" apple-height="yes" id="d05d6ba5-886c-408b-9560-90ffdbad5f7b" src="cid:68A4ADBB-CA9E-4008-A75C-0BC0753F88CD@optionsdsl.ca"></div><div><img height="84" width="938" apple-width="yes" apple-height="yes" id="eb94cb9d-a0f6-47d3-852b-116ea9408b09" src="cid:864F7B22-1108-4C38-A6F3-52192B9A803E@optionsdsl.ca"></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><br><div><div>On 2012-11-15, at 4:47 PM, Skyler <<a href="mailto:skchopperguy@gmail.com">skchopperguy@gmail.com</a>> wrote:</div><div><br></div><div>Hey,</div><div><br></div><div> This is actually built-in already. The records should be clearing out automatically based on the expires= .</div><div><br></div><div>What do you see with this command:</div><div><br></div><div>ngcp-kamctl proxy ul show <span class="Apple-style-span" style="border-collapse: collapse; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; ">user@domain</span></div><div><br>Skyler</div><blockquote type="cite">Hi,<br><br><div class="gmail_quote">On Thu, Nov 15, 2012 at 12:45 PM, Dave Massey <span dir="ltr"><<a href="mailto:dave@optionsdsl.ca" target="_blank">dave@optionsdsl.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div>Oddly enough it looks normal now. .. </div><div><br></div><div>Excuse me while I bang my head on the wall. :(</div><div><br></div><div>How do I change the expiry time?</div><div><div class="h5">
<div><br></div></div></div></div></blockquote><div><br></div><div>So just to clarify, all of the old entries from the DB are gone now correct?</div><div><br></div><div> Registration expiry is submitted to the proxy by the device. You can specify pretty much any time^ you want. There is a caveat in there though. Earlier in the thread, we looked up the <span class="Apple-style-span" style="border-collapse: collapse; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; ">default_expires, min_expires and max_expires settings for your proxy. What do these mean and how does this tie together?</span></div>
<div><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"> When a device requests registration, it sends a 'Preferred Expires Time'. Which in your case, is 60 seconds. This means that the device 'advises' it will send another registration request in the next 60 seconds.</span></div>
<div><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"> On the Proxy side, it receives this request for 60 second expiry. It then looks at its own '</span><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">min_expires and max_expires</span><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">' time and measures against the device' request. Then approves or disapproves with an updated expires=. Disapproves?</span></div>
<div><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"> Let's say your proxy </span><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">min_expires=90, max_expires=3600 and default_expires=3600. Your device requests an expires=4000, well that is more than the max_expires; so the proxy allows registration BUT replies with an updated expires=3600. Basically "Be advised that I am deleting your AOR in 3600 seconds, like it or not".</span></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"> After all that, you really don't need to think about what I just said ;)</font></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"> Your proxy </font><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">min_expires=60 and max_expires=43200. Meaning you really can choose any expires time you want on the device.. ;)</span></div>
<div><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">Skyler</span></div></div>
</blockquote></div><br></body></html>