currently I am testing the Jitsi sip client together with Kamailio SIP
server. The UDP and TCP works fine, but I have the problem to use TLS. In
TLS, when Jitsi send the SIP Request to SIP Server Kamailio, it always set
it's Contact's port to 5061 instead of the port which is being used to
connect to Kamailio. That causes the problem when Kamailio need to send the
message to Jitsi becuase it needs the Kamailio SIP server open a new TLS
connect as a SSL client to connect to the Jitsi (as SSL Server) and fails.
For some SIP message, this can be fixed by hacking in the configuration of
Kamailio to force the server to use the received port of Jistsi to delivery
the messages to Jitsi client, but it's not always ok. For example for the
ACK of the audio/video call. I think this could be a bug ofg Jitsi. Can you
fix it please?
While I configure Jitsi to use TCP, it always set the Contact's port of its
Request to the port currently used to connect to the SIP server kamailio.
Everything works wells w even it's behind of Firewall/NAT.
Thanks in advanced!