I have found that the current source in
'http://scm.sipfoundry.org/rep/sipX/main' does not build in Visual Studio
2005 due to several problems. 

The first is a missing return value in a
non-void function. This can be fixed with the following patch: 

Index:
C:/Work/sipXtapi-3.3/sipXcallLib/src/cp/CpPeerCall.cpp
===================================================================
---
C:/Work/sipXtapi-3.3/sipXcallLib/src/cp/CpPeerCall.cpp (revision
11758)
+++ C:/Work/sipXtapi-3.3/sipXcallLib/src/cp/CpPeerCall.cpp (working
copy)
@@ -3304,6 +3304,7 @@
 new MediaStreamPassThroughData(mediaType,
mediaTypeStreamIndex,
 mediaRecieveAddress, rtpPort, rtcpPort);
 }
+ return
true ;
 }

 // Handles the processing of a CP_TRANSFER_OTHER_PARTY_HOLD
message 

The next problem is missing '#ifdef VIDEO' statements which can
be fixed with the following patch: 

Index:
C:/Work/sipXtapi-3.3/sipXmediaAdapterLib/sipXmediaMediaProcessing/src/CpTopologyGraphInterface.cpp
===================================================================
---
C:/Work/sipXtapi-3.3/sipXmediaAdapterLib/sipXmediaMediaProcessing/src/CpTopologyGraphInterface.cpp
(revision 11758)
+++
C:/Work/sipXtapi-3.3/sipXmediaAdapterLib/sipXmediaMediaProcessing/src/CpTopologyGraphInterface.cpp
(working copy)
@@ -911,10 +911,12 @@
 switch(mediaType)
 {
 case
VIDEO_STREAM:
+#ifdef VIDEO
 mediaConnection->mVideoPassThroughEnabled =
TRUE;
 mediaConnection->mRtpVideoReceivePort = rtpPort;

mediaConnection->mRtcpVideoReceivePort = rtcpPort;
 status =
OS_SUCCESS;
+#endif
 break;

 default: 

The third problem is function and
variable declarations in class UtlCopyableContainable in
sipXportLib/include/utl/UtlCopyableContainable.h with no definitions. 

The
declarations are: 

 static const UtlContainableType TYPE; /** < Class type
used for runtime checking */ 

 UtlCopyableContainable(); 

 virtual
~UtlCopyableContainable(); 

 virtual UtlContainableType
getContainableType() const; 

 virtual UtlBoolean isInstanceOf(const
UtlContainableType type) const; 

These are unresolved at link time because
there are no definitions for any of them. Did someone create a new file
(maybe called UtlCopyableContainable.cpp) and forget to add that to the
repository? 

Regards,
Simon 

 
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to