[libnice] setup P2P connection for IP phones

tom chen chentom60 at hotmail.com
Wed Sep 9 20:25:06 PDT 2015


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
> 


More information about the nice mailing list