<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    if you are using upcoming 4.4, then new pvs were added:<br>
    <br>
    - <a class="moz-txt-link-freetext" href="https://www.kamailio.org/wiki/features/new-in-4.4.x#pv">https://www.kamailio.org/wiki/features/new-in-4.4.x#pv</a><br>
    <br>
    For older versions, besides the regexp, you can try with
    transformations:<br>
    <br>
    - <a class="moz-txt-link-freetext" href="https://www.kamailio.org/wiki/cookbooks/4.3.x/transformations">https://www.kamailio.org/wiki/cookbooks/4.3.x/transformations</a><br>
    <br>
    Or selects:<br>
    <br>
    -
<a class="moz-txt-link-freetext" href="https://www.kamailio.org/wiki/cookbooks/4.3.x/selects#authorization_s_response">https://www.kamailio.org/wiki/cookbooks/4.3.x/selects#authorization_s_response</a><br>
    <br>
    Note that selects can be accessed with $sel(select.path)<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 07/03/16 01:14, Matthew Harrold
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAC-Lcd9md61VJLhpkauPyFOzMbOG0TRd0PfAeKEd2+_LbEJYxg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi All,
        <div><br>
        </div>
        <div>I am trying to get attributes from the Proxy-Authenticate
          WWW-Authenticate and Authorization headers, namely username,
          realm, uri, nonce, and response, </div>
        <div><br>
        </div>
        <div>I can see some of these are already presented as
          psuedo-variables,  however nonce and response are not.</div>
        <div><br>
        </div>
        <div>What's the most efficient way to obtain these headers? I'm
          currently using a regex, but there must be a more efficient
          method.</div>
        <div><br>
        </div>
        <div>Thanks for your help,</div>
        <div><br>
        </div>
        <div>Matthew</div>
        <div><br>
        </div>
        <div>
          <div><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, March 7-9, 2016 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
  </body>
</html>