SMG Digital Gateway
205
You may use
<$NAME>
structure as an attribute value, where
NAME
is a name of the variable.
For description of variable values, see Section
Access-Request packet
User-Name(1): <$USER_NAME>
User-Password(2): based on password "eltex" (w/o 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)
Framed-IP-Address: <$USER_IP>
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): acc. to RFC2866
Event-Timestamp(55): acc. to RFC2869
NAS-IP-Address(4): <$SMG_IP>
Acct-Session-Id(44): <$SESSION_ID>
Framed-IP-Address: <$USER_IP>
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>
Vendor-Specific(26):
Cisco(9):
h323-connect-time(28):
h323-connect-
time=<$TIME_CONNECT>
Vendor-Specific(26): Cisco(9): h323-gw-id(33): h323-gw-id=<$SMG_IP>
Vendor-Specific(26): Eltex Enterprise, Ltd.(35265): Incoming-SIP-call-id(2):
<$inc_SIP_call_ID>
Vendor-Specific(26): Eltex Enterprise, Ltd.(35265): Outgoing-SIP-call-id(3):
<$out_SIP_call_ID>
Vendor-Specific(26):
Eltex
Enterprise,
Ltd.(35265):
Incoming-RTP-local-
address(4): <$inc_RTP_loc_IP>
Vendor-Specific(26):
Eltex
Enterprise,
Ltd.(35265):
Incoming-RTP-remote-
address(5): <$inc_RTP_rem_IP>
Vendor-Specific(26):
Eltex
Enterprise,
Ltd.(35265):
Outgoing-RTP-local-
address(6): <$out_RTP_loc_IP>
Vendor-Specific(26):
Eltex
Enterprise,
Ltd.(35265):
Outgoing-RTP-remote-
address(7): <$out_RTP_rem_IP>
Vendor-Specific(26):
Eltex
Enterprise,
Ltd.(35265):
call-record-
file=<$call_record_file_name>
Accounting-Request stop packet
Acct-Status-Type(40)
–
Stop(2)
User-Name(1): <$USER_NAME>