[OpenSER-Devel] $Au or $aU ?

Juha Heinanen jh at tutpro.com
Thu Feb 7 20:53:18 CET 2008


Iñaki Baz Castillo writes:

 >  $au - username from Authorization or Proxy-Authorization header
 >  $aU - whole username from Authorization or Proxy-Authorization header
 >  $adu - URI from Authorization or Proxy-Authorization header. This URI is used 
 >             when calculating the HTTP Digest Response.
 > 
 > But the fact is that the working variable as "whole username" is $Au
 > (instead of $aU).

$Au does not an auth header attribute:

	{{"aU", (sizeof("aU")-1)}, /* */
		PVT_AUTH_USERNAME_WHOLE, pv_get_authattr, 0,
		0, 0, pv_init_iname, 4},
	{{"Au", (sizeof("Au")-1)}, /* */
		PVT_ACC_USERNAME, pv_get_acc_username, 0,

 > In trunk version I show all those variables (plus $adu):
 > ---------------------
 >  au = 550
 >  aU = 550
 >  Au = 550 at domain.org
 >  adu = sip:called_numer at domain.org
 >  -------------------------

$au is equal to $aU is there is no domain in auth username.

-- juha



More information about the Devel mailing list