accessing subtypes (tlv)

Juan Pablo L. jpablolorenzetti at hotmail.com
Wed May 15 21:55:56 CEST 2013


Hi, i have downloaded and installed freeradius from git master FreeRADIUS Version 3.0.0 (git #7a9281c), i m developing a module to do some charging based on 3gpp2 standards for a cdma network, i have modified the dictionary to reflect a subtype in one of the attributes: 
ATTRIBUTE      3GPP2-Prepaid-acct-Capability           91       tlvATTRIBUTE       3GPP2-Prepaid-acct-Capability-AvailableInClient   91.1     integer
but i m having trouble accesing 3GPP2-Prepaid-acct-Capability-AvailableInClient, basically i dont know how and i cant find an example in the code so far.
when i do:
ppac = pairfind(request->packet->vps,91.1,5535,TAG_ANY)orppac = pairfind(request->packet->vps,91,5535,TAG_ANY)
they both return null. any hint will be appreciated as to how can i access the values in the subtypesof any tlv-type attribute. the other option is just put back the dictionary to octect type and access the values manuallybut i know this version of freeradius supports tlv so i would like to find a way to do it using freeradius capabilities. thanks!
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130515/7d0d4af6/attachment.html>


More information about the Freeradius-Users mailing list