On 27.01.2020 19:34, Social Boh wrote:
so why in the Tutorial de INVITE comes from Main Registrar?

Hi, Social Boh!

When using mid-registrar, the INVITE flow will be:

       INVITE            INVITE             INVITE INVITE
Alice --------> MID-REG --------> MAIN-REG --------> MID-REG --------> Bob

The _main_ feature about mid-registrar is that it always rewrites the Contact [1] to point to the current server (regardless if in mode 0, 1 or 2). This is why the
MAIN-REG forwards the INVITE to MID-REG, and not directly to Bob.

[1]: https://opensips.org/html/docs/modules/3.1.x/mid_registrar.html#sip-flow-insertion

Best regards,

--
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com

OpenSIPS Summit, Amsterdam, May 2020
  www.opensips.org/events
OpenSIPS Bootcamp, Miami, March 2020
  www.opensips.org/training


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to