Comment #29 on issue 2066 by jean.deruelle: Miss Record-Route in Response
To Subsequent Requests for non RFC3261 compliant servers
http://code.google.com/p/mobicents/issues/detail?id=2066
The method
SipServletRequestExt.createResponse(int statusCode, String reasonPhrase,
boolean copyRecordRouteHeaders)
has been removed.
You need to update your code to use
((SipSessionExt)sipServletRequest.getSession()).setCopyRecordRouteHeadersOnSubsequentResponses(true);
instead. This way it will deal correctly with Issue 2225 and add the record
route headers to container generated error responses as well.