I am using Sipek in Windows Service, I receive same exception i.e. System.AccessViolationException at CallManager.onUserTransfer, CallManager.onUserRelease, CallManager.onUserTransfer etc.
An unhandled exception of type 'System.AccessViolationException' occurred in SipekSdk.dll
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
having stack trace
at Sipek.Sip.pjsipCallProxy.dll_serviceReq(Int32 callId, Int32 serviceCode, String destUri)
at Sipek.Sip.pjsipCallProxy.serviceRequest(Int32 code, String dest)
at Sipek.Common.CallControl.CIncomingState.xferCall(String number)
at Sipek.Common.CallControl.CCallManager.onUserTransfer(Int32 session, String number)
at Call_Service.Phone.CallTransfer(String otherDn, Boolean complete) in D:\Call_Service\Call_Service\Call_Service\Phone.cs:line 529
at Call_Service.Phone.blindtransferCall(String extension) in D:\Call_Service\Call_Service\Call_Service\Phone.cs:line 564
at Call_Service.Phone.Do() in D:\Call_Service\Call_Service\Call_Service\Phone.cs:line 1901
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()