[sip-comm] Host to Host SIP sessions over IPv6


#1

I am setting up a IPv6 test bed and need a SIP client that I can configure for host-to-host calls.

I was pointed to sip.communicator.org by someone that stated he is using it for IPv6 testing.

So....

For my test bed, I will be putting the IPv6 addresses of the two hosts in the /etc/hosts file (eg one.test and two.test). Can I set up a SIP session between these two hosts? How do I setup the call, and ensure the call is IPv6 on a dual stack systems (there will NOT be any IPv4 entries for these hosts in /etc/hosts, so only v6 SHOULD work).

···

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#2

Hey Robert,

I am setting up a IPv6 test bed and need a SIP client that I can configure
for host-to-host calls.

I was pointed to sip.communicator.org by someone that stated he is using it
for IPv6 testing.

So....

For my test bed, I will be putting the IPv6 addresses of the two hosts in
the /etc/hosts file (eg one.test and two.test). Can I set up a SIP session
between these two hosts?

Right now SC requires a SIP registrar in order to work properly. In
other words you would need to have a working registrar and valid SIP
accounts in order to use it. You can easily have this with Kamailio
http://www.kamailio.org/ (known until recently as OpenSER) or SER
http://iptel.org.

We are working on removing the registrar constraint (discussions are
happening on dev in case you'd like to stay tuned) but even now you
only need the registrar for signalling to pass through. This does not
influence the fact that media would be end-to-end (unless the
registrar overwrites your sdp).

How do I setup the call, and ensure the call is
IPv6 on a dual stack systems (there will NOT be any IPv4 entries for these
hosts in /etc/hosts, so only v6 SHOULD work).

Yes it should. However SC would currently "prefer" IPv4 addresses if
they exist. In order to override this behaviour you should modify your
sip-communicator sh file and add the following to the command that
launches SC:

-Djava.net.preferIPv6Addresses=true

You need this as first argument to the java command.

Hope this helps
Emil

···

On Wed, Jul 30, 2008 at 7:46 PM, Robert Moskowitz <rgm@htt-consult.com> wrote:

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#3

Emil Ivov wrote:

Hey Robert,

I am setting up a IPv6 test bed and need a SIP client that I can configure
for host-to-host calls.

I was pointed to sip.communicator.org by someone that stated he is using it
for IPv6 testing.

So....

For my test bed, I will be putting the IPv6 addresses of the two hosts in
the /etc/hosts file (eg one.test and two.test). Can I set up a SIP session
between these two hosts?
    
Right now SC requires a SIP registrar in order to work properly. In
other words you would need to have a working registrar and valid SIP
accounts in order to use it. You can easily have this with Kamailio
http://www.kamailio.org/ (known until recently as OpenSER) or SER
http://iptel.org.

We are working on removing the registrar constraint (discussions are
happening on dev in case you'd like to stay tuned) but even now you
only need the registrar for signalling to pass through. This does not
influence the fact that media would be end-to-end (unless the
registrar overwrites your sdp).
  

No. I need complete host to host signalling for everything right now for my testing.

Sigh. I will check back later, or just keep me posted.

I suppose I could put pbxsnip up on one of my boxes, but that is actually for AFTER I get the host to host over HIP over IPV6 tested.

  

How do I setup the call, and ensure the call is
IPv6 on a dual stack systems (there will NOT be any IPv4 entries for these
hosts in /etc/hosts, so only v6 SHOULD work).
    
Yes it should. However SC would currently "prefer" IPv4 addresses if
they exist. In order to override this behaviour you should modify your
sip-communicator sh file and add the following to the command that
launches SC:

-Djava.net.preferIPv6Addresses=true

You need this as first argument to the java command.

Hope this helps
  

Yes it does. Keep me posted on how you are progressing.

Off to try something else.

···

On Wed, Jul 30, 2008 at 7:46 PM, Robert Moskowitz <rgm@htt-consult.com> wrote:

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#4

Back from IETF and sundry visits...

Emil Ivov wrote:

Hey Robert,

I am setting up a IPv6 test bed and need a SIP client that I can configure
for host-to-host calls.

I was pointed to sip.communicator.org by someone that stated he is using it
for IPv6 testing.

So....

For my test bed, I will be putting the IPv6 addresses of the two hosts in
the /etc/hosts file (eg one.test and two.test). Can I set up a SIP session
between these two hosts?
    
Right now SC requires a SIP registrar in order to work properly. In
other words you would need to have a working registrar and valid SIP
accounts in order to use it. You can easily have this with Kamailio
http://www.kamailio.org/ (known until recently as OpenSER) or SER
http://iptel.org.

We are working on removing the registrar constraint (discussions are
happening on dev in case you'd like to stay tuned) but even now you
only need the registrar for signalling to pass through. This does not
influence the fact that media would be end-to-end (unless the
registrar overwrites your sdp).

How do I setup the call, and ensure the call is
IPv6 on a dual stack systems (there will NOT be any IPv4 entries for these
hosts in /etc/hosts, so only v6 SHOULD work).
    
Yes it should. However SC would currently "prefer" IPv4 addresses if
they exist. In order to override this behaviour you should modify your
sip-communicator sh file and add the following to the command that
launches SC:

-Djava.net.preferIPv6Addresses=true

You need this as first argument to the java command.

Hope this helps

Well, I will need a lot of help. Never did any java programming or the like......

I am running from the rpm for Redhat/Fedora on Centos 5.2. I see the script in /usr/bin but really don't see how to add this arguement into the java command. I note that this is one loooooongggg command right now!

···

On Wed, Jul 30, 2008 at 7:46 PM, Robert Moskowitz <rgm@htt-consult.com> wrote:

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#5

Hi Robert,

No. I need complete host to host signalling for everything right now for my testing.

You may give a try to this patch which allows to get rid off the registrar:
http://students.info.uaic.ro/~eonica/sc/no-registrar.patch

It is supposed to be applied on top of another patch so you may have warnings when trying to apply it.
More information on the patch on this page:
http://sipcommkeysharing.blogspot.com/

Cheers,
romain

···

On 2008/07/31, at 15:11, Robert Moskowitz wrote:

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#6

Actually now that I think of it. We only need the registrar in order
to register. You can however not set a proxy and your signalling would
be end-to-end (I believe).

Anyways we'll be removing the whole registrar constraint really soon
so stay tuned.

Cheers
Emil

···

On Thu, Jul 31, 2008 at 3:11 PM, Robert Moskowitz <rgm@htt-consult.com> wrote:

No. I need complete host to host signalling for everything right now for my
testing.


#7

Romain KUNTZ wrote:

Hi Robert,

No. I need complete host to host signalling for everything right now for my testing.

You may give a try to this patch which allows to get rid off the registrar:
http://students.info.uaic.ro/~eonica/sc/no-registrar.patch

It is supposed to be applied on top of another patch so you may have warnings when trying to apply it.
More information on the patch on this page:
http://sipcommkeysharing.blogspot.com/

And how do I apply these patches? I am running the 1.0-alpha2 rpm on Centos 5.2

···

On 2008/07/31, at 15:11, Robert Moskowitz wrote:

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#8

Any progress on IPv6 support?

···

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#9

Hi Robert,

You may give a try to this patch which allows to get rid off the registrar:
http://students.info.uaic.ro/~eonica/sc/no-registrar.patch

It is supposed to be applied on top of another patch so you may have warnings when trying to apply it.
More information on the patch on this page:
http://sipcommkeysharing.blogspot.com/

And how do I apply these patches? I am running the 1.0-alpha2 rpm on Centos 5.2

If you are not a developer, this may not be an easy operation, because we have to re-compile SIP Communicator from the sources.
Here is the procedure, feel free to post a mil if something is unclear:

- Download the source package (http://www.sip-communicator.org/download/nightly-builds/src/) and uncompress it
- copy the no-registrar patch in the sip-communicator/ directory
- apply the patch from the command line, in the sip-communicator directory : "patch -p1 < no-registrar.patch"
- compile sip-communicator (http://www.sip-communicator.org/index.php/Documentation/RetrievingAndBuildingTheSources)

Cheers,

···

On 2008/08/11, at 19:48, Robert Moskowitz wrote:
--
Romain KUNTZ
kuntz@lsiit.u-strasbg.fr
LSIIT - Networks and Protocols Team
http://clarinet.u-strasbg.fr/~kuntz/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#10

Hey Robert,

There has indeed been one new feature regarding IPv6. You can now force
use of IPv6 by using the -6 or --ipv6 options. This would make SC use
IPv6 in cases where a domain name could be resolved to both IPv6 and IPv4.

Other than that, the other feature that you were interested on (and that
is not directly related to IPv6) is the possibility to establish direct
P2P calls has not been integrated in the client but it shouldn't be
long. We'll probably manage in the following month or so.

Cheers
Emil

Robert Moskowitz написа:

···

Any progress on IPv6 support?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#11

Hi.

My name is Oscar, I have been tring to get a video call with SIP
communicator using SIP protocol for a couple of weeks but I could not
success.

I read that SIP communicator support Video Call via SIP. But there is no
option on the UI. Anyway I notice that SIP communicator active my usb Web
Cam. So It shoud be a possibility to get Video Call. I read a post on
markmail.org from Emil but I coud not success.

How can I configured SIP communicator to use a media source or a video
stream from a web cam?

How can I configured the other host to capture that video stream with SIP
communicator?

I like a lot this project, I would like to help but I still have to learn a
lot about Java. I can program in C and I started Java only 3 weeks ago.

Thanks in advance
Kind Regards,
Oscar


#12

Emil Ivov wrote:

Hey Robert,

There has indeed been one new feature regarding IPv6. You can now force
use of IPv6 by using the -6 or --ipv6 options. This would make SC use
IPv6 in cases where a domain name could be resolved to both IPv6 and IPv4.
  
How does this option work? Where do I put it? Or where will I find it covered in the documentation? I will be downloading the current code shortly.

Other than that, the other feature that you were interested on (and that
is not directly related to IPv6) is the possibility to establish direct
P2P calls has not been integrated in the client but it shouldn't be
long. We'll probably manage in the following month or so.

Thank you for this update. I am aware of a P2PSIP project that acts as a proxy to a SIP client that is working on their IPv6 code. If that is not ready yet, I will use the IPv6 version of pbxnsip for now.

···

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#13

So sorry, this email is not in here.

···

---------- Forwarded message ----------

From: Óscar Sánchez <oscarsancheziglesias@gmail.com>

Date: 2008/8/12
Subject: Re: [sip-comm] Host to Host SIP sessions over IPv6
To: users@sip-communicator.dev.java.net

Hi.

My name is Oscar, I have been tring to get a video call with SIP
communicator using SIP protocol for a couple of weeks but I could not
success.

I read that SIP communicator support Video Call via SIP. But there is no
option on the UI. Anyway I notice that SIP communicator active my usb Web
Cam. So It shoud be a possibility to get Video Call. I read a post on
markmail.org from Emil but I coud not success.

How can I configured SIP communicator to use a media source or a video
stream from a web cam?

How can I configured the other host to capture that video stream with SIP
communicator?

I like a lot this project, I would like to help but I still have to learn a
lot about Java. I can program in C and I started Java only 3 weeks ago.

Thanks in advance
Kind Regards,
Oscar


#14

Robert Moskowitz написа:

Emil Ivov wrote:

Hey Robert,

There has indeed been one new feature regarding IPv6. You can now force
use of IPv6 by using the -6 or --ipv6 options. This would make SC use
IPv6 in cases where a domain name could be resolved to both IPv6 and IPv4.
  
How does this option work? Where do I put it? Or where will I find it
covered in the documentation? I will be downloading the current code
shortly.

If you are running the application from binaries, simply add

--ipv6 when launching the application or in other words something like:

$ /usr/bin/sip-communicator --ipv6

if you are running SC from code then you can use the option this way:

ant run -Dargs="--ipv6"

Thank you for this update. I am aware of a P2PSIP project that acts as
a proxy to a SIP client that is working on their IPv6 code. If that is
not ready yet, I will use the IPv6 version of pbxnsip for now.

SER and OpenSER (or its OpenSIPS and Kamailio forks) also support IPv6
and are relatively easy to install.

Hope this helps
Cheers
Emil

···

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#15

Emil Ivov wrote:

Robert Moskowitz написа:
  

Thank you for this update. I am aware of a P2PSIP project that acts as a proxy to a SIP client that is working on their IPv6 code. If that is not ready yet, I will use the IPv6 version of pbxnsip for now.
    
SER and OpenSER (or its OpenSIPS and Kamailio forks) also support IPv6
and are relatively easy to install.

hmmm. I see opensips, but if it does not come in a nice ISO total package, then I want rpms for Centos. I've got enough other challenges NOT to have to struggle with additional Linux distros or more building than HIPL is making me do...

···

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#16

OpenSIPS and Kamailio are both recent forks of the OpenSER project.
You'll should be able to easily find rpms for OpenSER.

···

On Tue, Sep 16, 2008 at 11:53 PM, Robert Moskowitz <rgm@htt-consult.com> wrote:

Emil Ivov wrote:

Robert Moskowitz написа:

Thank you for this update. I am aware of a P2PSIP project that acts as a
proxy to a SIP client that is working on their IPv6 code. If that is not
ready yet, I will use the IPv6 version of pbxnsip for now.

SER and OpenSER (or its OpenSIPS and Kamailio forks) also support IPv6
and are relatively easy to install.

hmmm. I see opensips, but if it does not come in a nice ISO total package,
then I want rpms for Centos. I've got enough other challenges NOT to have to
struggle with additional Linux distros or more building than HIPL is making
me do...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#17

Hey Robert,

You are probably going to find the the no registrar patch mentioned here:

https://sip-communicator.dev.java.net/servlets/ReadMsg?list=dev&msgNo=4506

useful for your setup. SIP Communicator's latest nightly builds now
support a "no registrar" mode which, IIRC is what you were asking for at
one point.

Hope this helps
Emil

Emil Ivov написа:

···

OpenSIPS and Kamailio are both recent forks of the OpenSER project.
You'll should be able to easily find rpms for OpenSER.

On Tue, Sep 16, 2008 at 11:53 PM, Robert Moskowitz <rgm@htt-consult.com> wrote:

Emil Ivov wrote:

Robert Moskowitz написа:

Thank you for this update. I am aware of a P2PSIP project that acts as a
proxy to a SIP client that is working on their IPv6 code. If that is not
ready yet, I will use the IPv6 version of pbxnsip for now.

SER and OpenSER (or its OpenSIPS and Kamailio forks) also support IPv6
and are relatively easy to install.

hmmm. I see opensips, but if it does not come in a nice ISO total package,
then I want rpms for Centos. I've got enough other challenges NOT to have to
struggle with additional Linux distros or more building than HIPL is making
me do...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#18

Emil Ivov wrote:

Hey Robert,

You are probably going to find the the no registrar patch mentioned here:

https://sip-communicator.dev.java.net/servlets/ReadMsg?list=dev&msgNo=4506

useful for your setup. SIP Communicator's latest nightly builds now
support a "no registrar" mode which, IIRC is what you were asking for at
one point.
  
This is fantastic! I am going to have to put in some serious time tomorrow on this. I have been spinning my wheels getting an IPv6 SIP server up at this point. pbxnsip is NOT an easy install; at least with the non-documentation provided.

···

Hope this helps
Emil

Emil Ivov написа:
  

OpenSIPS and Kamailio are both recent forks of the OpenSER project.
You'll should be able to easily find rpms for OpenSER.

On Tue, Sep 16, 2008 at 11:53 PM, Robert Moskowitz <rgm@htt-consult.com> wrote:
    

Emil Ivov wrote:
      

Robert Moskowitz написа:

Thank you for this update. I am aware of a P2PSIP project that acts as a
proxy to a SIP client that is working on their IPv6 code. If that is not
ready yet, I will use the IPv6 version of pbxnsip for now.

SER and OpenSER (or its OpenSIPS and Kamailio forks) also support IPv6
and are relatively easy to install.
        

hmmm. I see opensips, but if it does not come in a nice ISO total package,
then I want rpms for Centos. I've got enough other challenges NOT to have to
struggle with additional Linux distros or more building than HIPL is making
me do...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net