Open hpng6 opened 4 years ago
the DoSProtection error is unrelated to the one below and should not prevent your proxy from running.
The other error is telling you that another process is already listening on port 5060. Possibly a running instance of flexisip. To check, run the command:
netstat -lntp
and see what process is listed as listening on port 5060.
Alternatively, change the port.
Conference server must be using the same port as flexisip-proxy (check outbound-proxy and transports directives)
the DoSProtection error is unrelated to the one below and should not prevent your proxy from running. The other error is telling you that another process is already listening on port 5060. Possibly a running instance of flexisip. To check, run the command:
netstat -lntp
and see what process is listed as listening on port 5060. Alternatively, change the port.
no other process running on the same post 5060, i believe. please find the attached file
proxy
my config is:-
[conference-server] enabled=true transport=sip:consultinsta.com:5060;transport=tcp conference-factory-uri= enable-one-to-one-chat-room=true outbound-proxy=sip:consultinsta.com:5060;transport=tcp
[global] transports=sip:consultinsta.com:5060;maddr=185.141.165.188
It looks like you're asking the conference sever to listen on the same port the proxy is listening on. Change the port in the transport directive under [conference-server]. The default is 6065, which looks like it's defaulting to. So perhaps:
[conference-server] enabled=true transport=sip:consultinsta.com:6065;transport=tcp conference-factory-uri=sip:conference-factory@consultinsta.com enable-one-to-one-chat-room=true outbound-proxy=sip:consultinsta.com:5060;transport=tcp
Hi. My conference server is running. But how do I create a group chat with Linphone? I know that a request has to be sent to sip:conference-factory address, but I am not sure how to do it over Linphone app (and add the participant and other details of the group chat)? Redis is used for the registrar. I can also see the empty conference related tables created in the MariaDB database. This talk https://www.youtube.com/watch?v=dF-Yiqk6BJo explains how it works, but not sure how to use it with Linphone.
Same here, i did setup the conference server but i am not able to figure out how create a chatroom and add participants.. LooL
Hi @Tycho-X , did you manage to start flexisip-proxy and flexi-conference? when i start the conference server, it say that port 5060 is binded , but my config file is not using 5060
Hi @ysterysys
flexisip-proxy and flexisip-conference are starting on my server. The "port 5060 error" happend with the pre version 4 linphone app/client on my linux mint desktop. I upgraded by installing the app image (Linphone-4.2.2.AppImage) and this version starts but shows a "problem icon" for the registration status but conference does actually work. I tested conference with 3 participants.
Currently i have problems getting the NAT/RTP/Mediaserver part to work. If i enable ICE the REGISTER message contain the private IPs (works as all test clients currently on my network) but if i switch of ICE and use STUN only there are no media-streams.
Do you know if its necessary to run pulse-audio on a headless debian server for for the media/rtp-relay to work?
Hi @Tycho-X , Sorry, im still new to setting up the sip server..are you able to assist with the configuration of flexi-proxy and flexi-conference ? when i start the proxy using systemctl start flexisip-`proxy , it start , however with systemctl start flexi-conference, it says that port is being used, im not able to change the udp port used for flexisip-proxy too
Hi @ysterysys
i suggest you put the logging into debug mode: "log-level=debug" in flexisip.conf
You are sure there is nothing listening on port 5060 (UDP/TCP?) (netstat -anptu | grep 5060 OR netstat -anpt 5060)
Wich OS are you using?
Hi @Tycho-X ,
i've enabled the log level to debug, my flexisip-proxy is listening on port 5060, once i change the port , my soft phone will not be able to connect anymore.
How does your client <> server setup look like? And you did change the port in the client(s) too?
Hi @Tycho-X , our client is using linphone from android play store, server is using ubuntu 16v4. yes we need change the port in client too, anyw if you dont mind, would you mind calling me through telegram ? Ys Sheng
Does anyone have a solution? I am having the same error, and there is nothing listening on port 5060 other than flexisip-proxy.
Does anyone have a solution? I am having the same error, and there is nothing listening on port 5060 other than flexisip-proxy.
Make sure you’re really only asking the proxy to listen on 5060 and nothing else. A common error is configuring the conference server at the same port. Another possibility is that you may have another instance running. The error is very unlikely to be wrong, something is trying to bind to 5060 and finding it in use.
Does anyone have a solution? I am having the same error, and there is nothing listening on port 5060 other than flexisip-proxy.
Make sure you’re really only asking the proxy to listen on 5060 and nothing else. A common error is configuring the conference server at the same port. Another possibility is that you may have another instance running. The error is very unlikely to be wrong, something is trying to bind to 5060 and finding it in use.
I made sure nothing is listening on port 5060 prior to launching flexisip servers, and I am using systemctl start flexisip-{server}
command to launch the servers one by one.
Here is my config
[global] transports=sip:*
[conference-server] enabled=true transport=sip:127.0.0.1:6064;transport=tcp conference-factory-uri=sip:conference-factory@sip.example.com enable-one-to-one-chat-room=true outbound-proxy=sip:127.0.0.1:5060;transport=tcp
Any suggestions?
Hi All, please help me out from this bugs...
2019-11-26 07:26:35:497 flexisip-error-DoSProtection: '/sbin/iptables -w -F FLEXISIP 2>&1' failed with output 'iptables: No chain/target/match by that name. '. 2019-11-26 07:26:35:515 flexisip-error-DoSProtection: '/sbin/ip6tables -w -F FLEXISIP 2>&1' failed with output 'ip6tables: No chain/target/match by that name. '. 2019-11-26 07:26:35:692 flexisip-error-Could not create outgoing transaction 2019-11-26 07:26:35:864 belle-sip-error-udp bind() failed for ::0 port 5060: Address already in use 2019-11-26 07:26:35:865 belle-sip-error-TCP bind() failed for ::0 port 5060: Address already in use