Comment #7 on issue 2327 by jean.deruelle: Mobicents proxyTo fails when
proxying to "urn:service:sos" Request-URI
http://code.google.com/p/mobicents/issues/detail?id=2327
Both the way to proxy and the fix are not correct.
the way to proxy such a URN should be reversed
request.pushRoute(uri); // uri is routable
proxy.proxyTo(request.getRequestURI()); // Request-URI is urn:service:sos
As for the fix no need to add urn to the list of allowed schemes to be
proxied since if there is no route it should not be proxied, so the
behavior should be kept as is and only be changed if there is a route
header then check the scheme of the first route header.