[OpenSIPS-Users] mid_registrar and Asterisk: OPTIONS

volga629 at networklab.ca volga629 at networklab.ca
Tue Jun 26 20:07:22 EDT 2018


Hello Everyone,
In order to forward OPTIONS
In intial request do

        if(!is_method("REGISTER")) {
                record_route();
        }

volga629


On Tue, Jun 26, 2018 at 3:31 AM, Alexey Kazantsev via Users 
<users at lists.opensips.org> 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