Re: AssertedIdentityHeader JAIN SIP 1.2
"Jeroen van Bemmel" <[email protected]>
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Message-ID | <00d701c6e3e0$1a01e8b0$0601a8c0@BEMBUSTER> |
Carolina, I ran a quick test: AssertedIdentityHeader h = (AssertedIdentityHeader)sipRequest.getHeader(AssertedIdentityHeader.NAME); System.out.println( h.getClass() ); System.out.println( h instanceof ExtensionHeader ); System.out.println( h instanceof AssertedIdentityHeader ); this gives class gov.nist.javax.sip.header.ims.AssertedIdentity true true for the latest CVS sources. Could you 1) Make sure you have the very latest sources, and no old jars hanging around in the CLASSPATH 2) share the SIP message that is being parsed? Regards, Jeroen ----- Original Message ----- From: Carolina Benavides Cabrera To: [email protected] Sent: Friday, September 29, 2006 4:10 PM Subject: [nist-sip] AssertedIdentityHeader JAIN SIP 1.2 Hi The exception java.lang.ClassCastException : gov.nist.javax.sip.header.ExtensionHeaderImpl is only whit the AssertedIdentityHeader, others IMS headers work well. Can somebody look the API? Regards. Carolina ------------------------------------------------------------------------------ _______________________________________________ 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