[SIPForum-discussion] --URGENT HELP NEEDED--
Ganesh Bhattathiri
ganesh_bhattathiri at persistent.co.in
Wed Apr 9 04:45:00 UTC 2008
Hi People,
I am creating SIP parser in JAVA as ma final sem project, now one doubt
which I have is when I was going through the ABNF's of the SIP headers Some
of the values in the ABNF is suppose to be 32LHEX (32 Hex Digits in
lowercase), but the problem is that when implemented these values are
encoded into a base64, how will I go forward with this problem now? How will
I parse such Headers, do I go against the ABNF and use BASE64 in the
expression or do I use 32LHEX and take a risk of getting an error?
The following is one of the header which has the problem what I am speaking
about.
ABNF
Identity= "Identity" HCOLON signed-identity-digest
signed-identity-digest= LDQUOT 32LHEX RDQUOT
While Implementing
Identity:
"sv5CTo05KqpSmtHt3dcEiO/1CWTSZtnG3iV+1nmurLXV/HmtyNS7Ltrg9dlxkWzo
eU7d7OV8HweTTDobV3itTmgPwCFjaEmMyEI3d7SyN21yNDo2ER/Ovgtw0Lu5csIp
pPqOg1uXndzHbG7mR6Rl9BnUhHufVRbp51Mn3w0gfUs="
Can you help me out with this?
RFC 4474 is the RFC for this header used in SIP.
Awaiting for your reply,
Thanks and regards,
Ganesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20080409/fdd1939c/attachment-0002.html>
More information about the discussion
mailing list