-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# SIPp - Protocol and jitter testing | ||
|
||
## Build | ||
|
||
```bash | ||
git clone https://github.com/SIPp/sipp | ||
cd sipp | ||
cmake -B build -DUSE_PCAP=1 | ||
cmake --build build -j | ||
``` | ||
|
||
## Usage | ||
|
||
```bash | ||
sudo build/sipp -sf scenarios/uac_pcap.xml 127.0.0.1 -m 1 | ||
``` | ||
|
||
## PCAP's | ||
|
||
### Manipulating | ||
|
||
Reorder | ||
|
||
```bash | ||
editcap -r g711a.pcap tmp1 2-3 # dump packets 2-3 | ||
editcap -r -t 0.07 g711a.pcap tmp2 1 # dump packet 1 and manipulate timestamp | ||
editcap g711a.pcap tmp3 1-3 # exclude packets 1-3 | ||
mergecap -w out.pcap -a tmp1 tmp2 tmp3 | ||
``` | ||
|
||
Drop | ||
|
||
```bash | ||
editcap g711a.pcap out.pcap 2-3 # drop packets 2-3 | ||
``` |