Hi Alexey!

This is a nice solution, and it may be the only way to go.  I was thinking of something around the usage of the Path header, but the mid-registrar is a Contact mangling entity -- it logically follows that it will also have to perform an "un-mangle" operation for all requests directed to the Contacts it had previously sent out.

Best regards,

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 26.06.2018 09:31, Alexey Kazantsev via Users wrote:
Hi Alexey,
thank you for the response!

My collegue also gave an example some minutes ago,
the logic is alike:

if (is_method("OPTIONS") ) {
    if (mid_registrar_lookup("location")) {
        t_relay();
        exit;
    }
}


So, thanks to everybody, the problem is solved :)

-----------------------------------------------
BR, Alexey
http://alexeyka.zantsev.com/
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

Reply via email to