Overclocked raspberry pi 4 running raspbian buster with a Sandisk U1 MicroSD card.
pi@raspberrypi:~ $ cat /etc/issue
Raspbian GNU/Linux 12 \n \l
pi@raspberrypi:~ $ uname -a
Linux pisip.govoip.ro 6.1.0-rpi8-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linux
Add repo key:
wget -qO - https://repo.govoip.ro/repo.key | gpg --dearmor | sudo tee /etc/apt/keyrings/govoip.gpg > /dev/null
Add repo:
echo 'deb [arch=arm64, signed-by=/etc/apt/keyrings/govoip.gpg] https://repo.govoip.ro bookworm main' | sudo tee --append /etc/apt/sources.list > /dev/null
Get repo:
sudo apt-get update
sudo apt-get install kamailio
sudo apt-get install ngcp-rtpengine
sudo apt-get install opensips
- kamailio 5.8.2
- rtpengine 12.4.1
- opensips 3.5.0-rc1
.
├── README.md
└── sipp
├── csv -> SIPP configured users and passwords
│ ├── uac.csv
│ └── uas.csv
├── defines -> SIPP configured parameters and IPs
├── defines1
├── defines2
├── defines3
├── defines4
├── uac.sh -> script for running uac
├── uas.sh -> script for running uas
└── xml -> SIPP xml sceanrios
├── p2p -> INVITE test without RTP
│ ├── uac.xml
│ └── uas.xml
├── p2p_rtp -> INVITE test with RTP
│ ├── long.pcap
│ ├── uac.xml
│ └── uas.xml
├── p2p_rtp_reinvite -> INVITE test with RTP and RE-INVITE with RTP
│ ├── long.pcap
│ ├── uac.xml
│ └── uas.xml
├── p2p_rtp_reinvite_t38_rtp -> INVITE test with RTP and RE-INVITE with T38<->RTP
│ ├── long.pcap
│ ├── t38.pcap
│ ├── uac.xml
│ └── uas.xml
├── p2p_srtp -> INVITE test with SRTP
│ ├── uac.xml
│ └── uas.xml
├── reg -> REGISTER test
│ ├── uac.xml
│ └── uas.xml
└── sub -> SUBSCRIBE/NOTIFY test
└── uac.xml
./uas.sh xml/reg/
./uac.sh xml/reg/
...
./uas.sh xml/p2p_srtp/
./uac.sh xml/p2p_srtp/
...
./uac.sh xml/sub/
...
REGISTER
SIPP UAC/UAS -------> RPI SIP SERVER
200 OK
SIPP UAC/UAS <------- RPI SIP SERVER
INVITE INVITE
SIPP UAC -------> RPI SIP SERVER -------> SIPP UAS
200 OK 200 OK
SIPP UAC <------- RPI SIP SERVER <------- SIPP UAS
ACK ACK
SIPP UAC -------> RPI SIP SERVER -------> SIPP UAS
<-------------------- Pause --------------------->
BYE BYE
SIPP UAC -------> RPI SIP SERVER -------> SIPP UAS
200 OK 200 OK
SIPP UAC <------- RPI SIP SERVER <------- SIPP UAS
Same as 2. but with RTP instead of Pause
Same as 2. but with SRTP instead of Pause
Same as 2. but with RTP instead of Pause and RE-INVITE updates UAC RTP port.
RTP media continues to be sent after RE-INVITE on new UAC port
SUBSCRIBE
SIPP UAC --------> RPI SIP SERVER
200 OK
SIPP UAC <-------- RPI SIP SERVER
NOTIFY
SIPP UAC <-------- RPI SIP SERVER
200 OK
SIPP UAC --------> RPI SIP SERVER