Hi Bogdan,<div><br></div><div>I'd like to modify only the hostname (and port) part of the RURI, to put inside informations taken from the location table.</div><div><br></div><div>I've made it this afternoon, using a homemade perl script (which I'll be able to share tomorrow if needed)<span></span>, and it works well, but for the process to be perfect, I prefer if I can avoid the perl method, and only use Opensips's integrated methods ;-)</div>
<div><br></div><div>Thanks,</div><div><br></div><div>Best regards,</div><div><br></div><div>Kevin</div><div><br></div><div><br>Le jeudi 27 mars 2014, Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>> a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div><tt>Hi Kevin,<br>
<br>
Nothing is normal here, everything is strange, so..... :)<br>
<br>
You can modify any parts of the RURI, no problem - what exactly
part of it you want to change ? <br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
On 27.03.2014 12:31, Kevin Mathy wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi List,
<div><br>
</div>
<div>What I'm trying to do may be "strange" for some people, but
here is the situation :</div>
<div>I've got an OpenSIPS server, which do some ENUM requests to
route Incoming calls (from me, the provider, to the
customers).</div>
<div>It works well when my customer's endpoints are configured
with a public IP, without any NAT.</div>
<div><br>
</div>
<div>But, when those endpoints connect to my server through a
NAT router, I face a problem for incoming calls, as the port
used by endpoint isn't the same as the classical 5060.</div>
<div><br>
</div>
<div>So, my question is : is there a way to simply modify the
Request-URI obtained after an ENUM query, with the
informations inserted in the location table ? </div>
<div><br>
</div>
<div>I've got an idea on how to make it with a perl script, but
I prefer to not use this method, and to use only existant
modules of methods.</div>
<div><br>
</div>
<div>Thanks for your ideas</div>
<div><br>
</div>
<div>Kevin</div>
<div><br>
</div>
<div><br clear="all">
<div><b>
<div><span style="font-weight:normal">Bien cordialement, </span></div>
<div><span style="font-weight:normal">Best Regards, </span></div>
<div><span style="font-weight:normal"><br>
</span></div>
</b><b>Kevin MATHY</b> |<b> </b>Ingénieur VoIP<br>
<div>
<div><b><br>
</b></div>
</div>
</div>
</div>
</div>
<br>
<img src="http://www.hexanet.fr/sites/files/hexanet/files/20130205_signature_hexanet.gif"><br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="javascript:_e(%7B%7D,'cvml','Users@lists.opensips.org');" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br><br>-- <br><b><div><span style="font-weight:normal">Bien cordialement, </span></div><div><span style="font-weight:normal">Best Regards, </span></div><div><span style="font-weight:normal"><br></span></div>
</b><b>Kevin MATHY</b> |<b> </b>Ingénieur VoIP<br><div><div><b><br></b></div></div><br>
<br>
<img src="http://www.hexanet.fr/sites/files/hexanet/files/20130205_signature_hexanet.gif">