29 apr 2013 kl. 14:44 skrev "Victor V. Kustov" <coy...@bks.tv>:

> В Mon, 29 Apr 2013 15:34:11 +0300
> Juha Heinanen <j...@tutpro.com> пишет:
> 
> 
>> 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.
> 
> in which avps? 
> 
> kk, radius answer:
> 
> Session-Timeout                  = '4284860'
> next-hop-ip                      = 'SIP/111111111@cisco-out'
> session-protocol                 = 'SIP'
> 
> how i can access to reply?
Documentation says:

All functions of this module load AVPs from SIP-AVP reply items received from 
RADIUS upon a successful request. Value of the SIP-AVP reply item must be a 
string of form:

        • value = SIP_AVP_NAME SIP_AVP_VALUE

        • SIP_AVP_NAME = STRING_NAME | '#'ID_NUMBER

        • SIP_AVP_VALUE = ':'STRING_VALUE | '#'NUMBER_VALUE


/O
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to