<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Pack and unpack Radius VSA attributes in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/pack-and-unpack-radius-vsa-attributes/m-p/1538528#M259478</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the specific VSA you used in the example (h323-incoming-conf-id), (1) is the correct encoding, since Cisco VSA vendor type 1 (also more commonly referred to as&amp;nbsp; cisco AV Pair) is always encoded in strings with the format of "attribute=value". This applies to other cisco VSAs that use string encoding as well. For VSA's that don't use string encoding, eg., fax-pages (vendor type 5, encoding integer), it typically doesn't include the value. You should be able to check that against the vendor dictionary to confirm. Please also see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cisco.com/en/US/docs/ios/voice/cdr/developer/guide/cdrdefs.html"&gt;http://www.cisco.com/en/US/docs/ios/voice/cdr/developer/guide/cdrdefs.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Wen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Oct 2010 19:33:50 GMT</pubDate>
    <dc:creator>wzhang</dc:creator>
    <dc:date>2010-10-19T19:33:50Z</dc:date>
    <item>
      <title>Pack and unpack Radius VSA attributes</title>
      <link>https://community.cisco.com/t5/network-access-control/pack-and-unpack-radius-vsa-attributes/m-p/1538527#M259450</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;As far as I know there are some methods to pack radius VSA attributes. Here are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;As the part of Cisco-AVPair&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;26 - VSA&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Length&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;9&amp;nbsp; - Vendor ID&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;1&amp;nbsp; - Vendor Type (Cisco-AVPair Attribute ID)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Attribute Name=Value&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In the Vendor Specific attribute ("throught attribute ID")&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;26&amp;nbsp; - VSALength&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;9 - Vendor ID&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;2 - Vendor Type (Attribute ID)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Vendor Length&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Attribute Name=Value&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In the Vendor Specific attribute ("throught attribute ID")&amp;nbsp; &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;26 - VSA&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Length&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;9 - Vendor ID&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;2 - Vendor Type (Attribute ID)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Value&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;i.e. with attribute name and witout.&lt;BR /&gt;How to understand which attribute needs attribute name in value string?&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;26|Length|9|2|Vendor Length|1|h323-incoming-conf-id=82b5fc8cd6f411dfa3c6080027716a9a&lt;/LI&gt;&lt;LI&gt;26|Length|9|2|Vendor Length|35|h323-incoming-conf-id=82b5fc8cd6f411dfa3c6080027716a9a&lt;/LI&gt;&lt;LI&gt;26|Length|9|2|Vendor Length|35|82b5fc8cd6f411dfa3c6080027716a9a &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;which of the methods is right?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 00:30:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/pack-and-unpack-radius-vsa-attributes/m-p/1538527#M259450</guid>
      <dc:creator>denis.deryabin</dc:creator>
      <dc:date>2019-03-11T00:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pack and unpack Radius VSA attributes</title>
      <link>https://community.cisco.com/t5/network-access-control/pack-and-unpack-radius-vsa-attributes/m-p/1538528#M259478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the specific VSA you used in the example (h323-incoming-conf-id), (1) is the correct encoding, since Cisco VSA vendor type 1 (also more commonly referred to as&amp;nbsp; cisco AV Pair) is always encoded in strings with the format of "attribute=value". This applies to other cisco VSAs that use string encoding as well. For VSA's that don't use string encoding, eg., fax-pages (vendor type 5, encoding integer), it typically doesn't include the value. You should be able to check that against the vendor dictionary to confirm. Please also see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cisco.com/en/US/docs/ios/voice/cdr/developer/guide/cdrdefs.html"&gt;http://www.cisco.com/en/US/docs/ios/voice/cdr/developer/guide/cdrdefs.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Wen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 19:33:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/pack-and-unpack-radius-vsa-attributes/m-p/1538528#M259478</guid>
      <dc:creator>wzhang</dc:creator>
      <dc:date>2010-10-19T19:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pack and unpack Radius VSA attributes</title>
      <link>https://community.cisco.com/t5/network-access-control/pack-and-unpack-radius-vsa-attributes/m-p/1538529#M259533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have looked at &lt;A href="http://www.cisco.com/en/US/docs/ios/voice/cdr/developer/guide/cdrdefs.html"&gt;http://www.cisco.com/en/US/docs/ios/voice/cdr/developer/guide/cdrdefs.html&lt;/A&gt;, I found the possible values for atribute “gw-rxd-cgn”, but not the meaning of them.&lt;/P&gt;&lt;P&gt;Example:&lt;BR /&gt;Cisco-AVPair = "gw-rxd-cgn=ton:0,npi:0,pi:1,si:0,#:391450098"&lt;BR /&gt;Cisco-AVPair = "gw-rxd-cgn=ton:0,npi:0,pi:0,si:0,#:391450098"&lt;/P&gt;&lt;P&gt;I think pi:1 means that the calling number is anonymous and pi:0 is present, they can also be 2 or 3. Where can I found information to decode this string and other VSAs strings?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;David Costa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 19:22:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/pack-and-unpack-radius-vsa-attributes/m-p/1538529#M259533</guid>
      <dc:creator>d-costa</dc:creator>
      <dc:date>2011-05-17T19:22:06Z</dc:date>
    </item>
  </channel>
</rss>

