Hallo,

I found that these arrays is not initialized.
int receiveRtpPorts[MAX_ADDRESS_CANDIDATES];
int receiveRtcpPorts[MAX_ADDRESS_CANDIDATES];
int receiveVideoRtpPorts[MAX_ADDRESS_CANDIDATES];
int receiveVideoRtcpPorts[MAX_ADDRESS_CANDIDATES];
so in RELEASE configuration it is not working properly, when ports value is
checking for > 0.
I found abnormal video ports value in SDP content of INVITE message. After I
add initialization, everything starts to work well.
For example Astrerisk shows error massage and call will be terminated.

int receiveRtpPorts[MAX_ADDRESS_CANDIDATES];
int receiveRtcpPorts[MAX_ADDRESS_CANDIDATES];
int receiveVideoRtpPorts[MAX_ADDRESS_CANDIDATES];
int receiveVideoRtcpPorts[MAX_ADDRESS_CANDIDATES];
//<JH+++21.06.2007>
for (int i = 0; i < MAX_ADDRESS_CANDIDATES; i ++)
{
    receiveRtpPorts[i] = receiveRtcpPorts[i] =
         receiveVideoRtpPorts[i] = receiveVideoRtcpPorts[i] = 0;
}
//</JH>

Best regards,
Jhorsh
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to