Sip settings

Version 16 (Adrian Georgescu, 07/23/2009 01:38 pm)

1 1 Adrian Georgescu
== sip_settings ==
2 1 Adrian Georgescu
3 1 Adrian Georgescu
[[TOC(SipTesting*, sip_*, depth=2)]]
4 1 Adrian Georgescu
5 1 Adrian Georgescu
=== Description ===
6 1 Adrian Georgescu
7 15 Adrian Georgescu
Manages [wiki:SipConfigurationAPI middleware configuration] used by command line tools. 
8 1 Adrian Georgescu
9 1 Adrian Georgescu
{{{
10 16 Adrian Georgescu
adigeo@ag-imac3:~$sip_settings 
11 16 Adrian Georgescu
Usage: sip_settings [--general|--account] [options] command [arguments]
12 1 Adrian Georgescu
       sip_settings --general show
13 1 Adrian Georgescu
       sip_settings --general set key1=value1 [key2=value2 ...]
14 1 Adrian Georgescu
       sip_settings --account list
15 1 Adrian Georgescu
       sip_settings --account add user@domain password
16 16 Adrian Georgescu
       sip_settings --account delete user@domain|ALL
17 16 Adrian Georgescu
       sip_settings --account show [user@domain|ALL]
18 16 Adrian Georgescu
       sip_settings --account set [user@domain|ALL] key1=value1|DEFAULT [key2=value2|DEFAULT ...]
19 1 Adrian Georgescu
       sip_settings --account default user@domain
20 1 Adrian Georgescu
21 1 Adrian Georgescu
This script is used to manage the SIP SIMPLE middleware settings.
22 1 Adrian Georgescu
23 10 Adrian Georgescu
Options:
24 16 Adrian Georgescu
  -h, --help            show this help message and exit
25 16 Adrian Georgescu
  -c FILE, --config-file=FILE
26 16 Adrian Georgescu
                        The path to a configuration file to use. This
27 16 Adrian Georgescu
                        overrides the default location of the configuration
28 16 Adrian Georgescu
                        file.
29 16 Adrian Georgescu
  -a, --account         Manage SIP accounts' settings
30 16 Adrian Georgescu
  -g, --general         Manage general SIP SIMPLE middleware settings
31 1 Adrian Georgescu
}}}
32 9 Adrian Georgescu
33 9 Adrian Georgescu
To use the command line tools you must create at least one SIP account:
34 9 Adrian Georgescu
35 9 Adrian Georgescu
{{{
36 9 Adrian Georgescu
sip_settings --account add user@domain password
37 1 Adrian Georgescu
}}}
38 15 Adrian Georgescu
39 15 Adrian Georgescu
40 15 Adrian Georgescu
> To migrate the settings from a library version prior to 0.9.0 use the [wiki:sip_migrate_settings] script.