[SR-Users] var vs avp...

Juha Heinanen jh at tutpro.com
Mon Apr 29 14:34:11 CEST 2013


Victor V. Kustov writes:

> radius_load_callee_avps(callee)
> 
> I see in doc:
> 
> radius_load_callee_avps("$rU@$rd");	# take callee from Request-URI
> 
> I call this function, but where are results? How can i check errors,
> where i must look results? In which avps?

as the name of the function indicates, the result is in the avps.  if
the function call fails, result value will be -1 as usual and you get
error message to syslog.

-- juha



More information about the sr-users mailing list