I usually put an "edge" proxy (another set of kamailio instances) in front of sip registrars. the edge proxies add the path header, this allows your sip registrars to remain "connectionless" to the UAC. 
This allows an INVITE to be sent to the UAC from any sip registrar in your cluster, the user location data will have a "path" value which tells which edge proxy to use when trying to reach the UAC.

On Tue, Jul 13, 2021 at 11:32 AM Alex Balashov <abalashov@evaristesys.com> wrote:
On 7/13/21 11:26 AM, Social Boh wrote:

> Sorry,
>
> I explained myself wrong. I know how using PATH and what PATH do.

Your question was:

"Is it possible use this flow?

USER A --> KamailioA --> KamailioB --> User B

to resolve this kind of problem or is there other available option?"


And Path is the answer.

-- Alex

--
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

__________________________________________________________
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