[OpenSER-Devel] $Au or $aU ?
Juha Heinanen
jh at tutpro.com
Fri Feb 8 10:43:26 CET 2008
Iñaki Baz Castillo writes:
> Then, what is $Au?
> It seems to be an username for accounting, but where does OpenSer
> extract that field from the INVITE header?
if you check the source, you will find that it is taken from credentials
or (if not found) from from header.
> But usually "U" means just username part, while in this case it seems to be
> the opposite:
> - $au = username from Authorization or Proxy-Authorization header
> - $aU = whole username from Authorization or Proxy-Authorization
> header
i don't think there exist any standard on naming pvars.
> do you mean that $au could be "550" while $aU could be "550 at domain.org" (in
> case the UAC uses user at domain for digest auth?
what do you mean by "for digest auth"? if Digest username has realm
included, $au just includes userpart and $aU includes whole username.
if Digest username does not include realm, then $au == $aU.
-- juha
More information about the Devel
mailing list