I will really appreciate your help…
I’m experiencing a problem when I set up TLS on my asterisk.
The scenario goes like this:
-The Asterisk is behind NAT.
-Phone A is in the same network as the Asterisk server.
-Phone B is directly connected to internet and has a public ip address.
I can call from A to B and from B to A. I have two-way audio. Everything works fine.
If phone B hangs up, phone A gets automatically disconnected from the call (that’s ok, isn’t it? )
The problem happens if phone A is the one who hangs up. In such a case, phone B remains connected.
If I change the setup to TCP, everything works fine. It doesn’t matter what phone hangs up first, both get disconnected.
For simplicity and troubleshooting, I disabled the firewall on the server, and setup the router to forward every port to the Asterisk server. This is a testing environment.
The following is the basic configuration of the server pjsip.conf
external_media_address=181.X.X.X (intentionally removed )
external_signaling_address=181.X.X.X (intentionally removed )
Also, I have another question… may be I should post it on a new topic… but… Is there any equivalence to the “externhost” parameter? I need something like that to use it on pjsip.conf.