<div dir="auto">Hi , yes I got that latter and that works for me . <div dir="auto"><br></div><div dir="auto">Now I am wandring how I will ignore port for some perticular gateway but not all gateway . </div><div dir="auto"><br></div><div dir="auto">is_from_gw(3, "n") { </div><div dir="auto">------ do look up --- </div><div dir="auto">} </div><div dir="auto"><br></div><div dir="auto"> 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 . </div><div dir="auto"><br></div><div dir="auto">What should I do next ?? </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 16, 2020, 12:38 Alexey Kazantsev via Users <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div><div>Hi Sasmita,</div><div> </div><div>isn’t the ‘n’ option of the function what you need?</div><div> </div><div><a href="https://opensips.org/docs/modules/2.4.x/drouting.html#func_is_from_gw" target="_blank" rel="noreferrer">https://opensips.org/docs/modules/2.4.x/drouting.html#func_is_from_gw</a></div><div> </div><div><div><div>-----------------------------------------------<br><span style="font-size:15px">BR, Alexey</span><br style="font-size:15px"><span style="font-size:15px"><a href="http://alexeyka.zantsev.com/" target="_blank" rel="noreferrer">http://alexeyka.zantsev.com/</a></span></div></div></div><div> </div></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank" rel="noreferrer">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>