I have problems using Jitsi with 3CX Phone System SIP server and their
The first one is that the 3CXPhone when used on LAN sometimes sends SIP
requests directly to destination instead of using proxy. That was causing
Jitsi to ignore "end call signals" which were sent directly to Jitsi. After
looking into the code I've found account property FORCE_PROXY_BYPASS which
fixed that case.
However it was rejecting INVITE signals that were sent directly.
This was caused by filtering out requests in SipStackSharing which come not
from the proxy. The method responsible method for that is
I've fixed this by exposing property "isForceProxyBypassEnabled" in
ProtocolProviderServiceSipImpl and adding a check for this condition in
method mentioned above, so now it looks like this:
if ( !candidate.getRegistrarConnection().isRegistrarless()
I'm attaching the patch. Please let me know what do you think about that.
forceLooseRouting.patch (1.55 KB)