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 <[email protected] <mailto:[email protected]>> 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
    [email protected] <mailto:[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


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

Reply via email to