<html><head></head><body><div class="ydp1c861b8byahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><div></div>
<div dir="ltr" data-setdir="false">Thank you for hints.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Daniel, using the 'path' with address of Kamailio-B in the 401 is not useful? </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Regards,</div><div dir="ltr" data-setdir="false">Hossein</div><div><br></div>
</div><div id="ydpad241894yahoo_quoted_7020350296" class="ydpad241894yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Tuesday, July 13, 2021, 12:04:29 AM PDT, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="ydpad241894yiv4490458810"><div>
<p>If I understood the scenario, the Path header is not useful --
that's for the case when there is a proxy between UA and registrar
server. In this scenario seems to be the UA using alternate
registrars, either by DNS or configuration.</p>
<p>A solution is this case is to sync the two Kamailios A and B, so
they accept the auth challenges generated by the other one. See:<br clear="none">
</p>
<p> *
<a shape="rect" class="ydpad241894yiv4490458810moz-txt-link-freetext" href="https://www.kamailio.org/docs/modules/stable/modules/auth.html#auth.p.secret" rel="nofollow" target="_blank">https://www.kamailio.org/docs/modules/stable/modules/auth.html#auth.p.secret</a></p>
<p>Cheers,<br clear="none">
Daniel<br clear="none">
</p>
<div class="ydpad241894yiv4490458810yqt1188262643" id="ydpad241894yiv4490458810yqtfd48868"><div class="ydpad241894yiv4490458810moz-cite-prefix">On 13.07.21 07:56, Alex Balashov wrote:<br clear="none">
</div>
<blockquote type="cite">
</blockquote></div></div><div class="ydpad241894yiv4490458810yqt1188262643" id="ydpad241894yiv4490458810yqtfd29463"></div><div><div class="ydpad241894yiv4490458810yqt1188262643" id="ydpad241894yiv4490458810yqtfd76826">
Path header == Record-Route for REGISTERs.<br clear="none">
<br clear="none">
<div dir="ltr">—
<div>Sent from mobile, with due apologies for brevity and
errors.</div>
</div>
<div dir="ltr"><br clear="none">
<blockquote type="cite">On Jul 13, 2021, at 1:22 AM, H Yavari
<a shape="rect" class="ydpad241894yiv4490458810moz-txt-link-rfc2396E" href="mailto:hyavari@rocketmail.com" rel="nofollow" target="_blank"><hyavari@rocketmail.com></a> wrote:<br clear="none">
<br clear="none">
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="ydpad241894yiv4490458810yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;">
<div dir="ltr">Hi to all,</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">In a scenario, we need to
change the destination of users' registration requests
when they send the first 'Register' to Kamailio-A and it
replies 401 to the user, next time the user sends
'Register' to Kamailio-B.</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">User------Register------->
Kamailio-A</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">User<-----401--------------Kamailio-A</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">User-------Register-------->
Kamailio-B</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">RFC says we can't use the
Record-Route for register because it doesn't create a
dialog.</div>
<div dir="ltr">Is there any option,
header that Kamailio-A puts in the 401, and after that
users send register to the Kamailio-B?</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">Thank you.</div>
<div dir="ltr">BR,</div>
<div dir="ltr">Hossein</div>
</div>
<span>__________________________________________________________</span><br clear="none">
<span>Kamailio - Users Mailing List - Non Commercial
Discussions</span><br clear="none">
<span> * <a shape="rect" class="ydpad241894yiv4490458810moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" rel="nofollow" target="_blank">sr-users@lists.kamailio.org</a></span><br clear="none">
<span>Important: keep the mailing list in the recipients, do
not reply only to the sender!</span><br clear="none">
<span>Edit mailing list options or unsubscribe:</span><br clear="none">
<span> *
<a shape="rect" class="ydpad241894yiv4490458810moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="nofollow" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></span><br clear="none">
</div>
</blockquote>
<br clear="none">
<fieldset class="ydpad241894yiv4490458810mimeAttachmentHeader"></fieldset>
</div><pre class="ydpad241894yiv4490458810moz-quote-pre"><div class="ydpad241894yiv4490458810yqt1188262643" id="ydpad241894yiv4490458810yqtfd27529">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* <a shape="rect" class="ydpad241894yiv4490458810moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" rel="nofollow" target="_blank">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* <a shape="rect" class="ydpad241894yiv4490458810moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="nofollow" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></div>
</pre>
<pre class="ydpad241894yiv4490458810moz-signature">--
Daniel-Constantin Mierla -- <a shape="rect" class="ydpad241894yiv4490458810moz-txt-link-abbreviated" href="http://www.asipto.com" rel="nofollow" target="_blank">www.asipto.com</a>
<a shape="rect" class="ydpad241894yiv4490458810moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" rel="nofollow" target="_blank">www.twitter.com/miconda</a> -- <a shape="rect" class="ydpad241894yiv4490458810moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" rel="nofollow" target="_blank">www.linkedin.com/in/miconda</a></pre><div class="ydpad241894yiv4490458810yqt1188262643" id="ydpad241894yiv4490458810yqtfd26120">
</div></div></div><div class="ydpad241894yqt1188262643" id="ydpad241894yqtfd74235">__________________________________________________________<br clear="none">Kamailio - Users Mailing List - Non Commercial Discussions<br clear="none"> * <a shape="rect" href="mailto:sr-users@lists.kamailio.org" rel="nofollow" target="_blank">sr-users@lists.kamailio.org</a><br clear="none">Important: keep the mailing list in the recipients, do not reply only to the sender!<br clear="none">Edit mailing list options or unsubscribe:<br clear="none"> * <a shape="rect" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="nofollow" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br clear="none"></div></div>
</div>
</div></body></html>