SMG Digital Gateway
207
3.1.15.5
Variable description
Table 25 — Variable description
Variable
Description and possible values
$CALL_TYPE
defined on the basis of the transmission medium that the outgoing
trunk belongs to:
'Telephony', if the outgoing trunk is PSTN (TDM).
'VoIP', if the outgoing trunk is VoIP.
$CdPN
determined from SMG settings
$CdPN = $CdPN_IN [by default]
$CdPN = $CdPN_OUT
$CdPN_IN
callee number before modification (received in SETUP/INVITE)
$CdPN_OUT
callee number after modification (sent to the called party in
SETUP/INVITE)
$CgPN_IN
caller number before modification (received in SETUP/INVITE)
$CgPN_OUT
caller number after modification (sent to the called party in
SETUP/INVITE)
$DISCONNECT_CAUSE
Q.850 reason for call clearing
$DST_ID
outgoing trunk name for this call
$DST_IP (string)
IP address of the terminating device when if the outgoing trunk is VoIP,
e.g.: 192.168.0.1
$USER_IP
IP address of the device intiated the call if the ingress trunk is VoIP or
SIP subscriber
$LOCAL_DISCONNECT_CAUSE
local reason for call clearing; values:
1 — connection to the callee has been established (User-
Answer)
2 — wrong or incomplete number format (Incomplete-
Number)
3 — number does not exist (Unassigned-Number)
4 — unsuccessful connection attempt, unknown reason
(Unsuccessful-Other-Cause)
5 — callee is busy (User-Busy)
6 — equipment fault (Out-of-Order)
7 — no response from the callee (No-Answer)
8 — outgoing trunk is unavailable (Unavailable-Trunk)
9 — RADIUS server authorization denied (Access-Denied)
10 — no free channels for connection establishment
(Unavailable-Voice-Channel)
11 — RADIUS server is unavailable (RADIUS-Server-
Unavailable)
$NAS_PORT
(xport.type<<24) + (xport.slot<<16) + (xport.stream<<8) + (xport.cell)
$ROUTE_RETRIES
the current number of the attempt, count begins with 1 (for the first
attempt, respectively)
$SESSION_ID
session identifier