[jitsi-issues] [JIRA] Created: (JITSI-1105) Jitsi discards incoming call INVITE even if FORCE_PROXY_BYPASS parameter is set to true

supercola80 (JIRA) jira-no-reply at java.net
Wed Jan 30 11:52:53 CET 2013


Jitsi discards incoming call INVITE even if FORCE_PROXY_BYPASS parameter is set to true
---------------------------------------------------------------------------------------

                 Key: JITSI-1105
                 URL: http://java.net/jira/browse/JITSI-1105
             Project: jitsi
          Issue Type: Bug
    Affects Versions: 1.0
         Environment: Tested on Linux ( debian 3.2.35) and windows 7.

            Reporter: supercola80


Jitsi discards incoming call INVITE even if FORCE_PROXY_BYPASS parameter is set to true

Test scenary:
-HA and load balanced Sip architecture (sipxecs platform) made up of three different servers within a unique sip domain (mydomain.org)
- sip messages are load balanced by DNS SRV and NAPTR records
- soft-phone's sip registrations are equally distributed on the three servers.
- FORCE_PROXY_BYPASS is set to true in Jitsi properties file.
- a gateway to connect to PSTN.

Test call flow:
Let's take two soft-phones that are registered on different sip servers. Let's
name SA a soft-phone registered on server A and SB a soft-phone
registered on server B.

1) SA calls SB: SA sends an INVITE message to proxy A which looks up the Sip
contact and relays the INVITE message to SB. SB should process INVITE
message but actually discards it.

2) Incoming call from PSTN to SB: according to DNS SRV records, gateway
routes calls equally to server A, server B or server C. SB processes the INVITE
message only if it is routed by server B.

This behaviour is due to "filterByAddress" function on line 825 in SipStackSharing.java source code  (http://massapi.com/source/jitsi/src/net/java/sip/communicator/impl/protocol/sip/SipStackSharing.java.html).
This function should not be executed when FORCE_PROXY_BYPASS is set to true.

So I suggest two changes:
- Add a check on FORCE_PROXY_BYPASS parameter before executing "filterByAddress" function
- Users should be able to set FORCE_PROXY_BYPASS parameter also through GUI (maybe in advanced SIP option)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        




More information about the issues mailing list