Hi Henning,<font color="#888888"></font><br><br>>may i ask why do you want to implement something like this? If your UAs only<br>
>register to often or with a too short interval, just reply 423 with a<br>
>sensible Min-Expires or 503 with a Retry-Later.<br><br>My registrar isn't an Openser. It haven't these type of features.<br>A possible solution was to share the location database of my registrar with my Openser server.<br>
Unfortunately, I can't do that.<br><br>> Its also possible to configure the usrloc module to use a internal cache, so<br>
> that REGISTERs could be served from it, and no DB lookup should be necessary.<br><br>The function 'save' can be used only from REQUEST_ROUTE.<br><br>My topology : UA <-> Openser Proxy <-> Registrar<br>
<br>1- My UA sends a REGISTER request.<br>2- Openser relays the REGISTER to my Registrar.<br>3- The Registrar answers with a challenge.<br>4- Openser relays the Challenge to my UA.<br>5- The UA sends a new REGISTER request with the challenge response.<br>
6- Openser relays the REGISTER to my Registrar. (At this moment, I don't known if the challenge response is OK. I can't cache the REGISTER.)<br>7- The registrar sends a response to my Openser. (At this moment, I known if the UA is REGISTER or not, but I can't call the "save" function.)<br>
<br>Do you see other solutions ?<br><br>-- <br>Julien Mangeard<br><br><div class="gmail_quote">On Mon, Jun 16, 2008 at 11:39 AM, Henning Westerholt <<a href="mailto:henning.westerholt@1und1.de">henning.westerholt@1und1.de</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Friday 13 June 2008, Julien mangeard wrote:<br>
> I don't known if it's possible but I try to use Openser for caching<br>
> REGISTER requests.<br>
><br>
> I have make a schema with the ideal registration flow :<br>
> <a href="http://img225.imageshack.us/img225/930/registerlj0.png" target="_blank">http://img225.imageshack.us/img225/930/registerlj0.png</a>.<br>
><br>
> What do you think about it ?<br>
> Can I make that with the existing module ?<br>
<br>
</div>Hi Juien,<br>
<br>
may i ask why do you want to implement something like this? If your UAs only<br>
register to often or with a too short interval, just reply 423 with a<br>
sensible Min-Expires or 503 with a Retry-Later.<br>
Its also possible to configure the usrloc module to use a internal cache, so<br>
that REGISTERs could be served from it, and no DB lookup should be necessary.<br>
<font color="#888888"><br>
Henning<br>
</font></blockquote></div><br>