I’m running FreePBX 14 with Asterisk 13 (fully patched).
This FreePBX appliance is behind a Cisco ASA with the latest OS image.
Here are the setups that work.
1- SIP over TLS with standard port (5061)
2- SIP over TLS with non-standard port (31967*).
Initially there was an one-way audio issue, but after adding “externtlsport = 31967” under Asterisk Settings ==> Chan SIP Settings ==> Other SIP Settings, it worked wonders.
3- PJSIP over TLS with port 5161.
What does not work, where the endpoint won’t even register:
4- PJSIP over TLS with non-stardard port (31968*).
*Any random port.
Tested with a Sangoma Phone and Bria Mobile for iOS as remote/over the Internet endpoints.