Hi, Yohann!
Is there a hard requirement for this? I am asking because the module
explicitly removes it if it is the default port, as
Contact: <sip:xxxxxxxxx...@xxx.yyy.zzz.aaa;xyz=4f2.8a0a3952>
and Contact: <sip:xxxxxxxxx...@xxx.yyy.zzz.aaa:5060;xyz=4f2.8a0a3952>
are 100% equivalent.
You might be able to achieve this if you're using the
set_advertised_port() function[1] before calling topology_hiding(). I
haven't tested this, but it just might work.
[1] https://www.opensips.org/Documentation/Script-CoreFunctions-2-4#toc46
Best regards,
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 8/7/20 4:36 PM, Yohann Poilvert wrote:
Hi all,
I don't find where I can add the port in the contact header after
topology_hiding().
Contact header after topology_hiding() :
Contact: <sip:xxxxxxxxx...@xxx.yyy.zzz.aaa;xyz=4f2.8a0a3952>
Contact header before topology_hiding() :
Contact: <sip:xxxxxxxxx...@xxx.yyy.zzz.aaa:5060>
It missed the port after topology_hiding... Can you help me ?
Thank's
Regards
Yohann Poilvert
_______________________________________________
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