[OpenSIPS-Users] Doubt about MID_REGISTRAR module
Liviu Chircu
liviu at opensips.org
Tue Jan 28 05:58:37 EST 2020
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
More information about the Users
mailing list