The behavior you describe matches the description for DefaultRouter
with javax.sip.USE_ROUTER_FOR_ALL_URIS=false
, as shown in this link. The Route
header takes priority over the outbound proxy setting.
It looks like if you set the property above to true
, all requests will go to the configured proxy address. Another approach would be to push two Route
headers onto the request.