<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font size="-1">Hello,</font></p>
<p><font size="-1">maybe is better I explain what I'd like to
achieve:</font></p>
<p><font size="-1">I have two Kamailio using DMQ and DMQ_USRLOC
modules so each REGISTER is replicate on each Kamailio. I'm
using DNS weight to distribute the REGISTERs between the 2
Kamailios.<br>
</font></p>
<p><font size="-1"> The only difference I have seen in the location
data, </font><font size="-1"><font size="-1">with <b>kamctl ul
show</b> command,</font> is the Kamailio receives REGISTER
have socket parameter with transport, ip, y port like
udp:1.2.3.4:5060 where 1.2.3.4 is Kamailio public IP; the other
Kamailio have this field empty.</font></p>
<p><font size="-1">When a call arrive to one Kamailio, querying the
Socket field I can known if I have to send the INVITE locally or
forward the INVITE to second Kamailio.</font></p>
<p><font size="-1">I don't know if there is other way to achieve
this goal. <br>
</font></p>
<p><font size="-1">I think PATH protocol not apply here because If I
reply the REGISTER to the second Kamailio adding path header, I
don't need DMQ_USRLOC.</font></p>
<p><font size="-1">The idea is to take advantage of using these DMQ
related modules.</font></p>
<p><font size="-1">Regards<br>
</font></p>
<pre class="moz-signature" cols="72">---
I'm SoCIaL, MayBe</pre>
<div class="moz-cite-prefix">El 29/07/2021 a las 5:16 p. m., Henning
Westerholt escribió:<br>
</div>
<blockquote type="cite"
cite="mid:PAXPR05MB8558AA7247F4FB7DB407B97AC5EB9@PAXPR05MB8558.eurprd05.prod.outlook.com">
<pre class="moz-quote-pre" wrap="">Hello,
There are different functions in the registrar module, check them out: <a class="moz-txt-link-freetext" href="https://kamailio.org/docs/modules/devel/modules/registrar.html#idm576">https://kamailio.org/docs/modules/devel/modules/registrar.html#idm576</a>
reg_fetch_contacts(..) might be something you could use.
Cheers,
Henning
</pre>
</blockquote>
</body>
</html>