Thank you!

Now it totally clear. The last question; in the MID_REGISTRAR I have to forward the INVITE to Main_REGISTRAR using the script and process INVITE only if comes from Main_REGISTRAR. Is it right?

Thank you

Regards

---
I'm SoCIaL, MayBe

El 28/01/2020 a las 05:58, Liviu Chircu escribió:
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,


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

Reply via email to