-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://gitlab.sippulse.com/vitor/pysip
Changes in README
- Loading branch information
Showing
1 changed file
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,47 @@ | ||
#IPSLA | ||
|
||
The objective of the IPSLA project is to test circuits to detect ALG routers and to to test the rtp performance of the circuit. | ||
|
||
|
||
#HOW TO USE | ||
|
||
The system has two modes, SERVER and CLIENT, the SERVER should be running in the first and the last rtp address of the rtp range. For ALG tests, your server needs to run OPENSIPS with a simple script for ALG detection. | ||
|
||
To run the SERVER use: | ||
|
||
```bash | ||
pysipctl SERVER rtp --host <your_host> --port <port> | ||
``` | ||
|
||
To run the CLIENT rtp test use: | ||
|
||
```bash | ||
pysipctl CLIENT rtp --host <server_host> --port <server_port> --loops <number_of_loops> | ||
``` | ||
|
||
Where: | ||
|
||
<server_host> is the server host to be tested | ||
<server_port> is the server port to be tested | ||
<server_host> is the server host to be tested\ | ||
<server_port> is the server port to be tested\ | ||
<number_of_loops> is the number of loops to be tested | ||
|
||
Use the first and the last port of your RTP range | ||
|
||
To run an ALG test, you need to have an OpenSIPS Server set with the ALG detector installed | ||
|
||
```bash | ||
pysipctl CLIENT alg --host <server_host> --port <server_port> --test <test_number> | ||
``` | ||
|
||
where <test_number> is the type of test | ||
|
||
1 - Test Contact if original | ||
2 - Test Via if original | ||
4 - Test SDP if original | ||
|
||
The test is of match type "ANY" the default is 7 (All tests) | ||
|
||
The responses will be ALG detected, No ALG detected | ||
|
||
|
||
|