[OpenSIPS-Users] mid_registart call scenario

Andy Kama andyvoicetek at gmail.com
Wed Nov 18 13:11:21 EST 2020


If i point my freeswitch domain to the ip of opensips and setup mid
registrar to the freeswitch server.

It passes registrations perfectly but wont pass invites and just fails
if i point the domain to freeswitch and then register with an outbound
proxy pointing to opensips it works 100%

any ideas what i am missing?

here is my config portion

               if (is_method("INVITE") and $si == "fsip" and $sp == 5060) {
                xlog("$si is");
                if (!mid_registrar_lookup("location")) {
                        t_reply(404, "Not Found");
                        exit;
                }

                if (!t_relay())
                        send_reply(500, "Server Internal Error 3");

            exit;
        }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20201118/8b890adf/attachment.html>


More information about the Users mailing list