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"><span class="Apple-style-span" style="border-collapse:collapse"><br></span></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse"> After all that, you really don't need to think about what I just said ;)</span></font></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse"><br></span></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse"> Your proxy </span></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>