<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>wrong list<br>
</p>
<pre class="moz-signature" cols="72">---
I'm SoCIaL, MayBe</pre>
<div class="moz-cite-prefix">On 5/15/20 16:50, Easy Rider wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CACpwqg4mbUca2eBditoNec1tQDvCBjCq4TBENzucz_9=nSz1Cw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi everyone</div>
<div><br>
</div>
<div>I'm trying to implement OpenSIPS-like mid registrar
functionality using UAC module</div>
<div><br>
</div>
<div>Up to now, I was simply performing authentication on my
kamailio instance, saving to local domain and forwarding the
request to another proxy</div>
<div>I'd like to lower the number of requests sent to this other
proxy, by forwarding only a few of the incoming requests. This
is not a problem to do, but then comes the handling of
expiration. If the SIP UAC is disconnected, the registration
expires on my kamailio instance, but I don't know how to
correctly notify the other proxy on the unregistration (I was
trying to build and send a request using uac_send_req(), but
this is useless as I can't set the CSeq value)</div>
<div><br>
</div>
<div>While looking for a solution to my problem, I discovered
that OpenSIPS had a mid registrar module doing exactly what
I'd like to do (according to the documentation at least). I
also saw old messages on this list that it was possible to
achieve the same result with UAC module on kamailio</div>
<div><br>
</div>
<div>In particular, I don't see why (or if) I need to populate
the uacreg table. I don't see why it should be necessary, and
it would have a great impact on performance to use a db for
this matter. I also don't need (I think) to have different
local and remote from and to URIs</div>
<div><br>
</div>
<div>I think I need to build the a new REGISTER request using
$uac_req, but I don't see any contact header in the outgoing
request, despite having set reg_contact_addr value</div>
<div><br>
</div>
<div>Thanks for any clue you could give me<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
</body>
</html>