Hi all,
I'm having a problem where calls are dropped after 30 seconds, even though 2 way audio is working. I suspect it's somehow a NAT issue, and by doing a siptrace I was able to determine that the call is being dropped due to no ACK being sent by the external handset. I can't figure out why this is though.
My setup consists of freeswitch behind an Opnsense (basically pfsense) router/firewall, it has a private IP (10.1.1.5) and I've setup port forwarding (image attached). I am not using a SIP ALG proxy.
I also defined a RTP range (16384-32768) in my port forwards, and defined this in both (internal and external5090) sofia profiles.
There are some handsets on the LAN of freeswitch which use the internal profile, and others elsewhere on the internet (such as on cell phones) which use the external5090 profile (though if they join the local wifi then they will use the internal profile).
For the external5090 profile I have hardcoded the public IP for the ext-sip-ip & ext-rtp-ip variables.
Calls between handsets on either profile provides 2 way audio.
My problem is that when a handset on the external5090 profile calls a handset on the internal profile, the call drops after 30 seconds.
If the internal handset calls the external handset then everything works fine.
Additionally, if the external5090 handset hangsup the call before the 30 second drop, the call is not terminated and the internal handset remains connected. However if the internal handset hangsup first, then the call terminates normally on both ends.
I suspect both these issues are caused by the same underlying NAT issue.
I have tried both using and not using STUN on the external handsets, it makes no difference.
For my testing I am using the Linphone client on a Linux desktop, and the GS Wave Android client.
I have attached a log of an external handset (11) calling an internal handset (10), which gets dropped after 30 seconds.
I have replaced sensitive ip/host addresses in the log.
Any help or direction would be much appreciated ^_^
Thanks
I'm having a problem where calls are dropped after 30 seconds, even though 2 way audio is working. I suspect it's somehow a NAT issue, and by doing a siptrace I was able to determine that the call is being dropped due to no ACK being sent by the external handset. I can't figure out why this is though.
My setup consists of freeswitch behind an Opnsense (basically pfsense) router/firewall, it has a private IP (10.1.1.5) and I've setup port forwarding (image attached). I am not using a SIP ALG proxy.
I also defined a RTP range (16384-32768) in my port forwards, and defined this in both (internal and external5090) sofia profiles.
There are some handsets on the LAN of freeswitch which use the internal profile, and others elsewhere on the internet (such as on cell phones) which use the external5090 profile (though if they join the local wifi then they will use the internal profile).
For the external5090 profile I have hardcoded the public IP for the ext-sip-ip & ext-rtp-ip variables.
Calls between handsets on either profile provides 2 way audio.
My problem is that when a handset on the external5090 profile calls a handset on the internal profile, the call drops after 30 seconds.
If the internal handset calls the external handset then everything works fine.
Additionally, if the external5090 handset hangsup the call before the 30 second drop, the call is not terminated and the internal handset remains connected. However if the internal handset hangsup first, then the call terminates normally on both ends.
I suspect both these issues are caused by the same underlying NAT issue.
I have tried both using and not using STUN on the external handsets, it makes no difference.
For my testing I am using the Linphone client on a Linux desktop, and the GS Wave Android client.
I have attached a log of an external handset (11) calling an internal handset (10), which gets dropped after 30 seconds.
I have replaced sensitive ip/host addresses in the log.
Any help or direction would be much appreciated ^_^
Thanks