Could anyone help guide me to the correct Event Socket Libraries for Freeswitch with .NET (C#)? I see several projects that are incomplete and Visual Studio project in the source under /libs/esl/managed. But I cannot get this to compile. Is there any documentation on ESL for .NET that someone could share ? Thank You. -- Tony Bourdeaux
I had this question as well a few months back. Someone posted a link to the precompiled DLL’s, but I can’t find the thread anymore ☹. As for documentation. I always use: https://wiki.freeswitch.org/wiki/Event_Socket_Library https://wiki.freeswitch.org/wiki/Mod_event_socket https://wiki.freeswitch.org/wiki/Event_Socket_Outbound From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Tony Bourdeaux Sent: Monday, October 27, 2014 4:26 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] ESL and Event Socket for .NET Could anyone help guide me to the correct Event Socket Libraries for Freeswitch with .NET (C#)? I see several projects that are incomplete and Visual Studio project in the source under /libs/esl/managed. But I cannot get this to compile. Is there any documentation on ESL for .NET that someone could share ? Thank You. -- Tony Bourdeaux
Here ya go. http://download.drknetworking.com/eslmanaged.zip <http://download.drknetworking.com/eslmanaged.zip> Ira Tessler ira@connectmevoice.com
On Oct 28, 2014, at 5:27 AM, Grant Bagdasarian <GB@cm.nl> wrote:
I had this question as well a few months back. Someone posted a link to the precompiled DLL’s, but I can’t find the thread anymore L.
As for documentation. I always use: https://wiki.freeswitch.org/wiki/Event_Socket_Library <https://wiki.freeswitch.org/wiki/Event_Socket_Library> https://wiki.freeswitch.org/wiki/Mod_event_socket <https://wiki.freeswitch.org/wiki/Mod_event_socket> https://wiki.freeswitch.org/wiki/Event_Socket_Outbound <https://wiki.freeswitch.org/wiki/Event_Socket_Outbound>
From: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>] On Behalf Of Tony Bourdeaux Sent: Monday, October 27, 2014 4:26 PM To: freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] ESL and Event Socket for .NET
Could anyone help guide me to the correct Event Socket Libraries for Freeswitch with .NET (C#)?
I see several projects that are incomplete and Visual Studio project in the source under /libs/esl/managed. But I cannot get this to compile.
Is there any documentation on ESL for .NET that someone could share ?
Thank You.
-- Tony Bourdeaux <>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
Thank you On Tue, Oct 28, 2014 at 7:58 AM, Ira Tessler <ira@connectmevoice.com> wrote:
Here ya go.
http://download.drknetworking.com/eslmanaged.zip
Ira Tessler ira@connectmevoice.com
On Oct 28, 2014, at 5:27 AM, Grant Bagdasarian <GB@cm.nl> wrote:
I had this question as well a few months back. Someone posted a link to the precompiled DLL’s, but I can’t find the thread anymore L.
As for documentation. I always use: https://wiki.freeswitch.org/wiki/Event_Socket_Library https://wiki.freeswitch.org/wiki/Mod_event_socket https://wiki.freeswitch.org/wiki/Event_Socket_Outbound
*From:* freeswitch-users-bounces@lists.freeswitch.org [ mailto:freeswitch-users-bounces@lists.freeswitch.org <freeswitch-users-bounces@lists.freeswitch.org>] *On Behalf Of *Tony Bourdeaux *Sent:* Monday, October 27, 2014 4:26 PM *To:* freeswitch-users@lists.freeswitch.org *Subject:* [Freeswitch-users] ESL and Event Socket for .NET
Could anyone help guide me to the correct Event Socket Libraries for Freeswitch with .NET (C#)?
I see several projects that are incomplete and Visual Studio project in the source under /libs/esl/managed. But I cannot get this to compile.
Is there any documentation on ESL for .NET that someone could share ?
Thank You.
-- Tony Bourdeaux
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Tony Bourdeaux *Intelecenter, LLC* ph: 805-428-3031 Skype: tony.bourdeaux "This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify me by reply e-mail and immediately and permanently delete this message and any attachments."
I just noticed I skipped over this post. Those are REALLY OLD. I can see about building new ones. However the build problems have been fixed, and the sln/vcprj files in the repo work out of the box now. --Dave From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Ira Tessler Sent: Tuesday, October 28, 2014 10:58 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] ESL and Event Socket for .NET Here ya go. http://download.drknetworking.com/eslmanaged.zip Ira Tessler ira@connectmevoice.com On Oct 28, 2014, at 5:27 AM, Grant Bagdasarian <GB@cm.nl> wrote: I had this question as well a few months back. Someone posted a link to the precompiled DLL’s, but I can’t find the thread anymore L. As for documentation. I always use: https://wiki.freeswitch.org/wiki/Event_Socket_Library https://wiki.freeswitch.org/wiki/Mod_event_socket https://wiki.freeswitch.org/wiki/Event_Socket_Outbound From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Tony Bourdeaux Sent: Monday, October 27, 2014 4:26 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] ESL and Event Socket for .NET Could anyone help guide me to the correct Event Socket Libraries for Freeswitch with .NET (C#)? I see several projects that are incomplete and Visual Studio project in the source under /libs/esl/managed. But I cannot get this to compile. Is there any documentation on ESL for .NET that someone could share ? Thank You. -- Tony Bourdeaux _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Dave- thanks- I was able to build from the source projects- thanks again for responding and for your help! On Fri, Oct 31, 2014 at 7:49 AM, Dave Kompel <drk@drkngs.net> wrote:
I just noticed I skipped over this post. Those are REALLY OLD. I can see about building new ones. However the build problems have been fixed, and the sln/vcprj files in the repo work out of the box now.
--Dave
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Ira Tessler *Sent:* Tuesday, October 28, 2014 10:58 AM *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] ESL and Event Socket for .NET
Here ya go.
http://download.drknetworking.com/eslmanaged.zip
Ira Tessler
ira@connectmevoice.com
On Oct 28, 2014, at 5:27 AM, Grant Bagdasarian <GB@cm.nl> wrote:
I had this question as well a few months back. Someone posted a link to the precompiled DLL’s, but I can’t find the thread anymore L.
As for documentation. I always use:
https://wiki.freeswitch.org/wiki/Event_Socket_Library
https://wiki.freeswitch.org/wiki/Mod_event_socket
https://wiki.freeswitch.org/wiki/Event_Socket_Outbound
*From:* freeswitch-users-bounces@lists.freeswitch.org [ mailto:freeswitch-users-bounces@lists.freeswitch.org <freeswitch-users-bounces@lists.freeswitch.org>] *On Behalf Of *Tony Bourdeaux *Sent:* Monday, October 27, 2014 4:26 PM *To:* freeswitch-users@lists.freeswitch.org *Subject:* [Freeswitch-users] ESL and Event Socket for .NET
Could anyone help guide me to the correct Event Socket Libraries for Freeswitch with .NET (C#)?
I see several projects that are incomplete and Visual Studio project in the source under /libs/esl/managed. But I cannot get this to compile.
Is there any documentation on ESL for .NET that someone could share ?
Thank You.
--
Tony Bourdeaux
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Tony Bourdeaux *Intelecenter, LLC* ph: 805-428-3031 Skype: tony.bourdeaux "This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify me by reply e-mail and immediately and permanently delete this message and any attachments."
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@connectmevoice.com
On Oct 31, 2014, at 2:27 PM, Tony Bourdeaux <tony@intelecenter.com> wrote:
Dave-
thanks- I was able to build from the source projects- thanks again for responding and for your help!
On Fri, Oct 31, 2014 at 7:49 AM, Dave Kompel <drk@drkngs.net <mailto:drk@drkngs.net>> wrote: I just noticed I skipped over this post. Those are REALLY OLD. I can see about building new ones. However the build problems have been fixed, and the sln/vcprj files in the repo work out of the box now.
--Dave
From: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>] On Behalf Of Ira Tessler Sent: Tuesday, October 28, 2014 10:58 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] ESL and Event Socket for .NET
Here ya go.
http://download.drknetworking.com/eslmanaged.zip <http://download.drknetworking.com/eslmanaged.zip>
Ira Tessler
ira@connectmevoice.com <mailto:ira@connectmevoice.com>
On Oct 28, 2014, at 5:27 AM, Grant Bagdasarian <GB@cm.nl <mailto:GB@cm.nl>> wrote:
I had this question as well a few months back. Someone posted a link to the precompiled DLL’s, but I can’t find the thread anymore L.
As for documentation. I always use:
https://wiki.freeswitch.org/wiki/Event_Socket_Library <https://wiki.freeswitch.org/wiki/Event_Socket_Library> https://wiki.freeswitch.org/wiki/Mod_event_socket <https://wiki.freeswitch.org/wiki/Mod_event_socket> https://wiki.freeswitch.org/wiki/Event_Socket_Outbound <https://wiki.freeswitch.org/wiki/Event_Socket_Outbound>
From: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>] On Behalf Of Tony Bourdeaux Sent: Monday, October 27, 2014 4:26 PM To: freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] ESL and Event Socket for .NET
Could anyone help guide me to the correct Event Socket Libraries for Freeswitch with .NET (C#)?
I see several projects that are incomplete and Visual Studio project in the source under /libs/esl/managed. But I cannot get this to compile.
Is there any documentation on ESL for .NET that someone could share ?
Thank You.
--
Tony Bourdeaux <>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
-- Tony Bourdeaux <> Intelecenter, LLC <> ph: 805-428-3031 Skype: tony.bourdeaux
"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify me by reply e-mail and immediately and permanently delete this message and any attachments."
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@connectmevoice.com<mailto:ira@connectmevoice.com>
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@connectmevoice.com
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@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@connectmevoice.com<mailto:ira@connectmevoice.com>
Is it built against the debug c runtime lib?
On Feb 24, 2015, at 3:19 AM, Grant Bagdasarian <GB@cm.nl> wrote:
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 <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 L.
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@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@connectmevoice.com <mailto:ira@connectmevoice.com>
I fixed it. The ESL.DLL library was being loaded just fine but the MSVCR110.DLL could not be found, which is apparently used by the ESL.DLL. Make sure to install the Visual C++ Redistributable for Visual Studio 2012 Update 4. http://www.microsoft.com/en-us/download/details.aspx?id=30679 ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Michael Jerris <mike@jerris.com> Sent: Tuesday, February 24, 2015 6:00 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] ESL and Event Socket for .NET Is it built against the debug c runtime lib? On Feb 24, 2015, at 3:19 AM, Grant Bagdasarian <GB@cm.nl<mailto:GB@cm.nl>> wrote: 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@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@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@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@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@connectmevoice.com<mailto:ira@connectmevoice.com>
thank you On Tue, Oct 28, 2014 at 2:27 AM, Grant Bagdasarian <GB@cm.nl> wrote:
I had this question as well a few months back. Someone posted a link to the precompiled DLL’s, but I can’t find the thread anymore L.
As for documentation. I always use:
https://wiki.freeswitch.org/wiki/Event_Socket_Library
https://wiki.freeswitch.org/wiki/Mod_event_socket
https://wiki.freeswitch.org/wiki/Event_Socket_Outbound
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Tony Bourdeaux *Sent:* Monday, October 27, 2014 4:26 PM *To:* freeswitch-users@lists.freeswitch.org *Subject:* [Freeswitch-users] ESL and Event Socket for .NET
Could anyone help guide me to the correct Event Socket Libraries for Freeswitch with .NET (C#)?
I see several projects that are incomplete and Visual Studio project in the source under /libs/esl/managed. But I cannot get this to compile.
Is there any documentation on ESL for .NET that someone could share ?
Thank You.
--
Tony Bourdeaux
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Tony Bourdeaux *Intelecenter, LLC* ph: 805-428-3031 Skype: tony.bourdeaux "This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify me by reply e-mail and immediately and permanently delete this message and any attachments."
participants (7)
-
Bote Man
-
Dave Kompel
-
Grant Bagdasarian
-
Grant Bagdasarian
-
Ira Tessler
-
Michael Jerris
-
Tony Bourdeaux