Re: [reSIProcate] Few questions..
...
On Tue, Dec 16, 2008 at 6:54 AM, Gurpreet Sidhu <gurpreet.sidhu@xxxxxxx> wrote:
>
> Hi all
> I am trying to provide the ICE like functionality for NAT traversal.So
> my few questions are
> 1)How can i set the attribute in SDP offer "a=candidate:x.x.x.x" in my
> application.
[Scott] You use the addAttribute method of an SDP media line:
sdp.session().media().front().addAttribute("candidate", "x.x.x.x");
> 2)Is there any way available through which i can apply and check different
> addresses for the RTP.
> For Instance if i call the other side and it fails,Now I want to call using
> another alternative address but without sending new Invite .Is it
> possible??
[Scott] There is no API for connectivity checks built into
resiprocate/dum at this time. ICE connectivity checks take place
outside of SIP signalling - the ICE draft has all of the gory details:
http://tools.ietf.org/html/draft-ietf-mmusic-ice-19
> If yes then any API available for this in Resiprocate or Resiprocate
> Handles it Automatically..??
> Any Help will be Appreciated
[Scott] You could take are a look at the nICEr project in the SVN
tree - it is a standalone ICE library. It is not hooked into any
specific resiprocate based projects at this point, but it is possible
to use it in conjunction with dum (or recon/reflow) and some media
stack with some work.
> Thanks
> Gurpreet Singh Sidhu
>
> ____________________________________________