Page MenuHomePhabricator

Sip Settings
Updated 2,259 Days AgoPublic

Manages the configuration used by the middleware and Command Line Tools.

This script is available in the Sip Clients package which must be installed separately from the SIP SIMPLE client SDK package.
adigeo@ag-imac3:~$sip-settings 
Usage: sip-settings [--general|--account] [options] command [arguments]
       sip-settings --general show
       sip-settings --general set key1=value1 [key2=value2 ...]
       sip-settings --account list
       sip-settings --account add user@domain password
       sip-settings --account delete user@domain|ALL
       sip-settings --account show [user@domain|ALL]
       sip-settings --account set [user@domain|ALL] key1=value1|DEFAULT
       sip-settings --account default user@domain

This script is used to manage the SIP SIMPLE middleware settings.

Options:
  -h, --help            show this help message and exit
  -c FILE, --config-file=FILE
                        The path to a configuration file to use. This
                        overrides the default location of the configuration
                        file.
  -a, --account         Manage SIP accounts' settings
  -g, --general         Manage general SIP SIMPLE middleware settings

To use the command line tools you must create at least one SIP account:

sip-settings --account add user@domain password

You can make an account the default account for outgoing calls with:

sip-settings -a default user@domain

Individual settings for the account can be set with:

sip-settings -a set user@domain key=value

To see which per account settings are available, use:

sip-settings -a show

The settings are organized in a hierarchy. Use dotted notation for the keys.
For instance, the outbound_proxy setting in the sip group is written
sip.outbound_proxy. Use the dotted form in the command-line:

sip-settings -a set user@domain sip,outbound_proxy=proxy.sipthor.net

Global settings are arranged the same way; for instance, to change the global
outbound ringtone:

sip-settings -g set sounds.audio_outbound=/path/to/wav
Last Author
tijmen
Last Edited
Sep 17 2018, 3:45 PM

Event Timeline

tijmen edited the content of this document. (Show Details)