GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Kemdo-02/Openstage-Mini-DLS: Lightweight Python-based DLS provisioning server for installing custom ringtones on Siemens / Unify OpenStage IP phones without root access.

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
mini_dls.py
mini_dls.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

OpenStage Mini-DLS

License: MIT Version Platform Tested

A lightweight, unofficial Python provisioning server for installing custom WAV ringtones on Unify / Siemens OpenStage IP phones. No root access, full Deployment Service installation, or PBX configuration changes required.

Tested successfully: OpenStage 40 HFA — firmware 3.0.52.0000 (V3 R0.52.0). The ringtone was downloaded, installed and played successfully on the phone.

Features

  • Minimal HTTPS DLS provisioning interface with FileDeployment support for ringtones.
  • Read-only FTP server with a randomly generated password.
  • Single-phone operation, restricted to the configured target IP address.
  • Probe mode for testing communication without changing phone settings.
  • Explicit confirmation before each deployment; no firmware updates or reboot commands.

Requirements

  • Windows PC with Python 3.10 or newer (tested on Windows).
  • An authorized OpenStage test phone with reachable IPv4 addresses in both directions.
  • Administrative access to the phone's Web-Based Management (WBM).
  • A compatible WAV file (see below).

Quick start

1. Install dependencies

Clone or download this repository and open PowerShell in the directory containing mini_dls.py.

py -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.txt

2. Test the connection

Start the server in probe mode. Replace the example IP addresses with your PC and phone IP addresses.

.\.venv\Scripts\python.exe mini_dls.py --bind 192.168.1.10 --phone 192.168.1.50

In the phone's WBM, navigate to Administration → Network → Update Service (DLS) (menu labels may vary). Record the original settings, then configure the individual test phone:

Setting Example value
DLS address 192.168.1.10 (your PC)
DLS port 18443
Security mode Leave unchanged; this setup assumes Default mode

Do not change global PBX, DHCP or DLI settings. If the phone uses Secure or Secure PIN mode, do not downgrade it; use an authorized provisioning setup instead.

Enter c in the Mini-DLS console. A successful probe looks like this:

ContactMe HTTP: 204 b''
RX reason='solicited', status=''
  device-type: 'OpenStage 40' (status='')
  software-type: 'Siemens HFA' (status='')
  software-version: 'V3 R0.52.0' (status='')
TX CleanUp (no setting changes)

3. Prepare a ringtone

Save your audio as custom.wav in the project directory.

Audio property Required / tested value
Container WAV
Encoding Uncompressed PCM, signed 16-bit little-endian
Sample rate 16,000 Hz
Channels Mono
Tested duration 8 seconds (~250 KiB); maximum size unknown

4. Deploy the ringtone

Quit probe mode with q and restart with --deploy:

.\.venv\Scripts\python.exe mini_dls.py --bind 192.168.1.10 --phone 192.168.1.50 --deploy

Enter d, then type YES to confirm the import. The phone will request the WAV file from the temporary FTP server.

TX FileDeployment (custom.wav), waiting for phone status.
RETR .../custom.wav completed=1 bytes=256078 seconds=1.203

An FTP transfer alone does not prove that the ringtone was installed. Optionally verify the phone's log through SSH:

grep -i 'custom.wav' /tmp/logs/messages | tail -n 10

Successful installation on the tested HFA phone produced:

Opening /data/ringtones/custom.wav for writing
FTP /data/ringtones/custom.wav Success downloadSize=256078

5. Select the ringtone

In the phone's user audio settings, select Local ringer as the ringtone mode, then select custom and test it with an incoming call. Menu labels and availability may vary by firmware and administrator settings.

When finished, enter q to stop Mini-DLS and restore the original DLS settings on the phone.

Command-line reference

Argument Description
--phone IP Required: target phone's IPv4 address
--bind IP Required: local IPv4 address of the provisioning server
--port PORT HTTPS provisioning port (default: 18443)
--ftp-port PORT FTP control port (default: 21)
--wav PATH Source WAV file (default: custom.wav)
--deploy Enable one explicitly confirmed ringtone deployment
--cert PATH Authorized TLS certificate in PEM format
--key PATH Matching private key in PEM format; use with --cert
--help Display command-line help
Console command Action
c Request a DLS contact from the phone
d Arm one deployment and request contact (deploy mode only; requires YES)
q Stop the server

Network and troubleshooting

Direction TCP port Purpose
PC → phone 8085 ContactMe request
Phone → PC 18443 HTTPS provisioning
Phone → PC 21 FTP control (deployment only)
Phone → PC 30000–30009 Passive FTP data (deployment only)

Restrict inbound firewall rules to the selected phone's IP. If custom HTTPS or FTP ports are used, adjust the rules accordingly; the phone's DLS port must match --port.

  • No response: check the actual phone IP, PC binding address, routing, firewall and DLS settings.
  • TLS failure: the generated self-signed certificate may be rejected. Do not disable security checks. Use an authorized certificate and key where appropriate. TLS 1.2 or newer is required by the server.
  • FTP failure: check the FTP control and passive data ports and whether another service is already using port 21.
  • Ringtone missing: inspect the phone log and confirm that Local ringer mode is available. A completed FTP transfer does not guarantee that the firmware accepts or registers the ringtone.

Compatibility and limitations

  • Confirmed on OpenStage 40 HFA, firmware V3 R0.52.0. Other models, SIP firmware and firmware versions have not been tested.
  • Version 0.1 always deploys the file as custom.wav, even if --wav points to a differently named source file. Re-importing may replace the existing ringtone.
  • One deployment request per process. Restart the tool for another import after verifying the previous result.
  • The tested phone stores custom ringtones under /data/ringtones/. Persistence across a reboot has not been independently verified.
  • FTP is unencrypted. Use only on a trusted, private network; never expose this server to the internet or configure port forwarding.
  • Mini-DLS is an experimental ringtone provisioning tool, not a complete replacement for the official Deployment Service. No firmware updates, WriteItems actions or automatic DLS reconfiguration are implemented.

Protocol reference

Based on the OpenStage / OpenScape Desk Phone IP Provisioning Service — Developer's Guide (02/2016), sections 1.4.4 and 3.6.7.

  • File Deployment protocol
  • Single File Deployment example

License

This project is licensed under the MIT License. See LICENSE for details.

Third-party dependencies retain their respective licenses.

Acknowledgements

Developed with AI assistance as an independent implementation of the documented OpenStage provisioning interface and tested on real hardware.

Disclaimer

This is an independent, unofficial project and is not affiliated with or endorsed by Siemens, Unify or Mitel. Use only with devices you own or are authorized to administer. Back up existing settings before testing.

About

Lightweight Python-based DLS provisioning server for installing custom ringtones on Siemens / Unify OpenStage IP phones without root access.

Topics

dlshfamitelopenscapeopenstageprovisioningpythonringtonessiemensunifyvoip

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.