botelist at gmail.com Guest
|
Posted: Thu Mar 10, 2022 1:49 pm Post subject: [Freeswitch-users] fs_cli not connecting to fs ( newbie ques |
|
|
Perhaps it is even simpler.
${conf_dir}/autoload_configs/event_socket.conf.xml
probably contains a reference to "localhost" like:
<param name="listen-ip" value="localhost"/>
which /etc/hosts probably lists as
::1 localhost ip6-localhost ip6-loopback
which apparently is disabled on your host, based on the error messages like:
"Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp"
Solution: change
<param name="listen-ip" value="localhost"/>
to
<param name="listen-ip" value="127.0.0.1"/>
and fs_cli should be able to reach FreeSWITCH ESL port.
You can run FreeSWITCH as a console application by omitting the "-nc" switch and see the console log messages fly by on the screen, until you get fs_cli connected.
I believe these are merely the growing pains of a new system that has not been fully configured yet. Simplify the network configuration and things will work better.
"What this country needs is a good FreeSWITCH startup guide."
John Boteler
Bote Communications
-----Original Message-----
From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Antony Stone
Sent: Thursday, 10 March, 2022 09:24
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] fs_cli not connecting to fs ( newbie question )
On Wednesday 09 March 2022 at 14:47:02, GN Dev2 wrote:
Quote: | When I run fs_cli command from the server itself ( connecting to
127.0.0.1) I get the following error -> [ERROR] fs_cli.c:1691 main()
Error Connecting []
|
Have you changed the default "ClueCon" password in /etc/freeswitch/autoload_configs/event_socket.conf.xml ?
Have you changed the default "ClueCon" password in /etc/fs_cli.conf?
Do they match?
Antony.
--
A user interface is like a joke.
If you have to explain it, it means it doesn't work.
Please reply to the list;
please *don't* CC me.
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com |
|