I just had a question about getting the latest code complied and released
in the RPMs.

I have been having trouble being able to put calls on hold or transferring
them. I've located the issue in the code. The issue seems to be that the
latest code isn't being complied into the latest stable RPMs.

The two versions are below:
The old code is here:
https://github.com/dhubler/sipxecs/blob/release-4.4/sipXbridge/src/main/java/org/sipfoundry/sipxbridge/CallControlManager.java


The new code is here:
http://sipxecs.sipfoundry.org/rep/sipXecs/main/sipXbridge/src/main/java/org/sipfoundry/sipxbridge/CallControlManager.java


The main difference that is causing my issue is in the method:
solicitSdpOfferFromPeerDialogResponse

It begins on line 2247 on the GIT site version. You'll have to just do a
simple search on the other site to find it, but the key issue is that the
following check was removed:
----------------------------------------------------------------

if ( Gateway.isStrictProtocolEnforcement() ) {
            if ( response.getContentLength().getContentLength() == 0 ) {
                logger.error("PROTOCOL ERROR -- Expecting a content
length != 0. Tearing down call! ");
                dialogContext.sendAck(response);
                b2bua.tearDown(Gateway.SIPXBRIDGE_USER,
ReasonCode.PROTOCOL_ERROR,
                "protocol error - SDP solicitation response with 0
length SDP.");
                return;
            }
----------------------------------------------------------------

I can confirm this is the issue because the error I get when the call
is dropped is exactly: "protocol error - SDP solicitation response
with 0 length SDP."


The question I have is how can I get an RPM built with this code for
32-bit CentOS 5. Do I have to create my own build environment or is it
available?


Thanks in advance.


Best Regards,

William

-- 
W. E. W. Russell
Director, Systems Intergration at incNETWORKS, Inc.
Work Phone # 732-508-2224

Active Alumni member of Sigma Lambda Beta International Fraternity, Inc.
Cell Phone # 732-744-6483
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to