Hello!
I write my diplomawork, and kindly ask for your help! I would establish a videoconference with SIP protocol between two PCs, one of them using IPv4 and the other uses IPv6. I have access to an RMX 4000 Multipoint Conference Platform with a Kamailio SIP server on it. Were here on the mailing list any previous discussion about translating between the two IP versions? I read some about RTP Proxies, but did not find the proper solution so far. Could somebody help me please?
Best Regards, Peter
Hello,
On 11/19/10 11:46 AM, Komáromi Péter wrote:
Hello!
I write my diplomawork, and kindly ask for your help! I would establish a videoconference with SIP protocol between two PCs, one of them using IPv4 and the other uses IPv6. I have access to an RMX 4000 Multipoint Conference Platform with a Kamailio SIP server on it. Were here on the mailing list any previous discussion about translating between the two IP versions? I read some about RTP Proxies, but did not find the proper solution so far. Could somebody help me please?
Kamailio can bridge SIP between IPv4 and IPv6. Then you need to use RTPProxy (rtpproxy) to bridge the media stream.
There is a config example in sources: modules_k/nathelper/examples/ that you can use as starting point.
Cheers, Daniel
Hello!
Daniel thanks for your help! I'd need a little bit more now, because I have to make the concrete plan for this IPv4-IPv6 SIP communication before I could ask for any modification on the server. There is not installed rtpptoxy on that server, that's why I can not see those example files. And till I do not know these files, I'm not allowed to install the rtpproxy. Vicious circle:) Could somebody send me the modules_k/nathelper/examples ? And if you have any (working!) documented solutin of the mentioned problem, please do not hesitate to send me! :)
Many thanks, Peter
Am 22.11.2010 14:28, schrieb Komáromi Péter:
Hello!
Daniel thanks for your help! I'd need a little bit more now, because I have to make the concrete plan for this IPv4-IPv6 SIP communication before I could ask for any modification on the server. There is not
Anyway, you should not install and test v4-v6 bridging on a production system.
Get somewhere a test server and install Kamailio and rtpproxy. Then you should start with the configuration of the production system: Copy the Kamilio config to your test server and modify it to suite your needs. Once you have tested it thoroughly then you can report to your administrators which changes they should do to the config and how to install rtpproxy.
installed rtpptoxy on that server, that's why I can not see those example files. And till I do not know these files, I'm not allowed to
The example files do not come with rtpproxy, but with the source of Kamilio.
Download the source of Kamilio, then you will find the examples.
install the rtpproxy. Vicious circle:) Could somebody send me the modules_k/nathelper/examples ? And if you have any (working!) documented solutin of the mentioned problem, please do not hesitate to send me! :)
Hey, you are doing a diplomawork, so get your hands dirty and develop it yourself. We are here to answer your questions, but we do not write your diplomawork. ;-)
regards Klaus
Thanks Klaus!
I'm working on it and will have questions in the next couple of days, I'm sure. And you are totally right regarding my hands :)
Best regards, Peter
Hello!
I'm on the way to install kamailio on my ubuntu pc. It's almost complete, but if I prompt the /etc/init.d/kamailio start command, I receive a chown: invalid user: `kamailio:kamailio' message. I searched a lot after and tried to modify to other user, but can not find the right place to change this username.
Shouldn't I replace a valid user in the /etc/init.d/kamailio file in the places of asterisks? MEMORY=$((`echo $MEMORY | sed -e 's/[^0-9]//g'`)) [ -z "$USER" ] && USER=******** [ -z "$GROUP" ] && GROUP=******* [ $MEMORY -le 0 ] && MEMORY=32
Or where should I modify? Maybe should I create somewhere this user?
Thanks a lot! Peter
On Tuesday 23 November 2010, Komáromi Péter wrote:
I'm on the way to install kamailio on my ubuntu pc. It's almost complete, but if I prompt the /etc/init.d/kamailio start command, I receive a chown: invalid user: `kamailio:kamailio' message. I searched a lot after and tried to modify to other user, but can not find the right place to change this username.
Shouldn't I replace a valid user in the /etc/init.d/kamailio file in the places of asterisks? MEMORY=$((`echo $MEMORY | sed -e 's/[^0-9]//g'`)) [ -z "$USER" ] && USER=******** [ -z "$GROUP" ] && GROUP=******* [ $MEMORY -le 0 ] && MEMORY=32
Or where should I modify? Maybe should I create somewhere this user?
Hi Komáromi,
running this cmd as root:
adduser --quiet --system --group --disabled-password \ --shell /bin/false --gecos "Kamailio SIP Server" \ --home /var/run/kamailio kamailio
(adapt the directories to your installation) should do the trick.
Viele Grüße,
Henning
When you install kamailio by using Debian packages then also the users will be created automatically.
Thus, I suggest to download the Kamailio .tar file and build Debian packages with "make deb"
See instructions on the wiki how to build a certain release.
regards Klaus
Am 23.11.2010 14:24, schrieb Komáromi Péter:
Hello!
I'm on the way to install kamailio on my ubuntu pc. It's almost complete, but if I prompt the /etc/init.d/kamailio start command, I receive a chown: invalid user: `kamailio:kamailio' message. I searched a lot after and tried to modify to other user, but can not find the right place to change this username.
Shouldn't I replace a valid user in the /etc/init.d/kamailio file in the places of asterisks? MEMORY=$((`echo $MEMORY | sed -e 's/[^0-9]//g'`)) [ -z "$USER" ]&& USER=******** [ -z "$GROUP" ]&& GROUP=******* [ $MEMORY -le 0 ]&& MEMORY=32
Or where should I modify? Maybe should I create somewhere this user?
Thanks a lot! Peter
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
Hello!
Now I try to install kamailio 3.1 on the basis of Daniel guide (Install And Maintain Kamailio (OpenSER) v3.1.x From GIT). It's quiet ok, but in the 9. point, when it says "The init.d script can be used to start/stop the Kamailio (OpenSER) server in a nicer way. A sample of init.d script for Kamailio (OpenSER) is provided at: /usr/local/src/kamailio-3.1.0/pkg/kamailio/debian/kamailio.init" there is no kamailio.init file. And there is nowhere on the system. Do you know maybe why do not I have it? Or could somebody send me an untouched kamailio.init file?
Thanks a lot! Peter
On 25.11.2010 10:43, Komáromi Péter wrote:
Hello!
Now I try to install kamailio 3.1 on the basis of Daniel guide (Install And Maintain Kamailio (OpenSER) v3.1.x From GIT). It's quiet ok, but in the 9. point, when it says "The init.d script can be used to start/stop the Kamailio (OpenSER) server in a nicer way. A sample of init.d script for Kamailio (OpenSER) is provided at: /usr/local/src/kamailio-3.1.0/pkg/kamailio/debian/kamailio.init" there is no kamailio.init file. And there is nowhere on the system. Do you know maybe why do not I have it? Or could somebody send me an untouched kamailio.init file?
it is pkg/kamailio/deb/debian/kamailio.init
Thanks a lot! Peter
_______________________________________________ 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
Hello all,
I have a properly working kamailio on my computer. I can register from user agents using IPv4, and they are able to call each other (with and without proxy as well). So it seems to be ok. But! If I try to switch the IP addresses to IPv6, the calls between the two hosts are ok, but I cannot register to the server with them and cannot call each other.
When I start kamailio: # /etc/init.d/kamailio start I get the followings:
Starting kamailio: kamailioListening on udp: 127.0.0.1 [127.0.0.1]:5060 udp: 192.168.124.140 [192.168.124.140]:5060 tcp: 127.0.0.1 [127.0.0.1]:5060 tcp: 192.168.124.140 [192.168.124.140]:5060 Aliases: tcp: ubuntu:5060 tcp: localhost:5060 tcp: localhost.localdomain:5060 udp: ubuntu:5060 udp: localhost:5060 udp: localhost.localdomain:5060
So it listens only on IPv4 address socket. There is no IPv6 socket. Is it the normal working, if the interface has both IPv4 and IPv6 address? If yes, how can I manage the registering from the IPv6 agents?
Regards, Peter
Am 29.11.2010 15:04, schrieb Komáromi Péter:
So it listens only on IPv4 address socket. There is no IPv6 socket. Is it the normal working, if the interface has both IPv4 and IPv6 address? If yes, how can I manage the registering from the IPv6 agents?
Have you added an IPv6 address to the listen directive in kamailio.cfg?
I guess default Kamailio uses only the IPv4 addresses. That's why I always use explicit listen commands:
listen=udp:1.2.3.4:5060 listen=tcp:1.2.3.4:5060 listen=udp:[2a02:FFFF:1:1:216:3eff:feef:1ffe]:5060 listen=tcp:[2a02:FFFF:1:1:216:3eff:feef:1ffe]:5060
regards Klaus
Yes, my friend! :) You are right again! I'm closer and closer to the finish. Thanks!