Content
Yes, the phone´s HTTP interface allows remote users to simulate the usage of the phone´s keypad and a few special features. (Only applicable for snom desktop phones)
The URL to press one or more keys is the address of your phone with the page ’command.htm’ and the post value "key=KEYEVENT":
http://phoneIP/command.htm?key=KEYEVENT[;KEYEVENT]
KEYEVENTs are separated by a semicolon from each other. KEYEVENT contains the following values:
KEYEVENT = Key[,Time[,Pause]]
Whereas Key is the key to be pressed, Time is the amount in milliseconds that a key is to be pressed (this way real key presses can be simulated, or a long press of a key can be achieved). Pause is the time in milliseconds that shall elapse between key presses (when the command contains more than one KEYEVENT). The values Time and Pause are optional.
If HTTP user name and HTTP password are enabled, the request must contain the credentials:
http://username:password@192.168.0.1/command.htm?key=KEYEVENT
The following KEYEVENTs are known to the firmware of the phone (written exactly as shown below in capital letters):
There are also other functions which can be controlled remotely (desktop phones only):
Remote Dialing: http://phoneIP/command.htm?number=NUMBER&outgoing_uri=URI Remote DTMF tones: http://phoneIP/command.htm?key_dtmf=NUMBER Remote End all ongoing calls: http://phoneIP/command.htm?RELEASE_ALL_CALLS Remote Logoff all identities: http://phoneIP/command.htm?LOGOFFALL Remote Logoff a specific identity: http://phoneIP/command.htm?LOGOFFLINE=1(..12) Remote Reregister a specific identity: http://phoneIP/command.htm?REREGISTER=1(..12) Remote Ringtone Playing: http://phoneIP/line_login.htm?PLAY_RINGER:X=+Ringer(X=1..9) Remote Reboot: http://phoneIP/advanced_update.htm?reboot=Reboot Remote Reset: http://phoneIP/advanced_update.htm?reset=Reset Remote Reset of Dialed Numbers: http://phoneIP/index.htm?dialeddel=clear Remote Reset of Missed Calls: http://phoneIP/index.htm?misseddel=clear
Remote Reset of Received Calls: http://phoneIP/index.htm?receiveddel=clear
Remote Firmware Upgrade: https://phoneIP/dummy.htm?swload=load&firmware=firmwareURL Fix the line-info-layer for screen.bmp (820/21): http://phoneIP/command.htm?FIX_LIL=true
Since versions 8.4.34 and 8.7.2 you can also emulate pressing the touchscreen of the snom870.
X must be between 0 and 479, where 0 is the left display edge and 479 the right one. Y must be between 0 and 271, where 0 is the upper display edge and 271 the lower one.
just press, dont release: http://phoneIP/command.htm?touch=X Y press brief version: http://phoneIP/command.htm?touch=X Y p release when formerly pressed: http://phoneIP/command.htm?touch=X Y release brief version: http://phoneIP/command.htm?touch=X Y r press and release with one cmd: http://phoneIP/command.htm?touch=X Y pr brief version: http://phoneIP/command.htm?touch=X Y chained commands: http://phoneIP/command.htm?touch=X Y pr X2 Y2 pr X3 Y3 pr
Attended Transfer (Incoming call A, transferred by B to C):
Further Information
Related articles