Re: [SR-Users] Authorization selects

2015-11-17 Thread Alexandru Covalschi
Thanks! 2015-11-16 23:57 GMT+02:00 Daniel-Constantin Mierla : > Hello, > > you have to replace the string with realm value of the auth header you > want to access its attributes. > > Like: > > @authorization["mydomain.com"].username > > With www-digest auth, there can be many auth headers, each w

Re: [SR-Users] Authorization selects

2015-11-16 Thread Daniel-Constantin Mierla
Hello, you have to replace the string with realm value of the auth header you want to access its attributes. Like: @authorization["mydomain.com"].username With www-digest auth, there can be many auth headers, each with different realm. In sip is very likely to be only one. Cheers, Daniel On 1

Re: [SR-Users] Authorization selects

2015-11-16 Thread Alexandru Covalschi
UPD: proxy_auth doesn't work either, however I'm sure I have WWW-Auth, not Proxy-Auth :) 2015-11-16 16:23 GMT+02:00 Alexandru Covalschi <568...@gmail.com>: > Hello everyone! > > I need to extract values from authentication header, but > 408. @authorization["string"] > 409. @authorization["string"

[SR-Users] Authorization selects

2015-11-16 Thread Alexandru Covalschi
Hello everyone! I need to extract values from authentication header, but 408. @authorization["string"] 409. @authorization["string"].username 410. @authorization["string"].username.user 411. @authorization["string"].username.domain 412. @authorization["string"].realm 413. @authorization["string"].