4. Action URLs

Action URLs

  1. Activate up to 5 action URLs by inserting URLs in the designated areas.

  2. Specify that the URLs are to be displayed in the external standard web browser.
    You can (de)activate, delete or edited the stored Action URLs at any time.

  3. Click Apply to apply the changes.

Action URL settings

Setting name

Description

Enable Action URLs

Activates the usage of Action URLs for incoming and outgoing calls

Action URLs are HTTP "GET" requests and may contain variable names as query part of the URL.

Outbound Action URLs are typically called by the software when a changed telephone action has been recognised. Depending on the telephone action, the application can send several parameters for calling a website or storing data into a database.
Inbound Action URLs are commands that the application should execute, for example, that the software shall initiate an outgoing call.

TCP Port for receiving inbound Action URLs

Enters a TCP port for receiving HTTP requests

Enable Inbound Action URLs

Activates the processing for inbound Action URLs
 
The following code structure is provided for incoming inquiries:
 
<IP>?action=some_kind_of_action&parameter

=some_kind_of_parameter& ..

another_parameter=some_kind_of_other_parameter

Enable Inbound Action-URL "make_call"

Activates "make_call" ("dial phone number")

The following structure is provided for "make_call":

http:// 192.168.0.16:61234?action=make_call&target=123

or

http:// [2003:a:1514:bc00:2c19:6474:2da5:1dc5]:61234?action=make_call&target=121

Activate this Action URL

Activates an individual Action URL

Please note that each Action URL has to be activated separately.

Incoming call - Enter your Action URL

Enters the URL which will be called with a special telephone action/status

Currently you can choose between the following actions:

  • Incoming call

  • Outgoing call

  • Connected call

  • Hold call

  • Hangup call.

A description of all URL placeholders is available below.

Show this Action URL in your standard web browser

The Action URL will be opened by the standard web browser of the operating system.

Placeholder for Action URLs

<$action>

Specifies the type of Action URL:

  • Inbound: This Action URLs signals an inbound call.

  • Outbound: This Action URLs signals an outbound call.

  • Connected: The local or remote party has just answered the call.

  • Hold: The call has just been put on hold or off hold.

  • Disconnected: The call has ended. If the call has never been connected, this is a missed call.

<$call_direction>

Inbound : for inbound calls

Outbound : for outbound calls

<$call_direction_as_int>

0 for inbound calls and 1 for outbound calls

<$local_party>

The SIP URI of the local party. In hardware telephone mode: username@domain (e.g. 987@example.com)

<$local_alias>

Display name of the local party

In hardware telephone mode this equals <$local_party> due to the lack of data.

<$hold_state>

Is either on_hold if the call is on hold or off_hold when the call is in the connected state

<$call_duration_seconds>

Number of seconds since the call has been answered

This number might differ from the difference of <$call_disconnected_time> - <$call_connected_time> due to internal delays by up to 2 seconds. The time base for this variable is within the call object that is visible to the user.

<$call_created_time>

Time and date of call creation

Example: 2019-03-25T10-34-22

<$call_connected_time>

Time and date since the call has been connected

Example: 2019-03-25T10-34-27

<$call_disconnected_time>

Time and date when the call was disconnected

Example: 2019-03-25T10-34-34

<$call_guid>

A globally unique string representing a 128-bit number that contains date and time, as well as at least 64 bit of true random data

This parameter is useful for storing all calls, e.g. in a call center in a single database. Example call GUID: 1399c8c8-cf9e-3ebe-764f-d12b1f7bea35

<$remote_party>

Delivered phone number of the remote party

<$remote_alias>

Delivered display name of the remote party

Example of an output

action

inbound

BASE64_DECODE_ERROR

calldirection

inbound

BASE64_DECODE_ERROR

localparty

303-14943821

BASE64_DECODE_ERROR

localalias

"Michael" (303)

BASE64_DECODE_ERROR

holdstate

off_hold

BASE64_DECODE_ERROR

callduration

0

BASE64_DECODE_ERROR

createdtime

2022-02-13T17-43-50

BASE64_DECODE_ERROR

connectedtime

1899-12-31T00-00-00

BASE64_DECODE_ERROR

disconnectedtime

1899-12-31T00-00-00

BASE64_DECODE_ERROR

callguide

2843c1f9-1f8b-375a-0e01-e8682f222c10

BASE64_DECODE_ERROR

remoteparty

420

BASE64_DECODE_ERROR

remotedisplayname

"Michael D785" (420)

BASE64_DECODE_ERROR