Freswitch closes UDP port after OPTIONS with TLS?
Hello, I have the following problem: Every call stops after 30 seconds when TLS is enabled. SIP/RTP and SIP/SRTP works but not TLS/SRTP. The phones are behind NAT. So I expect, that every 30 seconds an Options request is sent. Wiresharking the traffic I can see * that there are ongoing UDP packets. * Then a TSLv1 packet ist sent from FS to the Phone. * This is acknowleged by the phone * Next the phone send another UDP packet to the same FS port as before * Then the Phone receives an ICMP request that the FS port is closed. Anybody has a clue about this? Best regards Peter
Some additions: TLS/RTP instead of SRTP does also not work. There are no logs on the debug console except the message that the call is being terminated 2009-07-02 12:06:45.252177 [DEBUG] sofia.c:3100 Channel sofia/internal/835333@sip.mydomain.de entering state [terminating][0] and later cause: NORMAL_UNSPECIFIED Best regards Peter Peter P GMX schrieb:
Hello,
I have the following problem: Every call stops after 30 seconds when TLS is enabled. SIP/RTP and SIP/SRTP works but not TLS/SRTP. The phones are behind NAT. So I expect, that every 30 seconds an Options request is sent.
Wiresharking the traffic I can see
* that there are ongoing UDP packets. * Then a TSLv1 packet ist sent from FS to the Phone. * This is acknowleged by the phone * Next the phone send another UDP packet to the same FS port as before * Then the Phone receives an ICMP request that the FS port is closed.
Anybody has a clue about this?
Best regards Peter
If its TLS you don't need options packets in the first place. Your client should do the keep alive NOT FreeSWITCH. TLS is over TCP and Options over UDP... doesn't make much sense. /b On Jul 2, 2009, at 6:11 AM, Peter P GMX wrote:
Hello,
I have the following problem: Every call stops after 30 seconds when TLS is enabled. SIP/RTP and SIP/SRTP works but not TLS/SRTP. The phones are behind NAT. So I expect, that every 30 seconds an Options request is sent.
Wiresharking the traffic I can see
* that there are ongoing UDP packets. * Then a TSLv1 packet ist sent from FS to the Phone. * This is acknowleged by the phone * Next the phone send another UDP packet to the same FS port as before * Then the Phone receives an ICMP request that the FS port is closed.
Anybody has a clue about this?
Best regards Peter
Hello Brian, ok, I got it. Any other idea why the UDP port is closed after the TLS packet? Best regards Peter Brian West schrieb:
If its TLS you don't need options packets in the first place. Your client should do the keep alive NOT FreeSWITCH. TLS is over TCP and Options over UDP... doesn't make much sense.
/b
On Jul 2, 2009, at 6:11 AM, Peter P GMX wrote:
Hello,
I have the following problem: Every call stops after 30 seconds when TLS is enabled. SIP/RTP and SIP/SRTP works but not TLS/SRTP. The phones are behind NAT. So I expect, that every 30 seconds an Options request is sent.
Wiresharking the traffic I can see
* that there are ongoing UDP packets. * Then a TSLv1 packet ist sent from FS to the Phone. * This is acknowleged by the phone * Next the phone send another UDP packet to the same FS port as before * Then the Phone receives an ICMP request that the FS port is closed.
Anybody has a clue about this?
Best regards Peter
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Brian West
-
Peter P GMX