Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] fs_cli not connecting to fs ( newbie question )


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
gndev2 at gmail.com
Guest





PostPosted: Thu Mar 10, 2022 9:18 am    Post subject: [Freeswitch-users] fs_cli not connecting to fs ( newbie ques Reply with quote

Hello freeswitch experts,


I have installed the FreeSWITCH version: 1.10.7-release-19-883d2cb662~64bit (-release-19-883d2cb662 64bit) on Debian GNU/Linux 11 (bullseye) version. 


'service freeswitch status' command shows freeswitch as running. 


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 []



Looked at the logs kept in /var/log/freeswitch directory . Following errors are shown but they don't seem to be related fs_cli not connecting 

 Line 199: 2022-03-09 13:12:21.550802 0.00% [ERR] sofia.c:3296 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp) ATTEMPT 1 (RETRY IN 5 SEC)
Line 203: 2022-03-09 13:12:21.550957 0.00% [ERR] sofia.c:3296 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp) ATTEMPT 1 (RETRY IN 5 SEC)
Line 246: 2022-03-09 13:12:23.045871 0.00% [WARNING] mod_verto.c:4805 Bind Error!, errno=99,
Line 250: 2022-03-09 13:12:23.045898 0.00% [WARNING] mod_verto.c:4805 Bind Error!, errno=99,
Line 251: 2022-03-09 13:12:23.045904 0.00% [WARNING] mod_verto.c:4972 default-v6 Client Socket Error! No Listeners!
Line 464: 2022-03-09 13:12:23.562719 0.00% [NOTICE] switch_loadable_module.c:172 Adding Endpoint 'error'
Line 1613: 2022-03-09 13:12:26.538136 99.90% [ERR] sofia.c:3296 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
Line 1614: 2022-03-09 13:12:26.538136 99.90% [ERR] sofia.c:3296 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
Line 1615: 2022-03-09 13:12:31.537770 99.87% [ERR] sofia.c:3296 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
Line 1616: 2022-03-09 13:12:31.537770 99.87% [ERR] sofia.c:3307 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp)
Line 1622: 2022-03-09 13:12:31.537770 99.87% [ERR] sofia.c:3296 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
Line 1623: 2022-03-09 13:12:31.537770 99.87% [ERR] sofia.c:3307 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp)



I also went through freeswitch books and wiki to see if there were any troubleshooting hints around issues like this but could not find any.


I am a newbie to FS so any hints and tips to further troubleshoot this issue is highly appreciated 


Thanks in advance
Back to top
Antony.Stone at freesw...
Guest





PostPosted: Thu Mar 10, 2022 9:45 am    Post subject: [Freeswitch-users] fs_cli not connecting to fs ( newbie ques Reply with quote

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
Back to top
gndev2 at gmail.com
Guest





PostPosted: Fri Mar 11, 2022 4:47 pm    Post subject: [Freeswitch-users] fs_cli not connecting to fs ( newbie ques Reply with quote

John Boteler,

Followed your steps and could get fs_cli to connect. Thanks a lot for helping out



On Fri, 11 Mar 2022 at 17:38, <freeswitch-users-request@lists.freeswitch.org (freeswitch-users-request@lists.freeswitch.org)> wrote:

Quote:
Send FreeSWITCH-users mailing list submissions to
        freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
or, via email, send a message with subject or body 'help' to
        freeswitch-users-request@lists.freeswitch.org (freeswitch-users-request@lists.freeswitch.org)

You can reach the person managing the list at
        freeswitch-users-owner@lists.freeswitch.org (freeswitch-users-owner@lists.freeswitch.org)

When replying, please edit your Subject line so it is more specific
than "Re: Contents of FreeSWITCH-users digest..."
Today's Topics:

   1. Just in case you hadn't seen this ... beware DDOS
      (Lawrence Conroy)
   2. fs_cli not connecting to fs ( newbie question ) (GN Dev2)
   3. Re: fs_cli not connecting to fs ( newbie  question ) (Antony Stone)
   4. Re: fs_cli not connecting to fs ( newbie  question ) (Bote Man)
   5. Too long Reason header swallowed (Gilles SAUVAIRE)



---------- Forwarded message ----------
From: Lawrence Conroy <lconroy@insensate.co.uk (lconroy@insensate.co.uk)>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Cc: 
Bcc: 
Date: Thu, 10 Mar 2022 13:13:38 +0000
Subject: [Freeswitch-users] Just in case you hadn't seen this ... beware DDOS
Hi Folks,
I haven’t seen a mail on the list regarding this problem.
Everyone may well know of this already, but just.in case …

Yes, it IS O/T for freeswitch, but list users may have such kit or interact with these systems, so ...

see <https://www.akamai.com/blog/security/phone-home-ddos-attack-vector>

As if the boys from Gaza doing lawnmower attacks were not irritating enough, we have these to deal with.
Sigh.

all the best
 Lawrence






---------- Forwarded message ----------
From: GN Dev2 <gndev2@gmail.com (gndev2@gmail.com)>
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Cc: 
Bcc: 
Date: Wed, 9 Mar 2022 19:17:02 +0530
Subject: [Freeswitch-users] fs_cli not connecting to fs ( newbie question )
Hello freeswitch experts,


I have installed the FreeSWITCH version: 1.10.7-release-19-883d2cb662~64bit (-release-19-883d2cb662 64bit) on Debian GNU/Linux 11 (bullseye) version. 


'service freeswitch status' command shows freeswitch as running. 


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 []



Looked at the logs kept in /var/log/freeswitch directory . Following errors are shown but they don't seem to be related fs_cli not connecting 

 Line 199: 2022-03-09 13:12:21.550802 0.00% [ERR] sofia.c:3296 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp) ATTEMPT 1 (RETRY IN 5 SEC)
Line 203: 2022-03-09 13:12:21.550957 0.00% [ERR] sofia.c:3296 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp) ATTEMPT 1 (RETRY IN 5 SEC)
Line 246: 2022-03-09 13:12:23.045871 0.00% [WARNING] mod_verto.c:4805 Bind Error!, errno=99,
Line 250: 2022-03-09 13:12:23.045898 0.00% [WARNING] mod_verto.c:4805 Bind Error!, errno=99,
Line 251: 2022-03-09 13:12:23.045904 0.00% [WARNING] mod_verto.c:4972 default-v6 Client Socket Error! No Listeners!
Line 464: 2022-03-09 13:12:23.562719 0.00% [NOTICE] switch_loadable_module.c:172 Adding Endpoint 'error'
Line 1613: 2022-03-09 13:12:26.538136 99.90% [ERR] sofia.c:3296 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
Line 1614: 2022-03-09 13:12:26.538136 99.90% [ERR] sofia.c:3296 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
Line 1615: 2022-03-09 13:12:31.537770 99.87% [ERR] sofia.c:3296 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
Line 1616: 2022-03-09 13:12:31.537770 99.87% [ERR] sofia.c:3307 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp)
Line 1622: 2022-03-09 13:12:31.537770 99.87% [ERR] sofia.c:3296 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
Line 1623: 2022-03-09 13:12:31.537770 99.87% [ERR] sofia.c:3307 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp)



I also went through freeswitch books and wiki to see if there were any troubleshooting hints around issues like this but could not find any.


I am a newbie to FS so any hints and tips to further troubleshoot this issue is highly appreciated 


Thanks in advance








---------- Forwarded message ----------
From: Antony Stone <Antony.Stone@freeswitch.open.source.it (Antony.Stone@freeswitch.open.source.it)>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Cc: 
Bcc: 
Date: Thu, 10 Mar 2022 15:23:30 +0100
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.





---------- Forwarded message ----------
From: Bote Man <botelist@gmail.com (botelist@gmail.com)>
To: "'FreeSWITCH Users Help'" <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Cc: 
Bcc: 
Date: Thu, 10 Mar 2022 13:10:35 -0500
Subject: Re: [Freeswitch-users] fs_cli not connecting to fs ( newbie     question )
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 (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 (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 (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 (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






---------- Forwarded message ----------
From: Gilles SAUVAIRE <gilles@sauvaire.com (gilles@sauvaire.com)>
To: <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Cc: 
Bcc: 
Date: Fri, 11 Mar 2022 07:47:08 +0100
Subject: [Freeswitch-users] Too long Reason header swallowed

I often have this case…
 
https://github.com/signalwire/freeswitch/issues/1481
 
does anyone find a workaround ?
has anyone made a sofia patch ?
 
This problem happens frequently for me.
(Ms Teams send very long text cause)
 
Thanks.
 
Gilles

_________________________________________________________________________

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 (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 (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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services