We’re changing over from chan_sip because we continue to have Asterisk crashes when in our preferred configuration: TCP and non standard port for endpoint connectivity.
That said, as we’re testing, I’ve noticed calls placed to or from the popular Android softphone app, Zoiper, will not hangup. If the other endpoint hangs up, Zoiper thinks it’s still on a call. If Zoiper hangs up, the other enpoint does hangup, but Zoiper keeps saying “Hanging up” until you force quit the app.
I noticed DTMF default on server is RFC-4733, but Zoiper only has RFC-2833. There is SIP INFO numberic, SIP INFO symbolic, Inband, and disable as options on Zoiper. I’ve tried a few combinations of that, but no luck so far.
Is there another port other than the SIP signaling port I need to allow perhaps?
I don’t know whether this bug has ever been properly reported, or even whether it is in Asterisk or in pjsip (I’m reasonably certain that it is not in FreePBX).
If you are using a non-standard port for security reasons, reverting to port 5060 but with more restrictive firewall rules might be a workaround. Or, connect through a VPN so the endpoint does not appear to be behind NAT. Or, put the PBX on a public IP address.
Sorry that I don’t have a good solution. (With luck, your issue may be different from the above, in which case there may be an easy solution. Check the relevant headers for port 5060.)