Sip settings » History » Version 19
Adrian Georgescu, 01/24/2010 03:23 PM
1 | 19 | Adrian Georgescu | == sip-settings == |
---|---|---|---|
2 | 1 | Adrian Georgescu | |
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 | 19 | Adrian Georgescu | adigeo@ag-imac3:~$sip-settings |
11 | Usage: sip-settings [--general|--account] [options] 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|ALL |
||
17 | sip-settings --account show [user@domain|ALL] |
||
18 | sip-settings --account set [user@domain|ALL] key1=value1|DEFAULT |
||
19 | sip-settings --account default user@domain |
||
20 | 1 | Adrian Georgescu | |
21 | This script is used to manage the SIP SIMPLE middleware settings. |
||
22 | |||
23 | 10 | Adrian Georgescu | Options: |
24 | 16 | Adrian Georgescu | -h, --help show this help message and exit |
25 | -c FILE, --config-file=FILE |
||
26 | The path to a configuration file to use. This |
||
27 | overrides the default location of the configuration |
||
28 | file. |
||
29 | -a, --account Manage SIP accounts' settings |
||
30 | -g, --general Manage general SIP SIMPLE middleware settings |
||
31 | 1 | Adrian Georgescu | }}} |
32 | 9 | Adrian Georgescu | |
33 | To use the command line tools you must create at least one SIP account: |
||
34 | |||
35 | {{{ |
||
36 | 19 | Adrian Georgescu | sip-settings --account add user@domain password |
37 | 1 | Adrian Georgescu | }}} |