[OpenSIPS-Users] topology_hiding and contact port
razvan at opensips.org
Thu Aug 27 07:44:20 EST 2020
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:XXXXXXXXXXXX at XXX.YYY.ZZZ.AAA;xyz=4f2.8a0a3952>
and Contact: <sip:XXXXXXXXXXXX at 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 before calling topology_hiding(). I
haven't tested this, but it just might work.
OpenSIPS Core Developer
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
> Contact header after topology_hiding() :
> Contact: <sip:XXXXXXXXXXXX at XXX.YYY.ZZZ.AAA;xyz=4f2.8a0a3952>
> Contact header before topology_hiding() :
> Contact: <sip:XXXXXXXXXXXX at XXX.YYY.ZZZ.AAA:5060>
> It missed the port after topology_hiding... Can you help me ?
> Yohann Poilvert
> Users mailing list
> Users at lists.opensips.org
More information about the Users