Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This paper is mainly introduce how to make a call by URL command.


1. Action URL

Record the operation of phone, send these corresponding information to server; action
1.1 To configure Action URL via web interface:
1) Choose Setting->Action URL
2) Enter the Corresponding contents.
3) Click SaveSet to save the changes.

1.2 The Action URL variables supported are:
$mac --> current MAC address of the phone
$ip --> current IP address of the phone
$model --> the phone model
$firmware --> current firmware version of the phone
$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
$local --> the SIP URI of the local identity (your phone's number)
$remote --> the SIP URI of the remote identity (the other party's phone number)
$display_local --> used to display your phone's display name
$display_remote --> used to display the other party's display name
$call_id --> the call-id of the active call
For example:
The action URL format is http://server ip address/variable value…
When set the following Action URL to the IP Phone(UC860, MAC-001FC11A8B6C, IP-192.168.0.157) incoming call:
192.168.0.252/$mac/$ip
When other phone call the ip phone then
192.168.0.252/ 001fc11a8b6c/192.168.0.157

2. URI: Remote control phone for corresponding operation

2.1 Dial out & Hang up

Please use the following URL to dial out or hang up a call.
http://admin:password@IP_Address/Phone_ActionURL&Command=%command%&Number=%number%&Account=%account%
For example:
When use the phone which IP address is 192.168.0.124 to call the number 206 via the account 1, the action URI is:
http://admin:admin@192.168.0.124/Phone_ActionURL&Command=1&Number=206&Account=1

Notes:
1. By default the password for admin is admin, you can use also user: 1234 to dial out a call.
2. Command=1 means dial out ; Command=2 means hang up
3. Number: the number which you want to dial out
4. Account: the account which you want to user for dial out, pay attention:
account=1, it match the account 1;
account=2, it match the account2;
account=3, it match the account3;
account=4, it match the account4;
If do not mentioned one specific Account or not match the value above, it will choose an avalible account automatically.

2.2 The other actions:

2.2.1 The URI format is as follow:
http://admin:password@IP_Address/Phone_ActionURL&Command=%command%&key=%key_vaule%

...