[OpenSIPS-Users] topology hiding in opensips
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Jan 24 06:52:30 EST 2017
Hi,
You can do TH with nathelper, BUT be sure to create the dialog + TH
AFTER doing the fix_nated_contact().
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 01/20/2017 12:42 PM, Alberto Gonzales wrote:
> We used instruction in the book, which states at the end of the
> paragraph this :
>
> Topology hiding limitations
> You cannot easily combine topology hiding with NAT traversal because
> both the
> processes mangle the Contact header. Topology hiding will not hide the
> address and
> other information contained in other headers such as the display in
> the From header.
> To change the From header, you can use the uac_replace_from() function.
>
> I think our problem comes from the fact that we are using nathelper
> and also an rtpproxy in our script.
>
> can anyone provide help about activating topology hiding along with
> nathelper ?
>
> thanks in advance.
>
>
> On Fri, Jan 20, 2017 at 10:14 AM, Alberto Gonzales
> <albertosgonzale at gmail.com <mailto:albertosgonzale at gmail.com>> wrote:
>
> I forgot to mention that doing this resulted in opensips crashing
> after 20 minutes :)
>
> On Fri, Jan 20, 2017 at 9:56 AM, Alberto Gonzales
> <albertosgonzale at gmail.com <mailto:albertosgonzale at gmail.com>> wrote:
>
> Hello grupo,
>
> We have configured topology hiding in opensips 2.2 this way :
>
> please confirm to us this is the only thing we need to do or
> is there anything else that needs to be added.
>
> route {
> ....
> ....
> if (has_totag()) {
> # sequential request withing a dialog should
> # take the path determined by record-routing
> #### remplazar : if (loose_route()) {
> if (topology_hiding_match()) {
>
> ...
> ...
> *## esconder topologia antes de pasar la llamada*
> topology_hiding("UC");
> route(RELAY);
> }
>
>
> also what could be a quick test to see if this hiding is
> working or not.
>
> thanks in advance.
>
> Alberto
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170124/f1f750c6/attachment.html>
More information about the Users
mailing list