[libnice] setup P2P connection for IP phones

Philip Withnall philip at tecnocode.co.uk
Thu Sep 10 00:31:02 PDT 2015


libnice does not do SIP; for that you need a SIP library. libnice only
does the STUN, ICE and TURN protocols.

On Wed, 2015-09-09 at 20:25 -0700, tom chen wrote:
> For connectivity establishment of voip phones, it seems that the SIP
> INVITE 
> command packet which is used to initiate a phone call over internet,
> should 
> contain the credential, ie the "ice-ufrag" and "ice-pwd" attributes, 
> together with candidates. If so, then I do not need to manually copy
> & 
> paste. But does libnice issue SIP INVITE command? I do not see it
> from 
> wireshark trace yet.
> 
> v=0
> o=jdoe 2890844526 2890842807 IN IP4 10.0.1.1
> s=
> c=IN IP4 192.0.2.3
> t=0 0
> a=ice-pwd:asd88fgpdd777uzjYhagZg         <<== password
> a=ice-ufrag:8hhY                                     <<== username
> m=audio 45664 RTP/AVP 0
> a=rtpmap:0 PCMU/8000
> a=candidate:1 1 UDP 2130706178 10.0.1.1 8998 typ local
> a=candidate:2 1 UDP 1694498562 192.0.2.3 45664 typ srflx raddr
> 10.0.1.1 
> rport 8998
> 
> 
> Tom
> 
> 
> 
> --------------------------------------------------
> From: "Philip Withnall" <philip at tecnocode.co.uk>
> Sent: Wednesday, September 09, 2015 3:36 AM
> To: "tom chen" <chentom60 at hotmail.com>; <nice at lists.freedesktop.org>
> Subject: Re: [libnice] setup P2P connection for IP phones
> 
> > _______________________________________________
> > nice mailing list
> > nice at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/nice
> > 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/nice/attachments/20150910/f0b6b669/attachment.sig>


More information about the nice mailing list