Discussion:
[SR-Users] Kamailio with Jitsi - Presence trouble
Gaurav Kumar
2014-09-29 11:49:10 UTC
Permalink
Hello all!I am trying to setup a secure videoconferencing setup for my small office. After a lot of convincing, my bosses have allowed me to create a setup and have given me a live IP. I have used it on a Ubuntu 12.04 setup and want to setup a SIP server for very few users (less than 10, at most) to use it through Jitsi. I am trying to follow the tutorials available at:http://kb.asipto.com/kamailio:skypelikeserviceinlessthanonehour&https://www.johncahill.net/wiki/index.php/SkypelikeconferencingSystemI am able to log into Jitsi on independent machines, both behind and without a firewall. But the trouble I am facing is that the users do not appear online to each other. If I try to send a text message nonetheless, I get the "403 Not allowed" error.At first, I tried the config file for Kamaili
o provided on the first link. It had some problems due to it being an old version and the config file on the 2nd link helped me out. I suspect there is some problem with the PRESENCE module
but I do not know what since it does not give any error whatsoever. I added the "#!define WITHPRESENCE" line and installed the Presence module but to no avail. My current kamailio.cfg file can be seen at: http://pastebin.com/bZJxVLfL(I have hidden my live IP in the text).My current /etc/kamailio/kamctlrc file can be seen at: http://pastebin.com/tV7Z9E8eI can upload the logs/other file content as needed. I am a n00b for Kamailio so you will have to be patient with me.Please help me out here. I have been after it for almost a week now. Cheers!GauravDear srusers! Get Yourself a cool, short @in.com Email ID now!
Gaurav Kumar
2014-09-30 06:50:30 UTC
Permalink
Hello all!I tried sending this earlier too but since I was not subscribed to the mailing list, it bounced back.I am trying to setup a secure videoconferencing setup formy small office. After a lot of convincing, my bosses have allowed meto create a setup and have given me a live IP. I have used it on aUbuntu 12.04 setup and want to setup a SIP server for very few users(less than 10, at most) to use it through Jitsi. I am trying to followthe tutorials available at:http://kb.asipto.com/kamailio:skypelikeserviceinlessthanonehour&https://www.johncahill.net/wiki/index.php/SkypelikeconferencingSystemIam able to log into Jitsi on independent machines, both behind andwithout a firewall. But the trouble I am facing is that the users do notappear online to each other. If I try to send a text message
nonetheless, I get the "403 Not allowed" error.At first, I triedthe config file for Kamailio provided on the first link. It had someproblems due to it being an old version and the config fil
e on the 2ndlink helped me out. I suspect there is some problem with the PRESENCEmodule but I do not know what since it does not give any errorwhatsoever. I added the "#!define WITHPRESENCE" line and installed thePresence module but to no avail. My current kamailio.cfg file can be seen at: http://pastebin.com/bZJxVLfL(I have hidden my live IP in the text).My current /etc/kamailio/kamctlrc file can be seen at: http://pastebin.com/tV7Z9E8eI can upload the logs/other file content as needed. I am a n00b for Kamailio so you will have to be patient with me.Please help me out here. I have been after it for almost a week now. Cheers!GauravDear srusers! Get Yourself a cool, short @in.com Email ID now!
Daniel-Constantin Mierla
2014-09-30 10:23:04 UTC
Permalink
Hello,

you should grab the SIP traffic on kamailio server and send it to the
mailing list. In this way we can spot why you get the 403 Not Allowed.
You can use:

ngrep -d any -qt -W byline "sip" port 5060

Cheers,
Daniel
Post by Gaurav Kumar
Hello all!
I tried sending this earlier too but since I was not subscribed to the
mailing list, it bounced back.
I am trying to setup a secure video-conferencing setup for my small
office. After a lot of convincing, my bosses have allowed me to create
a setup and have given me a live IP. I have used it on a Ubuntu 12.04
setup and want to setup a SIP server for very few users (less than 10,
at most) to use it through Jitsi. I am trying to follow the tutorials
http://kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour
&
https://www.johncahill.net/wiki/index.php/Skype_like_conferencing_System
I am able to log into Jitsi on independent machines, both behind and
without a firewall. But the trouble I am facing is that the users do
not appear online to each other. If I try to send a text message
nonetheless, I get the "403 Not allowed" error.
At first, I tried the config file for Kamailio provided on the first
link. It had some problems due to it being an old version and the
config file on the 2nd link helped me out. I suspect there is some
problem with the PRESENCE module but I do not know what since it does
not give any error whatsoever. I added the "#!define WITH_PRESENCE"
line and installed the Presence module but to no avail.
http://pastebin.com/bZJxVLfL (I have hidden my live IP in the text).
http://pastebin.com/tV7Z9E8e
I can upload the logs/other file content as needed. I am a n00b for
Kamailio so you will have to be patient with me.
Please help me out here. I have been after it for almost a week now.
Cheers!
Gaurav
<http://www3.in.com/sso/commonregister.php?ref=IN&utm_source=invite&utm_medium=outgoing>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Gaurav Kumar
2014-09-30 12:10:25 UTC
Permalink
Hi,I ran the code on my server (as Daniel suggested) and then tried to send message from one user to other but no traffic was detected.ngrep d any qt W byline "sip" port 5060interface: anyfilter: (ip or ip6) and ( port 5060 )match: sipAlso, after I tried to install the PRESENCE module and having restarted the systems today, I noticed that the response that I am getting on Jitsi is "403 Not Relaying" and not "403 Not Allowed". I am not sure what caused the change.I hope someone can help me figure it out.Cheers!Gaurav Original message From:"DanielConstantin Mierla"< miconda-***@public.gmane.org >Date: 30 Sep 14 16:19:30Subject: Re: [SRUsers] Kamailio with Jitsi Presence troubleTo: ; "Kamailio (SER) Users Mailing List"Hello,you should grab the SIP traffic on kamailio server and send it to the mailing
list. In this way we can spot why you get the 403 Not Allowed. You can use:ngrep d any qt W byline "sip" port 5060Cheers, DanielOn 30/09/14 08:50, Gaurav Kumar wrote:Hello all!I tried sendin
g this earlier too but since I was not subscribed tothe mailing list, it bounced back.I am trying to setup a secure videoconferencing setup for mysmall office. After a lot of convincing, my bosses have allowed meto create a setup and have given me a live IP. I have used it on aUbuntu 12.04 setup and want to setup a SIP server for very fewusers (less than 10, at most) to use it through Jitsi. I am tryingto follow the tutorials available at: http://kb.asipto.com/kamailio:skypelikeserviceinlessthanonehour&https://www.johncahill.net/wiki/index.php/SkypelikeconferencingSystemI am able to log into Jitsi on independent machines, both behindand without a firewall. But the trouble I am facing is that theusers do not appear online to each other. If I try to send a textmessage nonetheless, I get the
"403 Not allowed" error.At first, I tried the config file for Kamailio provided on thefirst link. It had some problems due to it being an old versionand the config file on the 2nd link help
ed me out. I suspect thereis some problem with the PRESENCE module but I do not know whatsince it does not give any error whatsoever. I added the "#!defineWITHPRESENCE" line and installed the Presence module but to noavail. My current kamailio.cfg file can be seen at: http://pastebin.com/bZJxVLfL(I have hidden my live IP in the text).My current /etc/kamailio/kamctlrc file can be seen at: http://pastebin.com/tV7Z9E8eI can upload the logs/other file content as needed. I am a n00bfor Kamailio so you will have to be patient with me.Please help me out here. I have been after it for almost a weeknow. Cheers!GauravDear srusers! Get Yourself a cool, short @in.com Email ID now! SIP Express Router (SER) and Kamailio (OpenSER) srusers mailing list srusers-cR8azDVoa3Jn9ZhZhE2RT0B+***@public.gmane.org http://lists.siprouter.
org/cgibin/mailman/listinfo/srusersDanielConstantin Mierla http://twitter.com/#!/miconda http://www.linkedin.com/in/micondaGet Yourself a cool, short @in.com Email ID now!
Loading...