Has anybody had any luck integrating both the latest versions of Platform and SIP Endpoint .NET SDKs into the same Visual Studio project? I'm having problems getting the different versions of the DLLs to work together.
I'm trying to modify the same QuickStart SIP phone example that comes with the SIP Endpoint SDK and on line 267:
this.endpoint = SipEndpoint.EndpointFactory.CreateSipEndpoint(this.endpointLogger);
I get an EntryPointNotFoundException. I don't get the error if I remove the this.endpointLogger argument but then I get a NullPointerReference when I try to run:
this.endpoint.BeginActivate();
- I'm using Windows 8 / Visual Studio 2012 and am aiming for an x86 build.
- SIP Endpoint 8.1.200.20, released 2013-Jun-14
- Platform SDK 8.1.300.50, released 2013-July-31
- I've added all the Platform SDK's DLLs into GAC, along with the Platform SDK DLLs in the SIP Endpoint SDK's Bin directory.
- The Genesyslab.Sip.Endpoint.Provider.Genesys.dll and Genesyslab.Sip.Endpoint.dll DLLs are copied to the QuickStart's output folder (Debug).
From what I can gather the DLLs shared in common by both SDKs but with different versions:
Genesyslab.Core.dll
Genesyslab.Platform.Commons.Collections.dll
Genesyslab.Platform.Commons.Connection.dll
Genesyslab.Platform.Commons.dll
Genesyslab.Platform.Commons.Protocols.dll
Genesyslab.Platform.Logging.dll
Genesyslab.Platform.Management.Protocols.dll
I've tried a bunch of various things like putting all DLLs into GAC, none in GAC, x86 and x64 settings, using only the latest version (the Platform SDK release) of the DLLs shared in common etc. but all I get are other exceptions like BadImageFormatException and FileNotFoundException.