title: SIP Redirect via Proxy (SIP.js)
body: <p>I'm trying to create a minimal SIP Proxy that serves one purpose: redirects requests to another domain. The catch is the domain I'm redirecting to requires authorization so I assume I need to rewrite some SIP attributes since SIP authorization is based partly on the domain name of the destination.</p>
  
  <p>I've tried issuing a 302 redirect as well as simply proxying and changing the values of each SIP request but none seem to quit do the trick. I'm using a node.js library (sip.js) and have tried the redirect and proxy modules (<a href="https://github.com/kirm/sip.js/blob/master/doc/api.markdown" rel="nofollow">https://github.com/kirm/sip.js/blob/master/doc/api.markdown</a>).</p>
  
  <p>Any ideas exactly how I need to modify the SIP data to redirect requests to another domain and enable authentication to take place against that other domain?</p>