Operational Features

Variable

Description

$$LINESTATE$$

Current line state associated with:

 

registered phone

 

incoming caller

 

outgoing caller

 

offhook

 

onhook

 

disconnected

 

 

$$LOCALIP$$

IP Address associated with:

 

registered phone

Note:

onhook

This variable allows for enhanced informa-

 

 

tion in call records and billing applications.

 

 

 

 

$$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$$

Duration of last call. This variable is associated with:

 

onhook

Note:

 

 

This variable allows for enhanced informa-

 

 

tion in call records and billing applications.

 

 

 

 

$$CALLDIRECTION$$

Specifies whether the current/last call was incoming or outgoing. This variable is associated with:

 

onhook

Note:

 

 

This variable allows for enhanced informa-

 

 

tion in call records and billing applications.

 

 

 

 

$$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)

 

 

 

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$$

41-001343-02 REV04 – 05.2014

5-251

Page 491
Image 491
Aastra Telecom 41-001343-02 Current line state associated with, IP Address associated with, Remote number associated with