Automate your OpenSIPS config tests - OpenSIPS Summit 2024
AndreasGranig
93 views
23 slides
May 17, 2024
Slide 1 of 23
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
About This Presentation
These are the slides of my OpenSIPS Summit 2024 presentation about automating your test calls. It dives into why automated call testing is crucial, how to integrate it into your CI/CD pipeline and how to extend testing of single calls into load testing and testing of other protocols.
The presentati...
These are the slides of my OpenSIPS Summit 2024 presentation about automating your test calls. It dives into why automated call testing is crucial, how to integrate it into your CI/CD pipeline and how to extend testing of single calls into load testing and testing of other protocols.
The presentation also provides details how open source components such as sipp, asterisk and rtpengine are used to implement agents to generate test calls for SIP, Fax and WebRTC at scale.
Size: 975.63 KB
Language: en
Added: May 17, 2024
Slides: 23 pages
Slide Content
Automating your
OpenSIPS config tests
Andreas Granig <[email protected]>
It’s me, Andreas
“Let’s build our own test framework …”
“... but I already run Homer!”
Issues happen.
Time for some (Github) Action!
Github CI Trigger
sipfront-app
command & control
baresip
SIP UA
kamailio
SIP proxy
rtpengine
media handler
sipfront-persistor
Kafka to DB
TimestreamDB
metrics
PostgreSQL
events
sipfront-finalizer
condition evaluator
System
under
Test
MQTT SIP
RTP/RTCP
stats via
MQTT/KafkaHTTPS
SQL
SIP
RTP/RTCP
Github
GH action
via Sipfront API
Agent Anatomy
System
under
Test
Orchestration
Aggregation
generate
terminate
kamailio rtpengine
kamailio rtpengine
sipp baresip codecept
kamailio rtpengine
Docker
asterisk
Fax Setup
System
under
Test
Orchestration
Aggregation
sipfront-agent
kamailio rtpengine
asterisk
AMI
internal
external
SIP
UDP
IP4
RTP
IP4
G711/T.38
SIP
UDP/TCP/TLS
IP4/6
RTP
SDES/DTLS
IP4/6
G711/T.38
FAX_MODE_T38
FAX_MODE_G711
FAX_SUCCESSFUL
FAX_FAILED
App/WebRTC ↔ SIP
●Many variations in the wild
○OS, Browser
○IPv4/v6
○RTP/SRTP
○G711/Opus
●Device Farms help!
Lifting the carpet
Lifting the carpet
WebRTC Setup
Web App
sipfront-agent
appium Browserstack
codeceptjs
HTTPS
WebRTC
Orchestration
Aggregation
Audio recordings
SDP offer/answer
RTCP statistics
to SIP agent on B side