<div dir="ltr">UPD: proxy_auth doesn't work either, however I'm sure I have WWW-Auth, not Proxy-Auth :)<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-16 16:23 GMT+02:00 Alexandru Covalschi <span dir="ltr"><<a href="mailto:568691@gmail.com" target="_blank">568691@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello everyone! <br></div><div><div><br></div><div>I need to extract values from authentication header, but<br>408. @authorization["string"]<br>409. @authorization["string"].username<br>410. @authorization["string"].username.user<br>411. @authorization["string"].username.domain<br>412. @authorization["string"].realm<br>413. @authorization["string"].nonce<br>414. @authorization["string"].uri<br>415. @authorization["string"].cnonce<br>416. @authorization["string"].nc<br>417. @authorization["string"].response<br>418. @authorization["string"].opaque<br>419. @authorization["string"].algorithm<br>420. @authorization["string"].qop<br><br></div><div>these values doesn't seem to work for me. <br></div><div>Used <a href="https://github.com/kamailio/kamailio/blob/master/doc/select_list/select_core.txt" target="_blank">https://github.com/kamailio/kamailio/blob/master/doc/select_list/select_core.txt</a> doc.<br><br>                $var(z) = @authorization["string"].realm;<br>                xlog("Realm $var(z)");<br></div><div>Using that simple check I get nothing in $var(z)<br><br>version: kamailio 4.3.3 (x86_64/linux) <br>flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES<br>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB<br>poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>id: unknown <br>compiled with gcc 4.9.2<br><br></div><div>Can anyone check that please? Or maybe syntax is wrong and I need newer selects doc?<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>-- <br><div><div dir="ltr">Alexandru Covalschi<br>ABRISS-Solutions<div>VoIP engineer and system administrator<br>phone: <a href="tel:%2B37367398493" value="+37367398493" target="_blank">+37367398493</a><br>web: <a href="http://abs-telecom.com/" target="_blank">http://abs-telecom.com/</a></div></div></div>
</div></font></span></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Alexandru Covalschi<br>ABRISS-Solutions<div>VoIP engineer and system administrator<br>phone: +37367398493<br>web: <a href="http://abs-telecom.com/" target="_blank">http://abs-telecom.com/</a></div></div></div>
</div>