Hi, Amel!

Change the advertised address of your socket[1] using the ` AS PUBLIC_IP:PUBLIC_PORT` token.

[1] https://www.opensips.org/Documentation/Script-CoreParameters-3-2#toc67

Best regards,

Răzvan Crainea
OpenSIPS Core Developer / SIPhub CTO
http://www.opensips-solutions.com / https://www.siphub.com

On 8/11/23 14:19, [email protected] wrote:
Hello dear opensips community,

We are trying to implement the *B2B* with *TLS*, we have opensips installed in *docker*, with *netwrok bridge mode*.

We are facing a problem with *private Docker interface* : the« contact »in the invite is sent with the private docker adresse not the adress of the host machine.

We want a solution to change the « contact »field in the INVITEbecause we can't receive the ACKfrom the callee when the contact of opensips is a docker private adress.

This is an example of an INVITE with the  the public adress and  the container private adress :

INVITE sip:+Number;[email protected]:5061;user=phone;transport=udp SIP/2.0

Via: SIP/2.0/UDP *Public_Host_adress*:5060;branch=z9hG4bKa547.ede09bf3.0

To: <sip:+Number;tgrp=xxxxxx1@Public_Destination_adress:5061>

....

Contact: <*sip:Private_Container_adress*>

Hope my request is clear

Thank you very much

BR, Amel


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to