[OpenSIPS-Users] Need to configure CIDR range on dr_gateways table .

Răzvan Crainea razvan at opensips.org
Thu Oct 15 09:01:44 EST 2020


Unfortunately you cannot ignore port only for specific gateways.

Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 9/16/20 10:32 AM, Sasmita Panda wrote:
> 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 at lists.opensips.org <mailto:users at 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 at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 



More information about the Users mailing list