
104
SMG digital gateway
4.1.13.2.1
RADIUS Packet Format
Each packet description includes descriptions of every Attribute-Value pair for this packet type. Attributes
may be either standard or vendor specific. If the attribute value is unknown for any reason (e. g. if the outgoing
trunk is missing, it is impossible to identify the CdPN_OUT variable value, which is used as a value for some
attributes), then the attribute is not included into the message.
Standard attributes have the following description:
Attribute name (attribute number): attribute value
Vendor attributes:
Attribute name (attribute number): vendor name (vendor number): VSA name (VSA number): VSA value
where:
Attribute name
—always Vendor-Specific;
Attribute number
—always 26;
Vendor name
—name of the vendor;
Vendor number
—the vendor number assigned by IANA in the PRIVATE ENTERPRISE
NUMBERS document (http://www.iana.org/assignments/enterprise-numbers);
VSA name
—vendor attribute name;
VSA value
—vendor attribute value.
<$NAME> can be used
as an attribute value, where
NAME
is a variable name. For description
of variable values, see section 4.1.13.3.
Access-Request Packet
User-Name(1): <$USER_NAME>
User-Password(2): based on the "eltex" password (without quotation marks)
NAS-IP-Address(4): <$SMG_IP>
Called-Station-Id(30): <$CdPN_IN>
Calling-Station-Id(31): <$CgPN_IN>
Acct-Session-Id(44): <$SESSION_ID>
NAS-Port(5): <$NAS_PORT>
NAS-Port-Type(61): Virtual(5)
Service-Type(6): Call-Check(10)
Accounting-Request Start Packet
Acct-Status-Type(40)
–
Start(1)
User-Name(1): <$USER_NAME>
Called-Station-Id(30): <$CdPN>
Calling-Station-Id(31): <$CgPN_IN>
Acct-Delay-Time(41): according to RFC2866
Event-Timestamp(55): according to RFC2869
NAS-IP-Address(4): <$SMG_IP>
Acct-Session-Id(44): <$SESSION_ID>
Vendor-Specific(26): Cisco(9): Cisco-AVPair(1): xpgk-src-number-in=<$CgPN_IN>
Vendor-Specific(26): Cisco(9): Cisco-AVPair(1): xpgk-src-number-out=<$CgPN_OUT>
Vendor-Specific(26): Cisco(9): Cisco-AVPair(1): xpgk-dst-number-in=<$CdPN_IN>
Vendor-Specific(26): Cisco(9): Cisco-AVPair(1): xpgk-dst-number-out=<$CdPN_OUT>
Vendor-Specific(26): Cisco(9): Cisco-AVPair(1): xpgk-route-retries=<$ROUTE_RETRIES>
Vendor-Specific(26): Cisco(9): Cisco-AVPair(1): h323-remote-id=<$DST_ID>Vendor-Specific(26): Cisco(9):
Cisco-AVPair(1): h323-call-id=<$CALL_ID>
Vendor-Specific(26): Cisco(9): h323-remote-address(23): h323-remote-address=<$DST_IP>
Vendor-Specific(26): Cisco(9): h323-conf-id(24): h323-conf-id=<$CALL_ID>
Vendor-Specific(26): Cisco(9): h323-setup-time(25): h323-setup-time=<$TIME_SETUP>
Vendor-Specific(26): Cisco(9): h323-call-origin(26): h323-call-origin=originate
Vendor-Specific(26): Cisco(9): h323-call-type(27): h323-call-type=<$CALL_TYPE>