<div>Nope, this is if you want to manually write the complete record route header, instead of calling record_route(). <br><div class="gmail_quote"><div>On Sat, Apr 1, 2017 at 12:52 AM Satish Patel <<a href="mailto:satish.txt@gmail.com">satish.txt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Does this work if i use record_route_preset without PORT number<br class="gmail_msg">
specify and let SER decide which is the best port to use?<br class="gmail_msg">
<br class="gmail_msg">
something like this, without PORT specify<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
record_route_preset("62.32.212.10;nat=yes");<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
On Fri, Mar 31, 2017 at 4:00 AM, Aqs Younas <<a href="mailto:aqsyounas@gmail.com" class="gmail_msg" target="_blank">aqsyounas@gmail.com</a>> wrote:<br class="gmail_msg">
> This might help you.<br class="gmail_msg">
> <a href="http://www.opensips.org/html/docs/modules/2.2.x/rr.html#id293864" rel="noreferrer" class="gmail_msg" target="_blank">http://www.opensips.org/html/docs/modules/2.2.x/rr.html#id293864</a><br class="gmail_msg">
><br class="gmail_msg">
> On 31 March 2017 at 06:31, Satish Patel <<a href="mailto:satish.txt@gmail.com" class="gmail_msg" target="_blank">satish.txt@gmail.com</a>> wrote:<br class="gmail_msg">
>><br class="gmail_msg">
>> is there a way i can re-write record-route port number?<br class="gmail_msg">
>><br class="gmail_msg">
>> On Wed, Mar 29, 2017 at 6:29 PM, Alex Balashov<br class="gmail_msg">
>> <<a href="mailto:abalashov@evaristesys.com" class="gmail_msg" target="_blank">abalashov@evaristesys.com</a>> wrote:<br class="gmail_msg">
>> > Record-Route headers contain URIs, and like any SIP URI, they can<br class="gmail_msg">
>> > contain a port component. If that port component is omitted, 5060 is<br class="gmail_msg">
>> > presumed.<br class="gmail_msg">
>> ><br class="gmail_msg">
>> > On March 29, 2017 6:27:30 PM EDT, Satish Patel <<a href="mailto:satish.txt@gmail.com" class="gmail_msg" target="_blank">satish.txt@gmail.com</a>><br class="gmail_msg">
>> > wrote:<br class="gmail_msg">
>> >>what is the use of port number in record-route?<br class="gmail_msg">
>> >><br class="gmail_msg">
>> >>I am having major issue with that look like we are running sip server<br class="gmail_msg">
>> >>on different port to protect ourself from sip scanner we are using<br class="gmail_msg">
>> >>non-standard port like 6060/7070 multiple port on single server so it<br class="gmail_msg">
>> >>will failover to other port if firewall block them.<br class="gmail_msg">
>> >><br class="gmail_msg">
>> >>I am seeing record-route adding first port in listen: directive for<br class="gmail_msg">
>> >>example<br class="gmail_msg">
>> >><br class="gmail_msg">
>> >>listen=udp:x.x.x.x:7070 udp:x.x.x.x:7070 udp:x.x.x.x:5062<br class="gmail_msg">
>> >><br class="gmail_msg">
>> >>In this case my record-route always using 7070 in header default<br class="gmail_msg">
>> >>recordless request coming on 5062.<br class="gmail_msg">
>> >><br class="gmail_msg">
>> >>I found one more issue here someone posted while ago<br class="gmail_msg">
>> >><br class="gmail_msg">
>><br class="gmail_msg">
>> >> >><a href="https://lists.cs.columbia.edu/pipermail/sip-implementors/2001-March/000601.html" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.cs.columbia.edu/pipermail/sip-implementors/2001-March/000601.html</a><br class="gmail_msg">
>> >><br class="gmail_msg">
>> >>_______________________________________________<br class="gmail_msg">
>> >>Users mailing list<br class="gmail_msg">
>> >><a href="mailto:Users@lists.opensips.org" class="gmail_msg" target="_blank">Users@lists.opensips.org</a><br class="gmail_msg">
>> >><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br class="gmail_msg">
>> ><br class="gmail_msg">
>> ><br class="gmail_msg">
>> > -- Alex<br class="gmail_msg">
>> ><br class="gmail_msg">
>> > --<br class="gmail_msg">
>> > Principal, Evariste Systems LLC (<a href="http://www.evaristesys.com" rel="noreferrer" class="gmail_msg" target="_blank">www.evaristesys.com</a>)<br class="gmail_msg">
>> ><br class="gmail_msg">
>> > Sent from my Google Nexus.<br class="gmail_msg">
>> ><br class="gmail_msg">
>> > _______________________________________________<br class="gmail_msg">
>> > Users mailing list<br class="gmail_msg">
>> > <a href="mailto:Users@lists.opensips.org" class="gmail_msg" target="_blank">Users@lists.opensips.org</a><br class="gmail_msg">
>> > <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br class="gmail_msg">
>><br class="gmail_msg">
>> _______________________________________________<br class="gmail_msg">
>> Users mailing list<br class="gmail_msg">
>> <a href="mailto:Users@lists.opensips.org" class="gmail_msg" target="_blank">Users@lists.opensips.org</a><br class="gmail_msg">
>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> _______________________________________________<br class="gmail_msg">
> Users mailing list<br class="gmail_msg">
> <a href="mailto:Users@lists.opensips.org" class="gmail_msg" target="_blank">Users@lists.opensips.org</a><br class="gmail_msg">
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br class="gmail_msg">
><br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
Users mailing list<br class="gmail_msg">
<a href="mailto:Users@lists.opensips.org" class="gmail_msg" target="_blank">Users@lists.opensips.org</a><br class="gmail_msg">
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br class="gmail_msg">
</blockquote></div></div>