Comments (20)
The server was also configured for IPv6 and freeswitch could not bind to IPv4. However, after re-configuring freeswitch use IPv4, I can connect to fs_cli. Please close issue.
How did you configure freeswitch to use IPV4
edit this file /etc/freeswitch/autoload_configs/event_socket.conf.xml
and change listen-ip with 127.0.0.1 and then restart the freeswitch, if still unable to enter fs_cli then and also edit this file /usr/lib/systemd/system/freeswitch.service
and change User with root like User=root
restart the freeswitch by systemctl daemon-reload
and service freeswitch restart
from ictfax.
The server was also configured for IPv6 and freeswitch could not bind to IPv4. However, after re-configuring freeswitch use IPv4, I can connect to fs_cli. Please close issue.
Please tell us in more detail what exactly did you do?
I ran into the same issue. I also had this problem with Asterisk a few years ago; the lesson seems to be "configure for IPv4 first, then deal with IPv6". I was able to get fs_cli
to connect by changing autoload_configs/event_socket.conf.xml
parameter listen-ip from "::"
to "127.0.0.1"
. Hope that helps.
from ictfax.
ICTFax tested on CentOS 7.X, Please restart freeswitch by following command
service freeswitch restart
if not work then run "freeswitch -nc"
from ictfax.
The server was also configured for IPv6 and freeswitch could not bind to IPv4. However, after re-configuring freeswitch use IPv4, I can connect to fs_cli. Please close issue.
How did you configure freeswitch to use IPV4
edit this file
/etc/freeswitch/autoload_configs/event_socket.conf.xml
and change listen-ip with 127.0.0.1 and then restart the freeswitch, if still unable to enter fs_cli then and also edit this file/usr/lib/systemd/system/freeswitch.service
and change User with root like User=rootrestart the freeswitch by
systemctl daemon-reload
andservice freeswitch restart
Thanks for your help. Actually I am facing one more issue of not able to restart freeswitch.
On using systemctl daemon-reload I get an error "unknown operation". Is there some other way I can restart freeswitch
from ictfax.
That means that Freeswitch hasn't started... What OS are you using? Please check running services.
from ictfax.
Please note that freeswitch is running as a daemon. In a separate issue, I already published contents of the freeswitch log file where it is clear to see that the freeswitch daemon is running. However, I would like to gain access to the CLI of freeswitch. But fs_cli cannot connect to the running freeswitch. My assumption is that the installation guide did not expect that a user simply installing ICTFAX will also run fs_cli. I assume that further configuration needs to be applied that fs_cli can connect.
from ictfax.
I want to gain access to fs_cli so that I can better debug freeswitch, e.g. to change debug settings. My main problem is that ICTFAX cannot connect to my Asterisk-based FreePBX which should act as a SIP provider to ICTFAX. The freeswitch log file simply says that no registration is possible. I would like to produce a log file so that I can identify what is going wrong. So therefore I need access to fs_cli.
from ictfax.
I assume that further configuration needs to be applied that fs_cli can connect.
I have no problem to access fs_cli on my instance...
Check what does service freeswitch status
say.
from ictfax.
`# service freeswitch status
Redirecting to /bin/systemctl status freeswitch.service
● freeswitch.service - FreeSWITCH
Loaded: loaded (/usr/lib/systemd/system/freeswitch.service; enabled; vendor preset: disabled)
Active: active (running) since Fre 2019-06-21 00:56:08 MEST; 16h ago
Main PID: 15331 (freeswitch)
CGroup: /system.slice/freeswitch.service
└─15331 /usr/bin/freeswitch -nc -nf
Jun 21 00:56:08 systemd[1]: Started FreeSWITCH.
Jun 21 00:56:08 freeswitch[15331]: ERROR: Failed to set SCHED_FIFO scheduler (Operation not permitted)
Jun 21 00:56:08 freeswitch[15331]: ERROR: Could not set nice level
`
from ictfax.
I followed the installation guide at http://ictfax.org/content/ictfax-installation-guide so that I did not any further configuration steps for freeswitch than installing and configuring ICTFAX.
from ictfax.
Freeswitch as such is running, but fs_cli cannot connect to the socket of freeswitch.
from ictfax.
@herrep I have just made fresh install using:
- http://ictfax.org/content/ictfax-installation-guide
yum install ictcore-voice -y
And I have no problem with VoIP account registration to external provider. Also FreeSwitch CLI (fs_cli) is working without any problem.
from ictfax.
The server was also configured for IPv6 and freeswitch could not bind to IPv4. However, after re-configuring freeswitch use IPv4, I can connect to fs_cli. Please close issue.
from ictfax.
Hi,
I am getting the exactly same error while deploying freeswitch through kubernetes. I have my docker image, if I create a container using docker, freeswitch container is successfully created and I am able to make calls normally. However while using the same image, if I create kubernetes deployment and when I go inside freeswitch pod, I am not able to connect to fs_cli and getting same error.
[root@freeswitch-76557dff64-xw2k7 /]# fs_cli
[ERROR] fs_cli.c:1659 main() Error Connecting [Socket Connection Error]
Usage: fs_cli [-H ] [-P ] [-p ] [-d ] [-x command] [-t <timeout_ms>] [profile]
[root@freeswitch-76557dff64-xw2k7 /]# tail -f /var/log/freeswitch/freeswitch.log
2019-10-03 12:39:01.215543 [ERR] sofia.c:3146 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
2019-10-03 12:39:01.215543 [ERR] sofia.c:3156 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp)
The likely causes for this are:
- Another application is already listening on the specified address.
- The IP the profile is attempting to bind to is not local to this system.
2019-10-03 12:39:01.215543 [ERR] sofia.c:3146 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
2019-10-03 12:39:01.215543 [ERR] sofia.c:3156 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp)
The likely causes for this are: - Another application is already listening on the specified address.
- The IP the profile is attempting to bind to is not local to this system.
^C
[root@freeswitch-76557dff64-xw2k7 /]#
from ictfax.
make sure that the module mod_event_socket.so
exist and enabled in the file /etc/freeswitch/autoload_configs/modules.conf.xml
the line <load module="mod_event_socket"/>
to install the module: apt install freeswitch-mod-event-socket
from ictfax.
The server was also configured for IPv6 and freeswitch could not bind to IPv4. However, after re-configuring freeswitch use IPv4, I can connect to fs_cli. Please close issue.
How did you configure freeswitch to use IPV4
from ictfax.
The server was also configured for IPv6 and freeswitch could not bind to IPv4. However, after re-configuring freeswitch use IPv4, I can connect to fs_cli. Please close issue.
How did you configure freeswitch to use IPV4
#46 (comment)
edit this file/etc/freeswitch/autoload_configs/event_socket.conf.xml
and change listen-ip with 127.0.0.1 and then restart the freeswitch, if still unable to enter fs_cli then and also edit this file/usr/lib/systemd/system/freeswitch.service
and change User with root like User=root
restart the freeswitch bysystemctl daemon-reload
andservice freeswitch restart
Thanks for your help. Actually I am facing one more issue of not able to restart freeswitch.
On using systemctl daemon-reload I get an error "unknown operation". Is there some other way I can restart freeswitch
And Service freeswitch restart gives me "freeswitch: unrecognized service "
Actually, when I run freeswitch I get the following error:
2020-09-24 11:25:55.547058 [ERR] sofia.c:3235 Error Creating SIP UA for profile: external (sip:[email protected]:5080;maddr=172.17.0.1;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC) 2020-09-24 11:25:55.547058 [ERR] sofia.c:3235 Error Creating SIP UA for profile: internal (sip:[email protected]:5060;maddr=172.17.0.1;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC) 2020-09-24 11:26:00.547058 [ERR] sofia.c:3235 Error Creating SIP UA for profile: external (sip:[email protected]:5080;maddr=172.17.0.1;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC) 2020-09-24 11:26:00.547058 [ERR] sofia.c:3245 Error Creating SIP UA for profile: external (sip:[email protected]:5080;maddr=172.17.0.1;transport=udp,tcp) The likely causes for this are: 1) Another application is already listening on the specified address. 2) The IP the profile is attempting to bind to is not local to this system. 2020-09-24 11:26:00.547058 [ERR] sofia.c:3235 Error Creating SIP UA for profile: internal (sip:[email protected]:5060;maddr=172.17.0.1;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC) 2020-09-24 11:26:00.547058 [ERR] sofia.c:3245 Error Creating SIP UA for profile: internal (sip:[email protected]:5060;maddr=172.17.0.1;transport=udp,tcp) The likely causes for this are: 1) Another application is already listening on the specified address. 2) The IP the profile is attempting to bind to is not local to this system
I thought this is happening because of the IPv6 configuration. I am using freeswitch on a server machine in a docker container. If someone could me regarding this
from ictfax.
please share your system ssh access informaton at https://service.ictinnovations.com/submitticket.php we will check and let you know
from ictfax.
The server was also configured for IPv6 and freeswitch could not bind to IPv4. However, after re-configuring freeswitch use IPv4, I can connect to fs_cli. Please close issue.
Please tell us in more detail what exactly did you do?
from ictfax.
for anyone reading this in future you need to make sure 127.0.0.1 is allowed in acl conf as mentioned here
from ictfax.
Related Issues (20)
- permission denied on log HOT 1
- ictfax and Office 365 HOT 2
- Inbound faxes stuck 'processing'
- use domain instead of localhost in fax email HOT 2
- Faxes stuck in processing HOT 2
- Purging faxes
- Why is a specific number continually marked as processing and not completing? HOT 3
- Internal Fax not Working HOT 1
- Purge logs HOT 2
- why always is "Final transmission status : processing"? HOT 2
- why always is "Final transmission status : processing", and after is nothing, my fax cannot sending? HOT 2
- npm install fail error HOT 1
- [error] fs_cli.c:1699 main() error connecting [] HOT 1
- Cannot view the Receive Fax page HOT 2
- New version doesnt work (blue screen webpage) HOT 9
- dashboard not working HOT 2
- Problem with API HOT 3
- Faxes looping HOT 4
- Getting premature hangups due to codec mismatch
- Cannot login with [email protected] on new install HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ictfax.