Action URLs/Runtime Variables

From Snom User Wiki

Jump to: navigation, search
$localthe SIP URI of callee
$remote the SIP URI of caller
$active_url the SIP URI of the active outgoing identity
$active_user the user part of the SIP URI for the active outgoing identity
$active_host the host part of the SIP URI for the active outgoing identity
$csta_id CSTA ID
$call-id the call-id of the active call
$display_local used to display the name of callee
$display_remote used to display the name of caller.
$expansion_module used to show which Expansion Module do you use and
$active_key the Function Key (e.g. P1, P5, P32,..) associated with a call.
$phone_ip the current ip address of the phone
$nr_ongoing_calls contains the number of active calls
$context_url used in log_on/off-action to provide the sip-uri of the logged-on/off
$cancel_reason when a call has been canceled/terminated via sip-cancel this will paste the content of the reason-header
$longpress_key returns the name of the Function Key, which was long pressed (longer than 2 seconds), if Settings/action_longpress_url is set (e.g. P1)
$sip_header returns the value of the sip_header name indicated. If inside an action url this is specified: sip_header=$sip_header(HEADER_NAME), then the value of the first incoming INVITE of that header is replaced inside the action url. The following exceptions exists, and cannot be named: Via, To, From, Call-ID, Expires, Route, Record-Route, Contact, Content-Type, CSeq, Content-Length, Max-Forwards. A subsequent Re-Invite will not update the header information concerning action URLs.

Note: These variables don't work with all events.

Personal tools
Interoperability