[OpenSIPS-Users] Radius attributes Vendor-Specific (cisco)
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Dec 26 09:06:05 CET 2014
Hi Kalala,
There were problems with the libradiusclient library - this is
responsible for packing and packing the RADIUS messages, so dealing with
the vendor specific attrs.
Are you using the standard radius dictionary for CISCO attrs ?
Best regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 17.12.2014 16:30, Kalala Alexander wrote:
> aaa_radius module can not read the Radius attributes Vendor-Specific
> (cisco), returns <null>
> How many patches have been, and it still does not work ...
> And even the standard attributes do not read in the presence of the
> attributes of "Vendor-Specific".
> Code: Access-Accept (2)
>
> AVP: l=10 t=Class(25): 3030303030303037
> AVP: l=38 t=Vendor-Specific(26) v=ciscoSystems(9)
> VSA: l=32 t=h323-credit-amount(101): h323-credit-amount=-1666666.67
> AVP: l=25 t=Vendor-Specific(26) v=ciscoSystems(9)
> VSA: l=19 t=h323-currency(110): h323-currency=BLR
> AVP: l=30 t=Vendor-Specific(26) v=ciscoSystems(9)
> VSA: l=24 t=h323-credit-time(102): h323-credit-time=86400
> AVP: l=6 t=Session-Timeout(27): 86400
> Session-Timeout: 10400
> AVP: l=22 t=Vendor-Specific(26) v=ciscoSystems(9)
> VSA: l=16 t=Cisco-Service-Info(251): 1000000.000000
> AVP: l=26 t=Vendor-Specific(26) v=ciscoSystems(9)
> VSA: l=20 t=h323-return-code(103): h323-return-code=0
> modparam("aaa_radius", "sets", "set1 = (
> User-Name=$Au, Sip-Method=$rm,
> Digest-User-Name=$au, Digest-Realm=$ar, Digest-Nonce=$an,
> Digest-Response=$auth.resp, Digest-Algorithm=$auth.alg,
> Acct-Session-Id=$ci, Digest-Method=$avp(metod),
> Digest-URI=$adu, Calling-Station-Id=$Au,
> Called-Station-Id=$tU
> )")
>
> modparam("aaa_radius", "sets", "set2 = (h323-credit-amount=$avp(amount))")
> radius_send_auth("set1","set2");
> switch ($rc) {
> case 1:
> avp_print();
> Dec 17 17:17:58 [3203] INFO:avpops:ops_print_avp: p=0x7fcb10536ea0,
> flags=0x0002
> Dec 17 17:17:58 [3203] INFO:avpops:ops_print_avp: name=<metod>
> Dec 17 17:17:58 [3203] INFO:avpops:ops_print_avp: id=<1>
> Dec 17 17:17:58 [3203] INFO:avpops:ops_print_avp: val_str=<INVITE / 6>
> /--
> С уважением/
> /Инженер по телекоммуникациям /
> /Калала Александр /
> /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/
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141226/0ee52c48/attachment.htm>
More information about the Users
mailing list