Benny Prijono wrote: > On Wed, Aug 20, 2008 at 7:10 PM, Pedro Gon?alves > <pedro.pandre at gmail.com <mailto:pedro.pandre at gmail.com>> wrote: > > Hi! > > I am trying to use pjturn_client. > First of all, the Visual Studio project in SVN does not compile (I had > to tell him where the libs for pjlib, pjlib-util and pjnath were). > After that, I was able to compile the client. > > However, I am a bit confused: does this client use the latest TURN and > STUN protocol versions, as told here: > http://www.pjsip.org/pjnath/docs/html/index.htm? > I am asking this because I am testing it and I see that after > sending an > Allocate Request and receiving an Allocate Response, the client > sends a > Send Request (Message Type 0x0004). > This doesn't seem to exist in > http://tools.ietf.org/html/draft-ietf-behave-turn-07, which is > stated to > be the TURN version in use by PJSIP. > > Am I right or am I just confused? > > > Message type 0x0004 is Refresh request according to the latest TURN, > and not Send request. > > -benny "Latest TURN" is quite ambiguous, since a more recent of TURN (http://tools.ietf.org/html/draft-ietf-behave-turn-09) exists, and in PJSIP's website is stated that http://tools.ietf.org/html/draft-ietf-behave-turn-07 is currently being used. But you're right, 0x0004 is a Refresh in both versions of TURN stated above. It is probably a problem with WireShark However, I do have another question: Why is that the Send Indication's type has a value of 0x0016? Shouldn't it be 0x0006? The same applies for Data Indication. Thank you in advance for the clarification Pedro Gon?alves