【Advanced】Action URI
Last modified date: 2021/01/05 Views: 66533
Description

How to use Action URI


Resolution

Action URI allows the IP phone to interact with web server application by receiving and handling HTTP GET requests. When receiving a URI, the IP phone will perform the specified action and respond with a 200 OK message. The HTTP GET request may contain variable named as “key” and variable value, which are separated by “=”. There are three formats for URI:
1.http://<phoneIPAddress>/servlet?key=variable

2.http://<phoneIPAddress>/cgi-bin/ConfigManApp.com?key=variable

3.http://<phoneIPAddress>/cgi-bin/cgiServer.exx?key=variable


To configure the trusted IP address for Action URI via web user interface:

1. Click on Features->Remote Control.

2. Enter the IP address or ‘any’ in the Action URI allow IP List field.

Multiple IP addresses are separated by commas. If you enter “any” in this field, the IP phone can receive and handle GET requests from any IP address. If you leave the field blank, the IP phone cannot receive or handle any HTTP GET request.

image.png
Example 1:

If you want to trigger press the OK key of your phone, you can fill in the below URI in the Server
image.png

Example 2: Outgoing call

Enter the below URI into the address bar of your browser

http://<phoneIPAddress>/servlet?key=number=xxx&outgoing_uri=y

For example, my phone IP is 10.2.40.13, I want to make an out a call to extension 4001 via extension 4002.

The important point is you need to add the server URL at the end of outgoing extension. Just like 4002@10.2.5.113. The 10.2.5.113 is the PBX server URL.

http://10.81.56.32/servlet?key=number=10086&outgoing_uri=10081@10.200.108.48




More Information

The following table lists the variable values may be used when specifying a URI:

 

Variable

Phone Action

key=OK/key=ENTER

Press the OK key or the Enter soft   key.

key=SPEAKER

Press the Speaker key.

key=F_TRANSFER

Press the Transfer key.

key=VOLUME_UP

Increase the volume.

key=VOLUME_DOWN

Decrease the volume.

key=MUTE

Mute the call.

key=F_HOLD

Press the Hold key.

key=X

Press the X key.

key=0-9/*/POUND

Send the DTMF digit (0-9, * or #).  

key=L1-L6

Press the Line key.

key=D1-D10

Press the DSS key.

key=F_CONFERENCE

Press the Conference key.

key=F1-F4

Press the Soft key.

key=MSG

Press the MESSAGE key.

key=HEADSET

Press the HEADSET key.

key=RD

Press the Redial key.

key=UP/DOWN/LEFT/RIGHT

Press the Navigation keys.

key=Reboot

Reboot the IP phone.

key=AutoP

Let the IP phone do auto   provisioning.

key=DNDOn

Activate the DND mode.

key=DNDOff

Deactivate the DND mode.

 

Note

The variable does not work with all events. For example, the variable “key=MUTE” is only applicable when the IP phone is during a call.

 For more information you can refer to below guide page 476-482 

Yealink SIP-T2 Series T4 Series T5 Series CP920 IP Phones Administrator Guide V85.1



 

Product Type
VP59 , T58A with Camera , SIP-T58A , SIP-T57W , SIP-T54W , SIP-T53W , SIP-T53 , SIP-T48S , SIP-T46S , SIP-T42S , SIP-T41S , SIP-T40G , SIP-T40P , SIP-T29G , SIP-T27G , SIP-T23G , SIP-T23P , SIP-T21(P) E2 , SIP-T19(P) E2 , SIP-T33P(G) , SIP-T31(P)(G) , SIP-T30(P) , SIP-T38G , SIP-T32G , SIP-T28P , SIP-T26P , SIP-T22P , SIP-T21P , SIP-T20P , SIP VP-T49G , SIP-T48G , SIP-T46G , SIP-T42G , SIP-T27P , SIP-T41P
Version
All
200/200
Please login to post your comment