[OpenSIPS-Users] mid_registrar and Asterisk: OPTIONS

Liviu Chircu liviu at opensips.org
Wed Jun 27 03:50:53 EDT 2018


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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list