Sip settings » History » Version 18
Adrian Georgescu, 11/12/2009 04:17 PM
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 | 16 | Adrian Georgescu | adigeo@ag-imac3:~$sip_settings |
11 | Usage: sip_settings [--general|--account] [options] command [arguments] |
||
12 | 1 | Adrian Georgescu | 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 | 16 | Adrian Georgescu | sip_settings --account delete user@domain|ALL |
17 | sip_settings --account show [user@domain|ALL] |
||
18 | 18 | Adrian Georgescu | sip_settings --account set [user@domain|ALL] key1=value1|DEFAULT |
19 | 1 | Adrian Georgescu | sip_settings --account default user@domain |
20 | |||
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 | sip_settings --account add user@domain password |
||
37 | 1 | Adrian Georgescu | }}} |