Hello,
I have configured TLS on kamailio server. Problem is that in kamailio.cfg, when I use command port =5061. Kamailio doesnot start and error given in logs is
ERROR: tcp_init : bind(a, 0x9007f4, 16) on MyIP:5061 : Adress already in use ERROR: Error while initializing TCP port of TLS Socket MyIP:5061
I tried the command " netstat -lntp | grep 5061 " to see what service or app is using the port 5061. I found no result. It is not used by any application apparently.
Any help will be highly appreciated. Thanks. Aawaise
-- View this message in context: http://sip-router.1086192.n5.nabble.com/Port-5061-problem-tp127464.html Sent from the Users mailing list archive at Nabble.com.
Hi Everyone,
Good Day to you.
I am new Kamailio. How to find who are the users who are logged into SIP server?
Is there any table where we can find out who has logged in and online?
Please assist.
Thanks SamG
U can install siremis and check out who has logged in by seeing location table. U will find online help about siremis. Second option is that u can use command "./kamctl online users" to find out about logged in users.
-- View this message in context: http://sip-router.1086192.n5.nabble.com/Port-5061-problem-tp127464p127466.ht... Sent from the Users mailing list archive at Nabble.com.
Hi,
Thanks for your reply. I have installed Siremis.
When I login, sometimes the username is not shown in location table. I checked in Siremis and in the Kamalio Table too.
Moreover, when I logout the location , the username still appears in Location.
Is there any other way to see the users logged in real-time.
Thanks SamG
----- Original Message ----- From: "aawaise" owaisulhaq@hotmail.com To: sr-users@lists.sip-router.org Sent: Monday, May 05, 2014 12:16 PM Subject: Re: [SR-Users] Active Users in Kamailio
U can install siremis and check out who has logged in by seeing location table. U will find online help about siremis. Second option is that u can use command "./kamctl online users" to find out about logged in users.
-- View this message in context: http://sip-router.1086192.n5.nabble.com/Port-5061-problem-tp127464p127466.ht... Sent from the Users mailing list archive at Nabble.com.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4570 / Virus Database: 3931/7440 - Release Date: 05/04/14
On 05 May 2014, at 06:21, sam@dsmedia.com.sg sam@dsmedia.com.sg wrote:
Hi,
Thanks for your reply. I have installed Siremis.
When I login, sometimes the username is not shown in location table. I checked in Siremis and in the Kamalio Table too.
What is a "username" for you?
Moreover, when I logout the location , the username still appears in Location.
What is "login" and "logout" for you?
SIP devices REGISTER for a limited period of time. A few softphones de-REGISTER when you shut them down, but otherwise, the registration stays active until expiry, regardless of their network connection state.
Phones that follow new standards like SIP outbound can be said to have a "login" state that depends on the availability of at least one open IP network flow, but very few phones have implemented that. This is very much like XMPP that has a state that depends on their network availability as a base for "login"/"logout" states.
What you see in the location table is the state of registrations. If you want to save something else than the basics - contact, addresses and From: URI, like the authentication username, you can do that but will have to add it to your configuration.
Cheers, /O
Is there any other way to see the users logged in real-time.
Thanks SamG
----- Original Message ----- From: "aawaise" owaisulhaq@hotmail.com To: sr-users@lists.sip-router.org Sent: Monday, May 05, 2014 12:16 PM Subject: Re: [SR-Users] Active Users in Kamailio
U can install siremis and check out who has logged in by seeing location table. U will find online help about siremis. Second option is that u can use command "./kamctl online users" to find out about logged in users.
-- View this message in context: http://sip-router.1086192.n5.nabble.com/Port-5061-problem-tp127464p127466.ht... Sent from the Users mailing list archive at Nabble.com.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4570 / Virus Database: 3931/7440 - Release Date: 05/04/14
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
On Sun, May 4, 2014 at 11:07 PM, aawaise owaisulhaq@hotmail.com wrote:
Hello,
I have configured TLS on kamailio server. Problem is that in kamailio.cfg, when I use command port =5061. Kamailio doesnot start and error given in logs is
ERROR: tcp_init : bind(a, 0x9007f4, 16) on MyIP:5061 : Adress already in use ERROR: Error while initializing TCP port of TLS Socket MyIP:5061
By default, Kamailio will try to listen on all interfaces on tcp/5061 if you have TLS enabled. By using "port=5061", you're trying to have Kamailio listen on tcp/5061 twice. Remove it. If you need to override Kamailio's default listen behavior, use the "listen" directive.
listen=tls:192.0.2.1:5061
Corey