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