String contentString = new String(contentBytes);
//SdpFactory sdpFactory = SdpFactory.getInstance();
//SessionDescription sd = sdpFactory
// .createSessionDescription(contentString);
PAssertedIdentityHeader h = (PAssertedIdentityHeader)sipRequest.getHeader(PAssertedIdentityHeader.NAME);
System.out.println( h.getClass() );
System.out.println( h instanceof ExtensionHeader );
System.out.println( h instanceof PAssertedIdentityHeader );
PPreferredIdentityHeader h2 = (PPreferredIdentityHeader) sipRequest.getHeader(PPreferredIdentityHeader.NAME);
System.out.println( h2.getClass() );