[OpenSIPS-Users] Doubt about MID_REGISTRAR module

Social Boh social at bohboh.info
Mon Jan 27 12:34:12 EST 2020


Perfect...

so why in the Tutorial de INVITE comes from Main Registrar?

    # initial requests from main registrar, need to look them up!
     if (is_method("INVITE|MESSAGE") && $si == "10.0.0.3" && $sp == 5070) {
         xlog("looking up $ru!\n");
         if (!mid_registrar_lookup("location")) {
             t_reply("404", "Not Found");
             exit;
         }

         t_relay();

         exit;
     }

The INVITE from user go trough the mid_registrar to main registrar and then came back to mid_registrar to called user...

---
I'm SoCIaL, MayBe

El 27/01/2020 a las 08:35, Alexey Kazantsev via Users escribió:
>
>       
>
> It is absolutely correct.
> And that’s your job, as a VoIP adminitsrator, to forward this INVITE
> to the appropriate server.
> Any SIP client will send INVITE to the server defined in its settings,
> at least if something additional is not configured («Outbound proxy»
> or «Route» or maybe it’s called something else, depending on the 
> vendor/software author).
> -----------------------------------------------
> BR, Alexey
> http://alexeyka.zantsev.com/
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200127/060635f3/attachment.html>


More information about the Users mailing list