Path header == Record-Route for REGISTERs.

Sent from mobile, with due apologies for brevity and errors.

On Jul 13, 2021, at 1:22 AM, H Yavari <hyavari@rocketmail.com> wrote:


Hi to all,

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.

User------Register-------> Kamailio-A

User<-----401--------------Kamailio-A

User-------Register--------> Kamailio-B


RFC says we can't use the Record-Route for register because it doesn't create a dialog.
Is there any option, header that Kamailio-A puts in the 401, and after that users send register to the Kamailio-B?

Thank you.
BR,
Hossein
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
 * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
 * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users