Comment #1 on issue 3263 by [email protected]:
B2buaHelper.createRequest does not honor an empty Route list as part of the
header-map
http://code.google.com/p/mobicents/issues/detail?id=3263
Fix is easy: in B2buaHelperImpl.retrieveContactHeaders remove the following
if statement:
if (entry.getValue().size() > 0) {
newRequest.removeHeader(headerName);
}
hence, you end up with:
newRequest.removeHeader(headerName);
and that will remove any headers that are defined in the map irrespective
of whether they actually has values defined. 289 is not 100% clear here but
this is what was suggested on the 359 expert list here:
http://java.net/projects/sipservlet-spec/lists/jsr359-experts/archive/2013-01/message/7