Operational Features
41-001343-02 REV05 – 07.2014
5-256
How it Works
When a startup, successful registration, incoming call, outgoing call, offhook, or onhook call event occurs on the phone,
the phone checks to see if the event has an action URI configured. If the phones finds a URI configured, any variables con-
figured (in the form $$VARIABLENAME$$) are replaced with the value of the appropriate variable. After all of the variables
are bound, the phone executes a GET on the URI. The Action URI binds all variables and is not dependant on the state of
the phone.
For example, if you enter the following string for the
action uri outgoing
parameter:
action uri outgoing: http://10.50.10.140/outgoing.pl?number=$$REMOTENUMBER$$
$$LINESTATE$$
Current line state associated with:
•
registered phone
•
incoming caller
•
outgoing caller
•
offhook
•
onhook
•
disconnected
$$LOCALIP$$
Note:
This variable allows for enhanced informa-
tion in call records and billing applications.
IP Address associated with:
•
registered phone
•
onhook
$$REMOTENUMBER$$
Remote number associated with:
•
incoming caller
•
outgoing caller
$$DISPLAYNAME$$
Display name associated with:
•
incoming caller
$$SIPUSERNAME$$
Username associated with:
•
registered phone
•
incoming caller
•
outgoing caller
$$INCOMINGNAME$$
Name associated with:
•
incoming caller
$$CALLDURATION$$
Note:
This variable allows for enhanced informa-
tion in call records and billing applications.
Duration of last call. This variable is associated with:
•
onhook
$$CALLDIRECTION$$
Note:
This variable allows for enhanced informa-
tion in call records and billing applications.
Specifies whether the current/last call was incoming or outgoing. This variable is associated with:
•
onhook
$$REGISTRATIONSTATE$$
Specifies the state of the phone’s registration. Registration states can be:
•
registered
•
unregistered
•
expired
•
refused
•
timeout
$$REGISTRATIONCODE$$
Specifies the code generated during the registration process.
Registration code can be:
"xxx"
where xxx is the 3 digit code; for example, "403". Possible codes are:
•
001 (registration successful)
•
403 (registration failed)
Variable
Description