Hi Im trying to connect to freeswitch via EslConnection .Connected is always 0 How can I know what the error is? I don't see anything in the freeswitch console on the server Via fs_gui I can connect no problem with the exact same credentials The code is what comes with managedesl, I only touched the creds Also I changed the build config to 64, if that makes a difference //Set log level ESL.eslSetLogLevel((int)enLogLevel.DEBUG); ESLconnection eslConnection = new ESLconnection("MYSERVER", "8021", "MYPASSWORD"); if (eslConnection.Connected() != ESL_SUCCESS) { Console.WriteLine("Error connecting to FreeSwitch"); return; } Thank you very much Sincerely, Yisroel M. Olewski CEO Machshevet.com +972 (52) 764-9971 Websites . CRM . ERP . Telephony . Inventory . Content Management
Hello, Did you change the password in /../autoload_configs/event_socket.conf.xml? -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Yisroel M. Olewski Sent: Wednesday, April 23, 2014 12:50 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] .net ESLConnection Error Hi Im trying to connect to freeswitch via EslConnection .Connected is always 0 How can I know what the error is? I don't see anything in the freeswitch console on the server Via fs_gui I can connect no problem with the exact same credentials The code is what comes with managedesl, I only touched the creds Also I changed the build config to 64, if that makes a difference //Set log level ESL.eslSetLogLevel((int)enLogLevel.DEBUG); ESLconnection eslConnection = new ESLconnection("MYSERVER", "8021", "MYPASSWORD"); if (eslConnection.Connected() != ESL_SUCCESS) { Console.WriteLine("Error connecting to FreeSwitch"); return; } Thank you very much Sincerely, Yisroel M. Olewski CEO Machshevet.com +972 (52) 764-9971 Websites . CRM . ERP . Telephony . Inventory . Content Management _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
Hi, thanks Yes, certainly, in C:\Program Files\FreeSWITCH\conf\autoload_configs And as I wrote in the original question, the password in itself is correct, since it is working correctly with fs_gui Any other ideas/suggestions? Sincerely, Yisroel M. Olewski CEO Machshevet.com +972 (52) 764-9971 Websites . CRM . ERP . Telephony . Inventory . Content Management -----Original Message----- From: Grant Bagdasarian [mailto:GB@cm.nl] Sent: Wednesday, April 23, 2014 2:03 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] .net ESLConnection Error Hello, Did you change the password in /../autoload_configs/event_socket.conf.xml? -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Yisroel M. Olewski Sent: Wednesday, April 23, 2014 12:50 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] .net ESLConnection Error Hi Im trying to connect to freeswitch via EslConnection .Connected is always 0 How can I know what the error is? I don't see anything in the freeswitch console on the server Via fs_gui I can connect no problem with the exact same credentials The code is what comes with managedesl, I only touched the creds Also I changed the build config to 64, if that makes a difference //Set log level ESL.eslSetLogLevel((int)enLogLevel.DEBUG); ESLconnection eslConnection = new ESLconnection("MYSERVER", "8021", "MYPASSWORD"); if (eslConnection.Connected() != ESL_SUCCESS) { Console.WriteLine("Error connecting to FreeSwitch"); return; } Thank you very much Sincerely, Yisroel M. Olewski CEO Machshevet.com +972 (52) 764-9971 Websites . CRM . ERP . Telephony . Inventory . Content Management _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
I remember having the same issue when I started working with managedEsl. If I remember correctly, I had also changed the password and tried connecting, but without success. What happens if you change the password back to ClueCon and try connecting with FS through ManagedESL again? -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Yisroel M. Olewski Sent: Wednesday, April 23, 2014 8:42 PM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] .net ESLConnection Error Hi, thanks Yes, certainly, in C:\Program Files\FreeSWITCH\conf\autoload_configs And as I wrote in the original question, the password in itself is correct, since it is working correctly with fs_gui Any other ideas/suggestions? Sincerely, Yisroel M. Olewski CEO Machshevet.com +972 (52) 764-9971 Websites . CRM . ERP . Telephony . Inventory . Content Management
Hi thanks I just tried but no luck Aside from trying to find the issue, which I appreciate your help, is there no way to find the error? No log/debug/trace or anything that can give me the error message/code etc? Thanks Sincerely, Yisroel M. Olewski CEO Machshevet.com +972 (52) 764-9971 Websites . CRM . ERP . Telephony . Inventory . Content Management -----Original Message----- From: Grant Bagdasarian [mailto:GB@cm.nl] Sent: Thursday, April 24, 2014 4:33 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] .net ESLConnection Error I remember having the same issue when I started working with managedEsl. If I remember correctly, I had also changed the password and tried connecting, but without success. What happens if you change the password back to ClueCon and try connecting with FS through ManagedESL again? -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Yisroel M. Olewski Sent: Wednesday, April 23, 2014 8:42 PM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] .net ESLConnection Error Hi, thanks Yes, certainly, in C:\Program Files\FreeSWITCH\conf\autoload_configs And as I wrote in the original question, the password in itself is correct, since it is working correctly with fs_gui Any other ideas/suggestions? Sincerely, Yisroel M. Olewski CEO Machshevet.com +972 (52) 764-9971 Websites . CRM . ERP . Telephony . Inventory . Content Management
To start with does fs_cli connect ok? It'll confirm mod_event_socket is loaded, working, password & listening IP is correct and no firewall is blocking it. Which would leave it being an issue with the connecting application (as long as it connects from/to the same place). On 24 April 2014 15:13, Yisroel M. Olewski <yisroel@machshevet.com> wrote:
Hi thanks I just tried but no luck Aside from trying to find the issue, which I appreciate your help, is there no way to find the error? No log/debug/trace or anything that can give me the error message/code etc? Thanks
Sincerely, Yisroel M. Olewski CEO
Machshevet.com +972 (52) 764-9971 Websites . CRM . ERP . Telephony . Inventory . Content Management
-----Original Message----- From: Grant Bagdasarian [mailto:GB@cm.nl] Sent: Thursday, April 24, 2014 4:33 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] .net ESLConnection Error
I remember having the same issue when I started working with managedEsl. If I remember correctly, I had also changed the password and tried connecting, but without success.
What happens if you change the password back to ClueCon and try connecting with FS through ManagedESL again?
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Yisroel M. Olewski Sent: Wednesday, April 23, 2014 8:42 PM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] .net ESLConnection Error
Hi, thanks Yes, certainly, in C:\Program Files\FreeSWITCH\conf\autoload_configs And as I wrote in the original question, the password in itself is correct, since it is working correctly with fs_gui Any other ideas/suggestions?
Sincerely, Yisroel M. Olewski CEO
Machshevet.com +972 (52) 764-9971 Websites . CRM . ERP . Telephony . Inventory . Content Management
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
Hi Thanks for answering Nope, unfortunately fs_cli isn’t working either, here’s the console (this was done after a full server restart) C:\Program Files\FreeSWITCH>fs_cli.exe 10.0.0.1 8021 ClueCon [ERROR] fs_cli.c:1473 main() Error Connecting [Socket Connection Error] Usage: fs_cli.exe [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x command] [-t <timeout_ms>] [profile] I checked the C:\Program Files\FreeSWITCH\log\freeswitch.log on the host machine but has no entries of the last few minutes The freeswitch log on my client machine has not been updated for months (I used to have a running fs instance here) What can the issue be? Sincerely, Yisroel M. Olewski CEO <http://Machshevet.com> Machshevet.com +972 (52) 764-9971 Websites · CRM · ERP · Telephony · Inventory · Content Management From: Steven Ayre [mailto:steveayre@gmail.com] Sent: Thursday, April 24, 2014 8:02 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] .net ESLConnection Error To start with does fs_cli connect ok? It'll confirm mod_event_socket is loaded, working, password & listening IP is correct and no firewall is blocking it. Which would leave it being an issue with the connecting application (as long as it connects from/to the same place). On 24 April 2014 15:13, Yisroel M. Olewski <yisroel@machshevet.com> wrote: Hi thanks I just tried but no luck Aside from trying to find the issue, which I appreciate your help, is there no way to find the error? No log/debug/trace or anything that can give me the error message/code etc? Thanks Sincerely, Yisroel M. Olewski CEO Machshevet.com +972 (52) 764-9971 <tel:%2B972%20%2852%29%20764-9971> Websites . CRM . ERP . Telephony . Inventory . Content Management -----Original Message----- From: Grant Bagdasarian [mailto:GB@cm.nl] Sent: Thursday, April 24, 2014 4:33 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] .net ESLConnection Error I remember having the same issue when I started working with managedEsl. If I remember correctly, I had also changed the password and tried connecting, but without success. What happens if you change the password back to ClueCon and try connecting with FS through ManagedESL again? -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Yisroel M. Olewski Sent: Wednesday, April 23, 2014 8:42 PM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] .net ESLConnection Error Hi, thanks Yes, certainly, in C:\Program Files\FreeSWITCH\conf\autoload_configs And as I wrote in the original question, the password in itself is correct, since it is working correctly with fs_gui Any other ideas/suggestions? Sincerely, Yisroel M. Olewski CEO Machshevet.com +972 (52) 764-9971 <tel:%2B972%20%2852%29%20764-9971> Websites . CRM . ERP . Telephony . Inventory . Content Management _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
Try: C:\Program Files\FreeSWITCH>fs_cli.exe -H 10.0.0.1 From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Yisroel M. Olewski Sent: Thursday, April 24, 2014 4:58 PM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] .net ESLConnection Error Hi Thanks for answering Nope, unfortunately fs_cli isn’t working either, here’s the console (this was done after a full server restart) C:\Program Files\FreeSWITCH>fs_cli.exe 10.0.0.1 8021 ClueCon [ERROR] fs_cli.c:1473 main() Error Connecting [Socket Connection Error] Usage: fs_cli.exe [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x command] [-t <timeout_ms>] [profile] I checked the C:\Program Files\FreeSWITCH\log\freeswitch.log on the host machine but has no entries of the last few minutes The freeswitch log on my client machine has not been updated for months (I used to have a running fs instance here) What can the issue be? Sincerely, Yisroel M. Olewski CEO [cid:image001.png@01CF5FE2.DB238720] Machshevet.com<http://Machshevet.com> +972 (52) 764-9971 Websites · CRM · ERP · Telephony · Inventory · Content Management From: Steven Ayre [mailto:steveayre@gmail.com] Sent: Thursday, April 24, 2014 8:02 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] .net ESLConnection Error To start with does fs_cli connect ok? It'll confirm mod_event_socket is loaded, working, password & listening IP is correct and no firewall is blocking it. Which would leave it being an issue with the connecting application (as long as it connects from/to the same place). On 24 April 2014 15:13, Yisroel M. Olewski <yisroel@machshevet.com<mailto:yisroel@machshevet.com>> wrote: Hi thanks I just tried but no luck Aside from trying to find the issue, which I appreciate your help, is there no way to find the error? No log/debug/trace or anything that can give me the error message/code etc? Thanks Sincerely, Yisroel M. Olewski CEO Machshevet.com +972 (52) 764-9971<tel:%2B972%20%2852%29%20764-9971> Websites . CRM . ERP . Telephony . Inventory . Content Management -----Original Message----- From: Grant Bagdasarian [mailto:GB@cm.nl<mailto:GB@cm.nl>] Sent: Thursday, April 24, 2014 4:33 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] .net ESLConnection Error I remember having the same issue when I started working with managedEsl. If I remember correctly, I had also changed the password and tried connecting, but without success. What happens if you change the password back to ClueCon and try connecting with FS through ManagedESL again? -----Original Message----- 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 Yisroel M. Olewski Sent: Wednesday, April 23, 2014 8:42 PM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] .net ESLConnection Error Hi, thanks Yes, certainly, in C:\Program Files\FreeSWITCH\conf\autoload_configs And as I wrote in the original question, the password in itself is correct, since it is working correctly with fs_gui Any other ideas/suggestions? Sincerely, Yisroel M. Olewski CEO Machshevet.com +972 (52) 764-9971<tel:%2B972%20%2852%29%20764-9971> Websites . CRM . ERP . Telephony . Inventory . Content Management _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org 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 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Oops… my bad Thanks! Yes it is working with now correctly, but now the eslconnection is also working smoothly Maybe the server restart did the trick All the best Sincerely, Yisroel M. Olewski CEO <http://Machshevet.com> Machshevet.com +972 (52) 764-9971 Websites · CRM · ERP · Telephony · Inventory · Content Management From: Hector Geraldino [mailto:Hector.Geraldino@ipsoft.com] Sent: Friday, April 25, 2014 12:30 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] .net ESLConnection Error Try: C:\Program Files\FreeSWITCH>fs_cli.exe -H 10.0.0.1 From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Yisroel M. Olewski Sent: Thursday, April 24, 2014 4:58 PM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] .net ESLConnection Error Hi Thanks for answering Nope, unfortunately fs_cli isn’t working either, here’s the console (this was done after a full server restart) C:\Program Files\FreeSWITCH>fs_cli.exe 10.0.0.1 8021 ClueCon [ERROR] fs_cli.c:1473 main() Error Connecting [Socket Connection Error] Usage: fs_cli.exe [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x command] [-t <timeout_ms>] [profile] I checked the C:\Program Files\FreeSWITCH\log\freeswitch.log on the host machine but has no entries of the last few minutes The freeswitch log on my client machine has not been updated for months (I used to have a running fs instance here) What can the issue be? Sincerely, Yisroel M. Olewski CEO Machshevet.com +972 (52) 764-9971 Websites · CRM · ERP · Telephony · Inventory · Content Management From: Steven Ayre [mailto:steveayre@gmail.com] Sent: Thursday, April 24, 2014 8:02 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] .net ESLConnection Error To start with does fs_cli connect ok? It'll confirm mod_event_socket is loaded, working, password & listening IP is correct and no firewall is blocking it. Which would leave it being an issue with the connecting application (as long as it connects from/to the same place). On 24 April 2014 15:13, Yisroel M. Olewski <yisroel@machshevet.com> wrote: Hi thanks I just tried but no luck Aside from trying to find the issue, which I appreciate your help, is there no way to find the error? No log/debug/trace or anything that can give me the error message/code etc? Thanks Sincerely, Yisroel M. Olewski CEO Machshevet.com +972 (52) 764-9971 <tel:%2B972%20%2852%29%20764-9971> Websites . CRM . ERP . Telephony . Inventory . Content Management -----Original Message----- From: Grant Bagdasarian [mailto:GB@cm.nl] Sent: Thursday, April 24, 2014 4:33 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] .net ESLConnection Error I remember having the same issue when I started working with managedEsl. If I remember correctly, I had also changed the password and tried connecting, but without success. What happens if you change the password back to ClueCon and try connecting with FS through ManagedESL again? -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Yisroel M. Olewski Sent: Wednesday, April 23, 2014 8:42 PM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] .net ESLConnection Error Hi, thanks Yes, certainly, in C:\Program Files\FreeSWITCH\conf\autoload_configs And as I wrote in the original question, the password in itself is correct, since it is working correctly with fs_gui Any other ideas/suggestions? Sincerely, Yisroel M. Olewski CEO Machshevet.com +972 (52) 764-9971 <tel:%2B972%20%2852%29%20764-9971> Websites . CRM . ERP . Telephony . Inventory . Content Management _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
participants (4)
-
Grant Bagdasarian
-
Hector Geraldino
-
Steven Ayre
-
Yisroel M. Olewski