<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 23/02/2017 12:18, Daniel Tryba
      wrote:<br>
    </div>
    <blockquote cite="mid:20170223111854.GA14158@office.pocos.nl"
      type="cite">
      <pre wrap="">On Thu, Feb 23, 2017 at 12:54:17PM +0530, <a class="moz-txt-link-abbreviated" href="mailto:vivek@advaitamtech.com">vivek@advaitamtech.com</a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">
It dint solve my problem. Am not able to get the proxy authenticate
header values using the module you mentioned too.  Does this allow to
fetch the SIP header individually?
</pre>
      </blockquote>
      <pre wrap="">  
Yes, it use it to extract (part of) the contact header on a 302 redirect
reply:
$(T_rpl($ct){nameaddr.uri})
or some custom headers I inject in the redirector:
$T_rpl($hdr(X-fax))

</pre>
    </blockquote>
    Maybe it worth saying that these variables can be used inside the
    failure_route.<br>
    <br>
    If you need to get the header in [on]reply_route, then just use the
    $hdr(<font face="arial" size="2">Proxy-Authenticate) and it will
      return the header body. Then look at transformations to extract
      parts of it.<br>
      <br>
      Cheers,<br>
      Daniel<br>
    </font>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>