Radius server sends a response containing an attribute (Session-Timeout (27): 2342).
How is the value saved in the AVPs using module auch_radius?
Config:
modparam("auth_radius",
"radius_config","/etc/radiusclient-ng/radiusclient.conf")
modparam("auth_radius", "service_type",15)
modparam("auth_radius", "use_ruri_flag", 22)
modparam("auth_radius", "auth_extra",
"Calling-Station-Id=$fU;Called-Station-Id=$tU;Acct-Session-Id=$ci")
if (is_method("REGISTER"))
{
# authenticate the REGISTER requests (uncomment to enable auth)
if (!radius_www_authorize("$td")) {
www_challenge("$td", "0");
exit;
}
if ($au!=$tU)
{
sl_send_reply("403","Forbidden auth ID");
exit;
}
}
...............................
if (from_uri==myself)
{
if (!radius_proxy_authorize("$fd", "$fU")) {
proxy_challenge("$fd", "0");
exit;
}
--
С уважением
Инженер по телекоммуникациям
Калала Александр
vel: 375291146285
life: 375256819996
skype: klistrod
VoIP Network Engineer
dCAP, CCNAVoice
Kalala Alexander
http://callcenters.by/
http://skytel.by/
http://voiplab.by/
http://asterisk-pbx.by/