<div dir="ltr"><div dir="ltr">I have set the ds_select_dst used in the mid_registrar part of the script to hash the To URI<div><br></div><div>$ru = (ds_select_dst(1, <b>2</b>, , "default", 1));</div><div><br></div><div>but I am not seeing exactly how to do this for the INVITE. If I use ds_select_dst for the INVITE, it just chooses a random destination, not performing a match on the Registration destination.</div><div><br></div><div>Am I missing something with this? <div><br></div><div>Is there a way to pull information out of the usrloc contact kv-store. The information that is needed is in the hop field of the json string.</div></div><div><br></div><div>Thank you.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 28, 2022 at 4:03 AM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<font face="monospace">Hi Kevin,<br>
<br>
You may try for REGISTERs to do hashing over TO uri and for
INVITEs over TO or RURI - so they may get to the same box.<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 5-16 Dec 2022, online
<a href="https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/" target="_blank">https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/</a></pre>
<div>On 10/25/22 1:13 AM, Kevin Kennedy
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Yes that is correct. Trying to send the INVITE to
the same dispatcher destination that the Registration is at.
<div><br>
</div>
<div>I will check the Call-ID based dispatching algorithm<br>
<div><br>
</div>
<div>Thank you.</div>
<div>Kevin</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Oct 24, 2022 at 8:50
AM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <font face="monospace">Hi Kevin<br>
<br>
1) use the call-id based dispatching alg, so the INVITE
with credentials will get sent to the same destination<br>
<br>
2) yes, mid-register (as register SIP mechanism) is allows
the UA to receive calls only, it is not related to
handling the outbound calls of the UA. I understand you
try to get a call from A to B to be sent to the same
dispatcher destination as the registers of B, right ?<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 5-16 Dec 2022, online
<a href="https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/" target="_blank">https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/</a></pre>
<div>On 10/21/22 10:28 PM, Kevin Kennedy wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">I believe I have mid_registrar somewhat
working with dispatcher, but I seem to have a
coulple issues.
<div><br>
</div>
<div>1) When I receive the 401 request the second
authentication INVITE is sending to another $ru host
in the dispatcher instead of the initial one it sent
to.</div>
<div>2) How do I send an outbound INVITE matching the
registration cache to the same $ru that it is
Registered to.</div>
<div> mid_registrar_lookup uses the AOR instead of
contact so it is only allowing the Incoming INVITEs to
reach the client.</div>
<div><br>
</div>
<div>Thank ou.<br>
<div><br>
</div>
<div>Thank you.</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Aug 19, 2022
at 8:46 AM Alex <<a href="mailto:ayakimkin@gmail.com" target="_blank">ayakimkin@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>Hello,</div>
<div><br>
</div>
<div>setup mid registrar easy with this instruction.
<a href="https://www.opensips.org/Documentation/Tutorials-MidRegistrar" target="_blank">https://www.opensips.org/Documentation/Tutorials-MidRegistrar</a></div>
<div>There is link to config</div>
<div><br>
</div>
<div>But It relays every Registration request every
60sec on my server. Please let me know if you
could set up like on picture in instruction.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">чт, 18 авг. 2022
г. в 18:37, Kevin Kennedy <<a href="mailto:kennedy4260@gmail.com" target="_blank">kennedy4260@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">I am looking for a configuration to
be able to front end multiple SBC's to load
balance Registrations and keep track of them to
send INVITE's to the corresponding SBC.
<div><br>
</div>
<div>I am thinking of using a combination of
Dispatcher and midregister, but not sure how
to set this up correctly.</div>
<div><br>
</div>
<div>Any thoughts?</div>
<div><br>
</div>
<div>Thank you.</div>
<div><br>
Kevin</div>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr">С уважением,<br>
Якимкин Алексей</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote></div>