<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    can you try with:<br>
    <br>
    $sel(authorization[_REALM_].username)<br>
    $sel(authorization[_REALM_].uri)<br>
    $sel(authorization[_REALM_].response)<br>
    <br>
    You have to replace _REALM_ with the value of the realm you are
    using for authentication. Also, if the header you look for is
    Proxy-Puthorization, then replace 'authorization' with
    'proxy_authorization'.<br>
    <br>
    Let me know if works.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 19/08/14 17:20, Kamrul Khan wrote:<br>
    </div>
    <blockquote cite="mid:BLU180-W24373B56389672EA96B732D5D50@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr">Hi Daniel,
        <div><br>
        </div>
        <div>Thanks for your reply. I need username, uri and response.
          We will also pass some custom headers with our SIP. I need a
          way to get that too.</div>
        <div><br>
        </div>
        <div>BR//Kamrul<br>
          <br>
          <div>
            <hr id="stopSpelling">Date: Tue, 19 Aug 2014 10:04:43 +0200<br>
            From: <a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a><br>
            To: <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
            Subject: Re: [SR-Users] How to get SIP parameter values<br>
            <br>
            Do you want a specific attribute from Authorization header
            or the entire header?<br>
            <br>
            $au should return the authentication username. If the select
            you used doesn't work properly, open an issue on tracker not
            to forget about and we will look at it once we get a chance.<br>
            <br>
            Cheers,<br>
            Daniel<br>
            <br>
            <div class="ecxmoz-cite-prefix">On 18/08/14 23:58, Kamrul
              Khan wrote:<br>
            </div>
            <blockquote
              cite="mid:BLU180-W451508ADFB6411935663ED5D40@phx.gbl">
              <div dir="ltr">
                <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
                <div dir="ltr">
                  <div>
                    <div dir="ltr">I want to send the authorization
                      information that I received from my SIP devices to
                      another server for authentication. How to get the
                      values of Authorization header. I tried using
                      hf_value and hf_value2 but for  <b>@hf_value2.Authorization.username</b>
                      I get "Digest" as output. Is there any other way
                      of doing this? </div>
                  </div>
                </div>
              </div>
            </blockquote>
            <br>
            <pre class="ecxmoz-signature">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Next Kamailio Advanced Trainings 2014 - <a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA</pre>
            <br>
            _______________________________________________
            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></div>
        </div>
      </div>
    </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>
Next Kamailio Advanced Trainings 2014 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA</pre>
  </body>
</html>