<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">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?<br></div><div>-- <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></div></div>