I was trying to implement sip redirection. To do this I'm using javax.servlet.sip.Proxy
SipFactory sipFactory = (SipFactory) getServletContext().getAttribute(SIP_FACTORY);
Proxy proxy = request.getProxy();
proxy.setParallel(false);
proxy.setRecordRoute(true);
ArrayList uris = new ArrayList();
SipURI uri2 = sipFactory.createSipURI("48505999666", "some_host");
uris.add(uri2);
proxy.proxyTo(uris);
But in From header i got additional prefix in phone number and on my phone i can't see who is calling. Is there any way to modify From header displayName ?