FAQ/Can I set single phone settings via HTTP requests

From Snom User Wiki

< FAQ
Jump to: navigation, search
Languages: English • Deutsch

Contents

Answer

Yes, by sending HTTP GET requests to the phone´s Webserver all settings available on the Settings page can be set remotely.

Syntax

http://phoneIP/dummy.htm?settings=save&setting=validvalue

Note

* Change phoneIP to your phone´s IP address.
* Any ASCII character can be generated by using it’s hex value preceeded by "%".
* URLs cannot contain spaces. Encode a space with %20

starting from firmware version 8.4.33 / 8.7.2 you need to add store_settings=save on your GET request in order to write your changed settings to flash memory.

Eg.:

http://phoneIP/dummy.htm?settings=save&language=Deutsch&store_settings=save

Examples

The below HTTP request sets the language of the Phone GUI to German.

http://phoneIP/dummy.htm?settings=save&language=Deutsch

This URL allows to send non-text ASCII characters as "=", e.g.

setting_server=http://ss/config.xml?mac=

http://phoneIP/dummy.htm?settings=save&setting_server=http://ss/config.xml?mac%3d
The following example shows how to turn off/on the ring tone.

Program two free keys on the phone like this:

1. Identity: activ; keyevent: Action URL; Number: http://phone IP/dummy.htm?settings=save&user ringer1=Silent
2. Identity: activ; keyevent: Action URL; Number: http://phone IP/dummy.htm?settings=save&user ringer1=Ringer1

When an incoming call is ringing press the first Button to turn it off. When you press the second Button you will turn it on. You have to replace „phone IP" with the IP address of the phone. In this case you should use MAC address based IP addresses, so that the phone always gets the same, otherwise you accidentally switch off the ring tone of another user.

Personal tools
Interoperability