forked from mwicat/skinnygen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
44 lines (29 loc) · 1.36 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Skinny traffic generator
Installation
Ubuntu:
sudo apt-get install python python-pip python-twisted
sudo pip install -e git+git://github.com/mwicat/skinnygen.git#egg=skinnygen
usage: skinnygen generate [-h] [--host HOST] [--port PORT]
[--user_handler USER_HANDLER]
[--call_handler CALL_HANDLER] [--numbers NUMBERS]
[--numbers_file NUMBERS_FILE]
device self_line
positional arguments:
device device name (e.g. SEP0045464292A0)
self_line device line (e.g. 472)
optional arguments:
-h, --help show this help message and exit
--host HOST asterisk host
--port PORT asterisk port
--user_handler USER_HANDLER
custom user behaviour handler
--call_handler CALL_HANDLER
custom call behaviour handler
--numbers NUMBERS comma separated numbers to dial (e.g. 333,221)
--numbers_file NUMBERS_FILE
file containing comma separated numbers to dial
Examples
Register as SEP002155D489A7 with line 333 and autoanswer all incoming calls
skinnygen generate --user_handler=idle --call_handler=autoanswer SEP002155D489A7 333
Register as SEP0016464292A0 with line 472 and dial random numbers
skinnygen generate --numbers=333 SEP0016464292A0 472