Specifications
PA-001011-03-04 Aastra July 2014
203
$$SIPAUTHNAME$$ Active line SIP authentication name
$$PROXYURL$$ Active line SIP proxy
$$ACTIVEPROXY$$ Active line active SIP proxy
They can be used anywhere where the active line is meaningful for your XML application but they
should not be used with outside event action uris such as action uri poll or action uri xml sip notify
as the active line can be anything when the event is processed.
5.2.2 Variables related to the current call
The following variables are related to the current call.
$$INCOMINGNAME$$ Caller-ID name of the current incoming call
$$REMOTENUMBER$$ Remote party phone number (incoming or outgoing)
$$CALLDURATION$$ Duration of the current call in seconds
$$CALLDIRECTION$$ Direction of the current call (“Incoming” or “Outgoing”)
$$LINESTATE$$ Information on Disconnect event
List of values for the LINESTATE variable
LINESTATE VALUE
Meaning
Disconnected uri
IDLE
The phone is idle
N/A
DIALING
The phone is offhook and ready to dial
N/A
CALLING
A SIP INVITE has been sent but no
response has been received.
An error occured during the
call.
OUTGOING
Remote party is ringing.
The call was canceled.
INCOMING
Local phone is ringing.
The call was missed or
canceled.
CONNECTED
The parties are talking.
Call was successful
CLEARING
Call has been released but not
acknowledged.
N/A
These variables are initialized at the beginning and at the end of the call which means for instance
that the call duration variable is reset to ‘0’ after the phone goes on-hook, the last moment to
retrieve the value is when you use the action uri onhook or action uri disconnected.
5.2.3 Usage with action uris
The following table details when the variables are meaningful with an action URI.
startup
registered
registration
onhook
offhook
incoming
outgoing
disc.
poll
notify
SIPUSERNAME
X
X
X
X
X
X
X
X
DISPLAYNAME
X
X
X
X
X
X
X
X
SIPAUTHNAME
X
X
X
X
X
X
X
X
PROXYURL
X
X
X
X
X
X
X
X
INCOMINGNAME
X
1
X
X
1
X
2
1
only if the previous call was an incoming call