Hi , yes I got that latter and that works for me .

Now I am wandring how I will ignore port for some perticular gateway but
not all gateway .

is_from_gw(3, "n") {
------ do look up ---
}

 This says it will ignore ports of all the gateway . I want to allow only
one gtaeway ignoring the port by leaving the other as it is .

What should I do next ??

On Wed, Sep 16, 2020, 12:38 Alexey Kazantsev via Users <
users@lists.opensips.org> wrote:

> Hi Sasmita,
>
> isn’t the ‘n’ option of the function what you need?
>
> https://opensips.org/docs/modules/2.4.x/drouting.html#func_is_from_gw
>
> -----------------------------------------------
> BR, Alexey
> http://alexeyka.zantsev.com/
>
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to