Sections

Togglers

Togglers can be used to change the state of a configuration in your PBX by sending a special sequence or to show the state of a certain configuration setting.

The section name starts with "toggler_" postfixed with a number.

Example 1. 20-toggler.conf
[toggler_0]
account=account0
label=Transfer call if no SIP client is connected (CFNC)
description=A really good toggler :-)
subscribe=sip:*2%CFG[generic/number]%@example.org
toggle=sip:*2@example.org
display=statusbar
account

The SIP account to use. Usually "account0"

label

The text, which is shown in the UI

description

A description of the toggler (currently not used)

subscribe

A SIP-URI to subscribe for the toggler state

toggle

A SIP-URI to dial to toggle the state

display

Where should the toggler be shown?

  • menu - The toggler is shown in the hamburger menu

  • tray - The toggler is shown as entry in the tray menu

  • statusbar - The toggler is shown in the status bar of the main window

  • settings-phoning - the toggler is shown on the settings page in the phoning section