[sip-comm-dev] sip communicator and kamailio xcap tutorial


#1

Hello,

first, thanks to SC developers for adding xcap support in SC and providing assistance with it.

I published a tutorial of how to use Kamailio's embedded XCAP server with latest build of SIP Communicator:
- http://bit.ly/btrJij

Hope is helpful for some people here.

Cheers,
Daniel

···

--
Daniel-Constantin Mierla
http://www.asipto.com

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


#2

Hi,

Great thanks for sharing it with us!
I saw on the link you've provided that the xcap server is accessible
and through https (port 443) is that right and can you bind it to an
ipv6 address?

Thanks
damencho

···

On Fri, Oct 1, 2010 at 11:52 AM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,

first, thanks to SC developers for adding xcap support in SC and providing
assistance with it.

I published a tutorial of how to use Kamailio's embedded XCAP server with
latest build of SIP Communicator:
- http://bit.ly/btrJij

Hope is helpful for some people here.

Cheers,
Daniel

--
Daniel-Constantin Mierla
http://www.asipto.com

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

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


#3

Hello,

Hi,

Great thanks for sharing it with us!
I saw on the link you've provided that the xcap server is accessible
and through https (port 443) is that right and can you bind it to an
ipv6 address?

xcap traffic has to be sent over same connection at sip. Practically kamailio detects whether is sip or http and calls the appropriate route in config.

If you load tls module, then you have support for tls communication, then by adding in config:

listen=tls:_your_ip_:443

kamailio will be able to receive sip and http over tls on 443 (making that to be sips or https). Further, if you want to restrict the traffic based on local port, so you have only sip to 5060 and only xcap to 443, you can have conditions like:

- in main route (handling sip traffic)

route {
...
   if($Rp==443) {
      # sip traffic coming to port 443, deny
      sl_send_reply("403", "Use proper port");
      exit;
   }
...
}

- in xhttp event route (handling http traffic)

event_route[xhttp:request] {
...
   if($Rp==5060) {
      # http traffic coming to port 5060, deny
      sl_send_reply("403", "Use proper port");
      exit;
   }
...
}

Cheers,
Daniel

···

On 10/1/10 11:12 AM, Damian Minkov wrote:

Thanks
damencho

On Fri, Oct 1, 2010 at 11:52 AM, Daniel-Constantin Mierla > <miconda@gmail.com> wrote:

  Hello,

first, thanks to SC developers for adding xcap support in SC and providing
assistance with it.

I published a tutorial of how to use Kamailio's embedded XCAP server with
latest build of SIP Communicator:
- http://bit.ly/btrJij

Hope is helpful for some people here.

Cheers,
Daniel

--
Daniel-Constantin Mierla
http://www.asipto.com

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

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

--
Daniel-Constantin Mierla
http://www.asipto.com

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