Re: Illegal Header

"M. Ranganathan" <[email protected]> Mon, 12 Mar 2007 14:37:44 -0400
Newsgroups gmane.comp.voip.nist-sip
Organization NIST Advanced Networking Technologies Division
Message-ID <003701c764d5$8634fe20$0f8c0681@RANGA>
Sorry for the spam. The mistake was in the test case. 



 In fact both headers parse fine. I am not sure where the problem is coming from. Check src/test/unit/gov/nist/javax/sip/parser/RouteParserTest.java

and RecordRouteParserTest.java in the same directory.

You will see it parses fine. The problem is elsewhere ( maybe reported wrong in debuglog.txt ). Try creating a Request using the entire String of the message i.e.

MessageFactory.createRequest(String) 

and see where it barfs.

  ----- Original Message ----- 
  From: Pedro Moita 
  To: nist-sip 
  Sent: Monday, March 12, 2007 11:41 AM
  Subject: [nist-sip] Illegal Header


  Hi,



  One header router and record-route sent by Ericsson IMS Core not parsed correctly by NIST stack. The Ericsson IMS Core sends:

  ...

  Via: SIP/2.0/UDP 213.0.115.163:7070;branch=z9hG4bK2ca3c285b683ded18fc024f539f79701jaaaaaaiaaaaaanmwndxa3Zqkv5r2upjsj4l0fzya

  Via: SIP/2.0/UDP 213.30.57.204:5061;branch=z9hG4bKB3FB6ABA0C954CCE92554524CAED068D;received=83.174.39..68;rport

  Route: <sip:voorig.siplab.domain.com;lr;call=orig>

  Route: <sip:3Zqkv5dajqaaas0tCjCxT0xH2ZEuEMsFl0xoasip%3A%2B3519116786244%[email protected]:7070;lr>

  Record-Route: <sip:3Zqkv5bGjusip%3A%2B3519116786244%[email protected]:7070;maddr=213.0.115.163;lr>

  Contact: <sip:[email protected]:5061>

  ...

  Second header route and record-route in not inserted in the Request java class. The NIST SIP stack logs have the following message (nistdebug.log):

  ...

  Illegal Header : Route: <sip:3Zqkv5dajqaaas0tCjCxT0xH2ZEuEMsFl0xoasip%3A%2B3519116786244%[email protected]:7070;lr>

  Illegal Header : Record-Route: <sip:3Zqkv5bGjusip%3A%2B3519116786244%[email protected]:7070;maddr=213.0.115.163;lr>

  ..

   

  Any idea what could be the problem?

   

  Thanks,

  Pedro Moita

        This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

       



------------------------------------------------------------------------------


  _______________________________________________
  nist-sip mailing list
  [email protected]
  http://www-x.antd.nist.gov/mailman/listinfo/nist-sip

_______________________________________________
nist-sip mailing list
[email protected]
http://www-x.antd.nist.gov/mailman/listinfo/nist-sip