There was an issue configuring TLS encryption port listening

I plan to enable TLS encryption ports for the SIP service of FreePBX for making VoIP calls directly on the public network. However, I encountered an issue during configuration. The TLS encryption port section in the pjsip.transports configuration file defaults to only listen to all IPv4 ports, but I want port 5061 to work directly on both IPv4 and IPv6 protocols to make up for the low IPv6 activation rate in my region, According to the Google search engine, it was found that 0.0.0.0:5061 can be changed to [:]: 5061, but doing so will cause another problem: the original IPv4 will no longer listen,
So can I ask everyone how to solve this tricky problem correctly?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.