Different attributes used in Radius Access-request and Accounting-request messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Situation where 3rd party gk or other device registers to gnugk with its own
h323id and DialedDigits, but the call is made from actual endpoint which is
registered to that child gatekeeper.

In access-request message gnugk sends out remote gk h323id as username and
calling endpoint's DialedDigits as Calling-Station-ID.

In accounting-request message instead, it sends out remote gk H323ID in both
username and Calling-Station-ID fields.

This may lead to situation when access to make call is granted to Calling
Endpoint (using its DialedDigits), but the call will be accounted improperly
as it will be charged against Child GK H323ID. Billing may be done incorrect
in this case.


example: child GK registers to gnugk with H323ID=99123456 and
DialedDigits=99123456

gnugk 2.0.8 from CVS February 10, 2004

Call is made from it's Endpoint: DialedDigits=321

When sending access-request, gnugk uses

        [0]= {
          type = 1 (User-Name)
          length = 10 octets
          value = 8 octets {
            39 39 31 32 33 34 35 36                            99123456
<-- child GK H323ID
          }
        [7]= {
          type = 31 (Calling-Station-Id)
          length = 5 octets
          value = 3 octets {
            33 32 31                                           321	   <--
calling endpoints DialedDigits
          }
        }

but in accounting-request message
        [6]= {
          type = 1 (User-Name)
          length = 10 octets
          value = 8 octets {
            39 39 31 32 33 34 35 36                            99123456
<-- child GK H323ID
          }
        }
        [9]= {
          type = 31 (Calling-Station-Id)
          length = 10 octets
          value = 8 octets {
            39 39 31 32 33 34 35 36                            99123456
<-- child GK H323ID
          }
        }


Best regards,
Aivis



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux