[Freeswitch-users] ESL and Event Socket for .NET

Grant Bagdasarian gb at cm.nl
Tue Feb 24 11:19:00 MSK 2015


I used procmon.exe to monitor the executable and which files it loads. It showed it loaded the ESL.DLL successfully.
I even made the user administrator on the server, but that didn’t work either.

After searching the internet for a while, I came across this: https://github.com/danbarua/NEventSocket
This guy made a pretty neat .NET API using Rx and no use of ManagedEsl, ESL.DLL. I didn’t know that was possible.
The ESL libraries have given me a lot of trouble ☹.

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Bote Man
Sent: Monday, February 23, 2015 3:30 PM
To: 'FreeSWITCH Users Help'
Subject: Re: [Freeswitch-users] ESL and Event Socket for .NET

My best guess is that it is a permissions problem, either the FS process can’t access the directory or the file itself.

Bote


From: Grant Bagdasarian
Sent: Monday, 23 February, 2015 06:24
Subject: Re: [Freeswitch-users] ESL and Event Socket for .NET

Hello,

This seems to be a very old thread, but I’m experiencing the same error like the one below.
I’m using the ManagedEsl and ESL.dll from 1.4.15. I’ve compiled both myself and they work on my development machine.
The application is contained in a Windows Service, and when installed on a production server as a Service, I get the same error “Unable to load DSLL ‘ESL’”….

I ran procmon.exe to see if the application executable could find the ESL.dll, and it could, so I don’t know why this error occurs.

Any ideas?

Grant

From: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ira Tessler
Sent: Friday, October 31, 2014 8:19 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] ESL and Event Socket for .NET

Dave -

Can you compile a new version? I tried with VS 2013 and get the following error when running my application:

System.TypeInitializationException: The type initializer for 'ESLPINVOKE' threw an exception. ---> System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'ESL': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
  at ESLPINVOKE.SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_ESL(ExceptionDelegate applicationDelegate, ExceptionDelegate arithmeticDelegate, ExceptionDelegate divideByZeroDelegate, ExceptionDelegate indexOutOfRangeDelegate, ExceptionDelegate invalidCastDelegate, ExceptionDelegate invalidOperationDelegate, ExceptionDelegate ioDelegate, ExceptionDelegate nullReferenceDelegate, ExceptionDelegate outOfMemoryDelegate, ExceptionDelegate overflowDelegate, ExceptionDelegate systemExceptionDelegate)
  at ESLPINVOKE.SWIGExceptionHelper..cctor()
  --- End of inner exception stack trace ---
  at ESLPINVOKE.SWIGExceptionHelper..ctor()
  at ESLPINVOKE..cctor()
  --- End of inner exception stack trace ---
  at ESLPINVOKE.new_ESLconnection__SWIG_3(String jarg1, String jarg2, String jarg3)
  at ESLconnection..ctor(String host, String port, String password)
  at CallRecordingEvent.PollEvents.InboundMode(String serverName, String eslPrivateIPAddress, String eslPort, String eslPassword) in c:\Users\ira\Source\Workspaces\Freeswitch\Freeswitch\CallRecordingEvent\PollEvents.cs:line 38

Ira Tessler
ira at connectmevoice.com<mailto:ira at connectmevoice.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150224/f56ad9a9/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list