All, In the standard header there is a code, Identifier, length and authenticator fields. For the length, is that the sum of all the vp->lengths + 20 for the standard header. My reason for this question is that I'm trying to rationalise an example I've got. I.e. how do you get 164 See below: Code =1 Identifier =1 Length =164 Authenticator = 56 7b e6 9a 8e 43 cf b6 fb a6 c0 f0 9a 92 6f 0e These are standard header, therefore 164 - 20 = 144 Attributes: NAS-IP-Address =d5 89 45 26 4 NAS-PORT-TYPE =5 (virtual) 1 User-Name ="12345678" 8 Disgest-Response ="2ae133421cda65d67dc50d13ba0eb9bc" 32 Digest-Attributes= Realm(1) = "deltathree" 10 Nonce(2) = "3bada1a0" 8 Method(3) = "INVITE" 6 URI(4) = "sip:96226491335@213.137.69.38" 29 Algorithm(5) = "md5" 3 User-Name(10) = "12345678" 8 Equals = 109 (35 not accounted for ?) Ian Davies {02476 564662} Internal (x740 4662) IMS-SIPAC Software Development Engineer