Re: Illegal Header

"M. Ranganathan" <[email protected]> Tue, 13 Mar 2007 11:36:40 -0400
Newsgroups gmane.comp.voip.nist-sip
Organization NIST Advanced Networking Technologies Division
Message-ID <001b01c76585$6588d330$0f8c0681@RANGA>
No idea what you are referring to here. Get a copy from cvs or the nightly build snapshot and check for the test case under src/test/unit/gov/nist/javax/sip/parser

ALWAYS report bugs only against the latest version from CVS. It takes time to check out bug reports and it is entirely done on a voluntary basis by me and a few others on this list.

Thanks

Ranga
  ----- Original Message ----- 
  From: Pedro Moita 
  To: mranga 
  Cc: nist-sip 
  Sent: Tuesday, March 13, 2007 7:18 AM
  Subject: Re: [nist-sip] Illegal Header


  Thanks  but I'm using the following version: 
  Manifest-Version: 1.0
  Created-By: 1.4.0 (Sun Microsystems Inc.)

        From "M. Ranganathan" [email protected] 

        To "Pedro Moita" [email protected],"nist-sip" [email protected] 

        Cc  

        Date Mon, 12 Mar 2007 14:37:44 -0400 

        Subject Re: [nist-sip] Illegal Header 

            

  > 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

        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