<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><tt>Hi Kalala,<br>
<br>
There were problems with the libradiusclient library - this is
responsible for packing and packing the RADIUS messages, so dealing
with the vendor specific attrs.<br>
<br>
Are you using the standard radius dictionary for CISCO attrs ?<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 17.12.2014 16:30, Kalala Alexander wrote:<br>
</div>
<blockquote cite="mid:9509041418826605@web11g.yandex.ru" type="cite">
<div>aaa_radius module can not read the Radius attributes
Vendor-Specific (cisco), returns <null></div>
<div>How many patches have been, and it still does not work ...</div>
<div>And even the standard attributes do not read in the presence
of the attributes of "Vendor-Specific".</div>
<div> </div>
<div>Code: Access-Accept (2)<br>
<br>
AVP: l=10 t=Class(25): 3030303030303037<br>
AVP: l=38 t=Vendor-Specific(26) v=ciscoSystems(9)<br>
VSA: l=32 t=h323-credit-amount(101):
h323-credit-amount=-1666666.67<br>
AVP: l=25 t=Vendor-Specific(26) v=ciscoSystems(9)<br>
VSA: l=19 t=h323-currency(110): h323-currency=BLR<br>
AVP: l=30 t=Vendor-Specific(26) v=ciscoSystems(9)<br>
VSA: l=24 t=h323-credit-time(102): h323-credit-time=86400<br>
AVP: l=6 t=Session-Timeout(27): 86400<br>
Session-Timeout: 10400<br>
AVP: l=22 t=Vendor-Specific(26) v=ciscoSystems(9)<br>
VSA: l=16 t=Cisco-Service-Info(251): 1000000.000000<br>
AVP: l=26 t=Vendor-Specific(26) v=ciscoSystems(9)<br>
VSA: l=20 t=h323-return-code(103): h323-return-code=0</div>
<div> </div>
<div> </div>
<div>modparam("aaa_radius", "sets", "set1 = (<br>
User-Name=$Au, Sip-Method=$rm,<br>
Digest-User-Name=$au, Digest-Realm=$ar, Digest-Nonce=$an,<br>
Digest-Response=$auth.resp, Digest-Algorithm=$auth.alg,<br>
Acct-Session-Id=$ci, Digest-Method=$avp(metod),<br>
Digest-URI=$adu, Calling-Station-Id=$Au,<br>
Called-Station-Id=$tU<br>
)")<br>
<br>
modparam("aaa_radius", "sets", "set2 =
(h323-credit-amount=$avp(amount))")</div>
<div> </div>
<div>radius_send_auth("set1","set2"); <br>
switch ($rc) {<br>
case 1:<br>
avp_print();</div>
<div> </div>
<div>Dec 17 17:17:58 [3203] <a class="moz-txt-link-freetext" href="INFO:avpops:ops_print_avp">INFO:avpops:ops_print_avp</a>:
p=0x7fcb10536ea0, flags=0x0002<br>
Dec 17 17:17:58 [3203] <a class="moz-txt-link-freetext" href="INFO:avpops:ops_print_avp">INFO:avpops:ops_print_avp</a>:
name=<metod><br>
Dec 17 17:17:58 [3203] <a class="moz-txt-link-freetext" href="INFO:avpops:ops_print_avp">INFO:avpops:ops_print_avp</a>: id=<1><br>
Dec 17 17:17:58 [3203] <a class="moz-txt-link-freetext" href="INFO:avpops:ops_print_avp">INFO:avpops:ops_print_avp</a>:
val_str=<INVITE / 6></div>
<div> </div>
<div><em>-- <br>
С уважением</em></div>
<div><em>Инженер по телекоммуникациям </em></div>
<div><em>Калала Александр </em></div>
<div><em>vel: 375291146285</em></div>
<div><em>life: 375256819996</em><em><br>
</em></div>
<div><em>skype: klistrod<br>
</em></div>
<div><em> </em></div>
<div><em>VoIP Network Engineer<br>
dCAP, CCNAVoice<br>
Kalala Alexander</em></div>
<div><a moz-do-not-send="true" href="http://callcenters.by/">http://callcenters.by/</a>
<em></em></div>
<div><a moz-do-not-send="true" href="http://skytel.by/">http://skytel.by/</a></div>
<div><a moz-do-not-send="true" href="http://voiplab.by/">http://voiplab.by/</a></div>
<div><a moz-do-not-send="true" href="http://asterisk-pbx.by/">http://asterisk-pbx.by/</a></div>
<div> </div>
<div><img moz-do-not-send="true"
src="http://skytel.by/images/overview/logo.png"></div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>