strangeness with cisco_vsa_hack=yes ...

Ilia Chipitsine ilia at paramon.ru
Sat Jul 2 10:40:38 CEST 2005


Dear Sirs,

I'm running freeradius-1.0.4 for h323 accounting from Cisco AS5350.

I turned cisco_vsa_hack to "yes", but according to detail (and pgsql-voip 
module) not all Cisco-VSA are decoded to normal AV pairs:

(I replaced several fields with XXXX in order to hide IP addresses)

Sat Jul  2 09:26:14 2005
         Acct-Session-Id = "00039908"
         Calling-Station-Id = "73512287317"
         Called-Station-Id = "73512327225"
         Cisco-AVPair = "call-id=766F6970 6D726B74 A04FC642 7C760600"
         h323-setup-time = "09:26:08.476 BST Sat Jul 2 2005"
         h323-gw-id = "XXXXXXXXX"
         h323-conf-id = "D0236F56 EA0811D9 B31C9978 D534BC2D"
         h323-call-origin = "answer"
         h323-call-type = "VoIP"
         Cisco-AVPair = "h323-incoming-conf-id=D0236F56 EA0811D9 B31C9978 D534BC2D"
         Cisco-AVPair = "subscriber=Unknown"
         Cisco-AVPair = "session-protocol=cisco"
         Cisco-AVPair = "gw-rxd-cdn=ton:0,npi:1,#:73512327225"
         Acct-Input-Octets = 360
         Acct-Output-Octets = 5556
         Acct-Input-Packets = 67
         Acct-Output-Packets = 195
         Acct-Session-Time = 0
         h323-connect-time = "09:26:14.670 BST Sat Jul 2 2005"
         h323-disconnect-time = "09:26:14.670 BST Sat Jul 2 2005"
         h323-disconnect-cause = "10"
         h323-remote-address = "XXXXXXXXX"
         Cisco-AVPair = "release-source=2"
         h323-voice-quality = "0"
         Cisco-AVPair = "remote-media-address=XXXXXXXXXXX"
         Cisco-AVPair = "out-trunkgroup-label=Chel"
         Cisco-AVPair = "gw-rxd-cgn=ton:0,npi:1,#:73512287317"
         User-Name = "mos-spa-gkp-1"
         Acct-Status-Type = Stop
         Service-Type = Login-User
         NAS-IP-Address = XXXXXXXXXXXX
         Acct-Delay-Time = 0
         call-id = "766F6970 6D726B74 A04FC642 7C760600"
         h323-incoming-conf-id = "D0236F56 EA0811D9 B31C9978 D534BC2D"
         subscriber = "Unknown"
         session-protocol = "cisco"
         gw-rxd-cdn = "ton:0,npi:1,#:73512327225"
         Client-IP-Address = XXXXXXXXXXX
         Acct-Unique-Session-Id = "e8c1a697340192ad"
         Timestamp = 1120292774


as far as I can see,


decoded fields:
        Cisco-AVPair = "session-protocol=cisco"
        Cisco-AVPair = "h323-incoming-conf-id=D0236F56 EA0811D9 B31C9978
        Cisco-AVPair = "subscriber=Unknown"
        Cisco-AVPair = "call-id=766F6970 6D726B74 A04FC642 7C760600"


not decoded fields:

         Cisco-AVPair = "gw-rxd-cdn=ton:0,npi:1,#:73512327225"
         Cisco-AVPair = "release-source=2"
         Cisco-AVPair = "remote-media-address=XXXXXXXXXXX"
         Cisco-AVPair = "out-trunkgroup-label=Chel"
         Cisco-AVPair = "gw-rxd-cgn=ton:0,npi:1,#:73512287317"


why does it decode just few fields ? what did I do wrong ?

Cheers,
Ilia Chipitsine



More information about the Freeradius-Users mailing list