Error in launching fs_cli
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
Do you have mod_event_socket loaded? -Yossi On 08/05/2013 04:00 PM, Ashish Mishra wrote:
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
_________________________________________________________________________ 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
Is Freeswitch running? I have seen a similar error when I tried to start the cli and Freeswitch was not running . 2013/8/5 Yossi Neiman <mishehu@freeswitch.org>
Do you have mod_event_socket loaded?
-Yossi
On 08/05/2013 04:00 PM, Ashish Mishra wrote:
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
-- Gustavo Salazar
Yes my freeswitch is running... On Aug 6, 2013 3:41 AM, "Gustavo Salazar" <guga.salazar.loor@gmail.com> wrote:
Is Freeswitch running? I have seen a similar error when I tried to start the cli and Freeswitch was not running .
2013/8/5 Yossi Neiman <mishehu@freeswitch.org>
Do you have mod_event_socket loaded?
-Yossi
On 08/05/2013 04:00 PM, Ashish Mishra wrote:
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
-- Gustavo Salazar
_________________________________________________________________________ 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
How to load mod_event_socket...??? Yes my freeswitch is running... On Aug 6, 2013 3:41 AM, "Gustavo Salazar" <guga.salazar.loor@gmail.com> wrote:
Is Freeswitch running? I have seen a similar error when I tried to start the cli and Freeswitch was not running .
2013/8/5 Yossi Neiman <mishehu@freeswitch.org>
Do you have mod_event_socket loaded?
-Yossi
On 08/05/2013 04:00 PM, Ashish Mishra wrote:
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
-- Gustavo Salazar
_________________________________________________________________________ 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
The mod_event_socket was loaded... On Aug 6, 2013 1:23 PM, "Ashish Mishra" <itsme.kunnu@gmail.com> wrote:
How to load mod_event_socket...???
Yes my freeswitch is running... On Aug 6, 2013 3:41 AM, "Gustavo Salazar" <guga.salazar.loor@gmail.com> wrote:
Is Freeswitch running? I have seen a similar error when I tried to start the cli and Freeswitch was not running .
2013/8/5 Yossi Neiman <mishehu@freeswitch.org>
Do you have mod_event_socket loaded?
-Yossi
On 08/05/2013 04:00 PM, Ashish Mishra wrote:
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
-- Gustavo Salazar
_________________________________________________________________________ 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
Check the settings in conf/autoload_configs/event_socket.conf.xml and make sure the listen IP, listen port, and password are what you think they are. If you need to change any of them just do fs_cli -h to see the options. -MC On Tue, Aug 6, 2013 at 7:22 AM, Ashish Mishra <itsme.kunnu@gmail.com> wrote:
The mod_event_socket was loaded... On Aug 6, 2013 1:23 PM, "Ashish Mishra" <itsme.kunnu@gmail.com> wrote:
How to load mod_event_socket...???
Yes my freeswitch is running... On Aug 6, 2013 3:41 AM, "Gustavo Salazar" <guga.salazar.loor@gmail.com> wrote:
Is Freeswitch running? I have seen a similar error when I tried to start the cli and Freeswitch was not running .
2013/8/5 Yossi Neiman <mishehu@freeswitch.org>
Do you have mod_event_socket loaded?
-Yossi
On 08/05/2013 04:00 PM, Ashish Mishra wrote:
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
-- Gustavo Salazar
_________________________________________________________________________ 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
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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
Do you have a firewall running? What does iptables -L display? On Tue, Aug 6, 2013 at 5:51 PM, Ashish Mishra <itsme.kunnu@gmail.com> wrote:
Yes my freeswitch is running... On Aug 6, 2013 3:41 AM, "Gustavo Salazar" <guga.salazar.loor@gmail.com> wrote:
Is Freeswitch running? I have seen a similar error when I tried to start the cli and Freeswitch was not running .
2013/8/5 Yossi Neiman <mishehu@freeswitch.org>
Do you have mod_event_socket loaded?
-Yossi
On 08/05/2013 04:00 PM, Ashish Mishra wrote:
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
-- Gustavo Salazar
_________________________________________________________________________ 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
_________________________________________________________________________ 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
Sir i would like to give you some information about how am i launching fs_cli...I have installed freeswitch in my ubuntu machine now on the same machine i am trying to launch fs_cli but i am getting an error which i have already mentioned...Also as far as the output of iptables -L is concerned i am getiing: Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination On Wed, Aug 7, 2013 at 4:44 AM, Peter <eidevm5@gmail.com> wrote:
Do you have a firewall running?
What does
iptables -L
display?
On Tue, Aug 6, 2013 at 5:51 PM, Ashish Mishra <itsme.kunnu@gmail.com>wrote:
Yes my freeswitch is running... On Aug 6, 2013 3:41 AM, "Gustavo Salazar" <guga.salazar.loor@gmail.com> wrote:
Is Freeswitch running? I have seen a similar error when I tried to start the cli and Freeswitch was not running .
2013/8/5 Yossi Neiman <mishehu@freeswitch.org>
Do you have mod_event_socket loaded?
-Yossi
On 08/05/2013 04:00 PM, Ashish Mishra wrote:
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
-- Gustavo Salazar
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
1) Check mod_event_socket is enabled to load on start in autoload_configs/modules.conf.xml 2) Check freeswitch is running: $ ps -C freeswitch -f UID PID PPID C STIME TTY TIME CMD 999 12993 1 1 14:44 ? 00:00:23 /usr/bin/freeswitch -u freeswitch -g freeswitch -nc -rp -nonat 3) Check freeswitch is listening on the ESL socket: $ netstat -anp | grep :8021 tcp 0 0 127.0.0.1:8021 0.0.0.0:* LISTEN 12993/freeswitch 4) Check the freeswitch.log file to check mod_event_socket tried to load, and for any errors while loading. Or for startup errors if freeswitch isn't running at all. Note if it's listening on 127.0.0.1:8021 then you won't be able to connect from remote machines. If you need that set listen-ip to 0.0.0.0 and make sure you change the default password and you should also consider using ACLs or a firewall to restrict who can connect. -Steve On 7 August 2013 08:21, Ashish Mishra <itsme.kunnu@gmail.com> wrote:
Sir i would like to give you some information about how am i launching fs_cli...I have installed freeswitch in my ubuntu machine now on the same machine i am trying to launch fs_cli but i am getting an error which i have already mentioned...Also as far as the output of iptables -L is concerned i am getiing:
Chain INPUT (policy ACCEPT) target prot opt source destination
Chain FORWARD (policy ACCEPT) target prot opt source destination
Chain OUTPUT (policy ACCEPT) target prot opt source destination
On Wed, Aug 7, 2013 at 4:44 AM, Peter <eidevm5@gmail.com> wrote:
Do you have a firewall running?
What does
iptables -L
display?
On Tue, Aug 6, 2013 at 5:51 PM, Ashish Mishra <itsme.kunnu@gmail.com>wrote:
Yes my freeswitch is running... On Aug 6, 2013 3:41 AM, "Gustavo Salazar" <guga.salazar.loor@gmail.com> wrote:
Is Freeswitch running? I have seen a similar error when I tried to start the cli and Freeswitch was not running .
2013/8/5 Yossi Neiman <mishehu@freeswitch.org>
Do you have mod_event_socket loaded?
-Yossi
On 08/05/2013 04:00 PM, Ashish Mishra wrote:
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
-- Gustavo Salazar
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
If you are accessing fs_cli locally , no need to worry about your firewall. By default fs_cli should work. Check freeswitch process status. You can try the following method to test freeswitch , go to your freeswitch/bin folder and run ./freeswitch manually and see the switch is loading without any issue. Lloyd * * * <http://www.sunteltech.ca/blog/>* On Wed, Aug 7, 2013 at 10:11 AM, Steven Ayre <steveayre@gmail.com> wrote:
1) Check mod_event_socket is enabled to load on start in autoload_configs/modules.conf.xml
2) Check freeswitch is running: $ ps -C freeswitch -f UID PID PPID C STIME TTY TIME CMD 999 12993 1 1 14:44 ? 00:00:23 /usr/bin/freeswitch -u freeswitch -g freeswitch -nc -rp -nonat
3) Check freeswitch is listening on the ESL socket: $ netstat -anp | grep :8021 tcp 0 0 127.0.0.1:8021 0.0.0.0:* LISTEN 12993/freeswitch
4) Check the freeswitch.log file to check mod_event_socket tried to load, and for any errors while loading. Or for startup errors if freeswitch isn't running at all.
Note if it's listening on 127.0.0.1:8021 then you won't be able to connect from remote machines. If you need that set listen-ip to 0.0.0.0 and make sure you change the default password and you should also consider using ACLs or a firewall to restrict who can connect.
-Steve
On 7 August 2013 08:21, Ashish Mishra <itsme.kunnu@gmail.com> wrote:
Sir i would like to give you some information about how am i launching fs_cli...I have installed freeswitch in my ubuntu machine now on the same machine i am trying to launch fs_cli but i am getting an error which i have already mentioned...Also as far as the output of iptables -L is concerned i am getiing:
Chain INPUT (policy ACCEPT) target prot opt source destination
Chain FORWARD (policy ACCEPT) target prot opt source destination
Chain OUTPUT (policy ACCEPT) target prot opt source destination
On Wed, Aug 7, 2013 at 4:44 AM, Peter <eidevm5@gmail.com> wrote:
Do you have a firewall running?
What does
iptables -L
display?
On Tue, Aug 6, 2013 at 5:51 PM, Ashish Mishra <itsme.kunnu@gmail.com>wrote:
Yes my freeswitch is running... On Aug 6, 2013 3:41 AM, "Gustavo Salazar" <guga.salazar.loor@gmail.com> wrote:
Is Freeswitch running? I have seen a similar error when I tried to start the cli and Freeswitch was not running .
2013/8/5 Yossi Neiman <mishehu@freeswitch.org>
Do you have mod_event_socket loaded?
-Yossi
On 08/05/2013 04:00 PM, Ashish Mishra wrote:
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
-- Gustavo Salazar
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
That's not strictly speaking true. It is possible to firewall localhost connections. Taking iptables as an example unless there's a rule to allow all connections from lo it'll be treated just like any other. -Steve On 7 August 2013 16:50, Lloyd Aloysius <lloyd.aloysius@sunteltech.ca> wrote:
If you are accessing fs_cli locally , no need to worry about your firewall. By default fs_cli should work. Check freeswitch process status.
You can try the following method to test freeswitch , go to your freeswitch/bin folder and run ./freeswitch manually and see the switch is loading without any issue.
Lloyd
* * * <http://www.sunteltech.ca/blog/>*
On Wed, Aug 7, 2013 at 10:11 AM, Steven Ayre <steveayre@gmail.com> wrote:
1) Check mod_event_socket is enabled to load on start in autoload_configs/modules.conf.xml
2) Check freeswitch is running: $ ps -C freeswitch -f UID PID PPID C STIME TTY TIME CMD 999 12993 1 1 14:44 ? 00:00:23 /usr/bin/freeswitch -u freeswitch -g freeswitch -nc -rp -nonat
3) Check freeswitch is listening on the ESL socket: $ netstat -anp | grep :8021 tcp 0 0 127.0.0.1:8021 0.0.0.0:* LISTEN 12993/freeswitch
4) Check the freeswitch.log file to check mod_event_socket tried to load, and for any errors while loading. Or for startup errors if freeswitch isn't running at all.
Note if it's listening on 127.0.0.1:8021 then you won't be able to connect from remote machines. If you need that set listen-ip to 0.0.0.0 and make sure you change the default password and you should also consider using ACLs or a firewall to restrict who can connect.
-Steve
On 7 August 2013 08:21, Ashish Mishra <itsme.kunnu@gmail.com> wrote:
Sir i would like to give you some information about how am i launching fs_cli...I have installed freeswitch in my ubuntu machine now on the same machine i am trying to launch fs_cli but i am getting an error which i have already mentioned...Also as far as the output of iptables -L is concerned i am getiing:
Chain INPUT (policy ACCEPT) target prot opt source destination
Chain FORWARD (policy ACCEPT) target prot opt source destination
Chain OUTPUT (policy ACCEPT) target prot opt source destination
On Wed, Aug 7, 2013 at 4:44 AM, Peter <eidevm5@gmail.com> wrote:
Do you have a firewall running?
What does
iptables -L
display?
On Tue, Aug 6, 2013 at 5:51 PM, Ashish Mishra <itsme.kunnu@gmail.com>wrote:
Yes my freeswitch is running... On Aug 6, 2013 3:41 AM, "Gustavo Salazar" <guga.salazar.loor@gmail.com> wrote:
Is Freeswitch running? I have seen a similar error when I tried to start the cli and Freeswitch was not running .
2013/8/5 Yossi Neiman <mishehu@freeswitch.org>
> Do you have mod_event_socket loaded? > > -Yossi > > > On 08/05/2013 04:00 PM, Ashish Mishra wrote: > > When i am trying to launch fs_cli on my ubuntu 12.04 machine (on > which i have installed freeswitch) it gives me the following error : > fs_cli .c:1455 main() Error Connecting [Socket Connection Error ] > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees... > > > > > _________________________________________________________________________ > 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 > >
-- Gustavo Salazar
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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 reinstalled freeswitch but still i am getting the same error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ] mod_socket is also loaded...i have also flushed the firewall rules...pls help On Aug 6, 2013 2:30 AM, "Ashish Mishra" <itsme.kunnu@gmail.com> wrote:
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
Have you checked the logfile and netstat? On 12 August 2013 09:51, Ashish Mishra <itsme.kunnu@gmail.com> wrote:
I reinstalled freeswitch but still i am getting the same error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ] mod_socket is also loaded...i have also flushed the firewall rules...pls help On Aug 6, 2013 2:30 AM, "Ashish Mishra" <itsme.kunnu@gmail.com> wrote:
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
_________________________________________________________________________ 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 have the nagging feeling that Ashish isn't telling the whole story here... Ashish - what happens if you are on the machine that is running FreeSWITCH and you execute `telnet localhost 8021` ? Do you see something like this: # telnet localhost 8021 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Content-Type: auth/request If you are running with the standard configurations this should work in this fashion. If you have changed the conf/autoload_configs/event_socket.conf.xml , then paste those configurations. (If too lengthy, please post to http://pastebin.freeswitch.org ) -Yossi On 08/12/2013 09:44 AM, Steven Ayre wrote:
Have you checked the logfile and netstat?
On 12 August 2013 09:51, Ashish Mishra <itsme.kunnu@gmail.com <mailto:itsme.kunnu@gmail.com>> wrote:
I reinstalled freeswitch but still i am getting the same error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ] mod_socket is also loaded...i have also flushed the firewall rules...pls help
On Aug 6, 2013 2:30 AM, "Ashish Mishra" <itsme.kunnu@gmail.com <mailto:itsme.kunnu@gmail.com>> wrote:
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
_________________________________________________________________________ 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
_________________________________________________________________________ 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
Thank you for your reply...i am now able to run fs_cli on my ubuntu machine on which freeswitch is installed...:-) On Aug 13, 2013 3:17 AM, "I put the Who? in Mishehu" <mishehu@freeswitch.org> wrote:
I have the nagging feeling that Ashish isn't telling the whole story here...
Ashish - what happens if you are on the machine that is running FreeSWITCH and you execute `telnet localhost 8021` ? Do you see something like this:
# telnet localhost 8021 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Content-Type: auth/request
If you are running with the standard configurations this should work in this fashion. If you have changed the conf/autoload_configs/event_socket.conf.xml , then paste those configurations. (If too lengthy, please post to http://pastebin.freeswitch.org )
-Yossi
On 08/12/2013 09:44 AM, Steven Ayre wrote:
Have you checked the logfile and netstat?
On 12 August 2013 09:51, Ashish Mishra <itsme.kunnu@gmail.com> wrote:
I reinstalled freeswitch but still i am getting the same error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ] mod_socket is also loaded...i have also flushed the firewall rules...pls help On Aug 6, 2013 2:30 AM, "Ashish Mishra" <itsme.kunnu@gmail.com> wrote:
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
_________________________________________________________________________ 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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
What was the issue? On 13 August 2013 08:16, Ashish Mishra <itsme.kunnu@gmail.com> wrote:
Thank you for your reply...i am now able to run fs_cli on my ubuntu machine on which freeswitch is installed...:-) On Aug 13, 2013 3:17 AM, "I put the Who? in Mishehu" < mishehu@freeswitch.org> wrote:
I have the nagging feeling that Ashish isn't telling the whole story here...
Ashish - what happens if you are on the machine that is running FreeSWITCH and you execute `telnet localhost 8021` ? Do you see something like this:
# telnet localhost 8021 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Content-Type: auth/request
If you are running with the standard configurations this should work in this fashion. If you have changed the conf/autoload_configs/event_socket.conf.xml , then paste those configurations. (If too lengthy, please post to http://pastebin.freeswitch.org )
-Yossi
On 08/12/2013 09:44 AM, Steven Ayre wrote:
Have you checked the logfile and netstat?
On 12 August 2013 09:51, Ashish Mishra <itsme.kunnu@gmail.com> wrote:
I reinstalled freeswitch but still i am getting the same error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ] mod_socket is also loaded...i have also flushed the firewall rules...pls help On Aug 6, 2013 2:30 AM, "Ashish Mishra" <itsme.kunnu@gmail.com> wrote:
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
_________________________________________________________________________ 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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
_________________________________________________________________________ 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
the issue was that i was only running fs_cli on my machine without running freeswitch. fs_cli works only when freeswitch is running in background. thank you Ashish Mishra On Tue, Aug 13, 2013 at 1:47 PM, Steven Ayre <steveayre@gmail.com> wrote:
What was the issue?
On 13 August 2013 08:16, Ashish Mishra <itsme.kunnu@gmail.com> wrote:
Thank you for your reply...i am now able to run fs_cli on my ubuntu machine on which freeswitch is installed...:-) On Aug 13, 2013 3:17 AM, "I put the Who? in Mishehu" < mishehu@freeswitch.org> wrote:
I have the nagging feeling that Ashish isn't telling the whole story here...
Ashish - what happens if you are on the machine that is running FreeSWITCH and you execute `telnet localhost 8021` ? Do you see something like this:
# telnet localhost 8021 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Content-Type: auth/request
If you are running with the standard configurations this should work in this fashion. If you have changed the conf/autoload_configs/event_socket.conf.xml , then paste those configurations. (If too lengthy, please post to http://pastebin.freeswitch.org )
-Yossi
On 08/12/2013 09:44 AM, Steven Ayre wrote:
Have you checked the logfile and netstat?
On 12 August 2013 09:51, Ashish Mishra <itsme.kunnu@gmail.com> wrote:
I reinstalled freeswitch but still i am getting the same error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ] mod_socket is also loaded...i have also flushed the firewall rules...pls help On Aug 6, 2013 2:30 AM, "Ashish Mishra" <itsme.kunnu@gmail.com> wrote:
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
_________________________________________________________________________ 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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
Actually, that's not entirely correct. I run FreeSWITCH in the foreground monitored under runit or djb daemontools all the time. FreeSWITCH needs to be running with mod_event_socket enabled and loaded in order for fs_cli to be able to connect to it. Whether or not FreeSWITCH's pid has been forked to background not of any real importance. -Yossi On 08/13/2013 02:52 PM, Ashish Mishra wrote:
the issue was that i was only running fs_cli on my machine without running freeswitch. fs_cli works only when freeswitch is running in background. thank you Ashish Mishra
On Tue, Aug 13, 2013 at 1:47 PM, Steven Ayre <steveayre@gmail.com <mailto:steveayre@gmail.com>> wrote:
What was the issue?
On 13 August 2013 08:16, Ashish Mishra <itsme.kunnu@gmail.com <mailto:itsme.kunnu@gmail.com>> wrote:
Thank you for your reply...i am now able to run fs_cli on my ubuntu machine on which freeswitch is installed...:-)
On Aug 13, 2013 3:17 AM, "I put the Who? in Mishehu" <mishehu@freeswitch.org <mailto:mishehu@freeswitch.org>> wrote:
I have the nagging feeling that Ashish isn't telling the whole story here...
Ashish - what happens if you are on the machine that is running FreeSWITCH and you execute `telnet localhost 8021` ? Do you see something like this:
# telnet localhost 8021 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Content-Type: auth/request
If you are running with the standard configurations this should work in this fashion. If you have changed the conf/autoload_configs/event_socket.conf.xml , then paste those configurations. (If too lengthy, please post to http://pastebin.freeswitch.org )
-Yossi
On 08/12/2013 09:44 AM, Steven Ayre wrote:
Have you checked the logfile and netstat?
On 12 August 2013 09:51, Ashish Mishra <itsme.kunnu@gmail.com <mailto:itsme.kunnu@gmail.com>> wrote:
I reinstalled freeswitch but still i am getting the same error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ] mod_socket is also loaded...i have also flushed the firewall rules...pls help
On Aug 6, 2013 2:30 AM, "Ashish Mishra" <itsme.kunnu@gmail.com <mailto:itsme.kunnu@gmail.com>> wrote:
When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error : fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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 (8)
-
Ashish Mishra
-
Gustavo Salazar
-
I put the Who? in Mishehu
-
Lloyd Aloysius
-
Michael Collins
-
Peter
-
Steven Ayre
-
Yossi Neiman