Hello

 

I have a question about cisco AV-Pairs and I see many mails about this but now solutions:

 

When I receive radius packet from the cisco gw I have some Cisco-AVPair attribute.

 

  h323-call-origin = "h323-call-origin=answer"

  h323-call-type = "h323-call-type=VoIP"

  Cisco-AVPair = "h323-incoming-conf-id=366BAF1A 2FB711CC 8499E176 08E27F7C"

 

 

I see in the radiusd.conf an option for  this: with_cisco_vsa_hack = yes

 

 

# Cisco (and Quintum in Cisco mode) sends it's VSA attributes

                # with the attribute name *again* in the string, like:

                #

                #   H323-Attribute = "h323-attribute=value".

                #

                # If this configuration item is set to 'yes', then

                # the redundant data in the the attribute text is stripped

                # out.  The result is:

                #

                #  H323-Attribute = "value"

                #

                # If you're not running a Cisco or Quintum NAS, you don't

                # need this hack.

                with_cisco_vsa_hack = yes

               

                /*

                 *      Cisco-AVPair's get packed as:

                 *

                 *      Cisco-AVPair = "h323-foo-bar = baz"

                 *      Cisco-AVPair = "h323-foo-bar=baz"

                 *

                 *      which makes sense only if you're a lunatic.

                 *      This code looks for the attribute named inside

                 *      of the string, and if it exists, adds it as a new

                 *      attribute.

                 */

 

But it is not working, I have also checked the cisco dictionary and the attribute h323-incoming-conf-id is defined

 

ATTRIBUTE       h323-incoming-conf-id           35      string          Cisco

 

Reply via email to