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 <albertosgonz...@gmail.com <mailto:albertosgonz...@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
    <albertosgonz...@gmail.com <mailto:albertosgonz...@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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to