A production-ready Asterisk 22 with complete support of WebRTC, PJSIP, SRTP, ARI, and audio codec.
143
A production-ready Asterisk 22 Docker image with complete WebRTC, PJSIP, SRTP, ARI, and audio codec support pre-configured.
This image is built for developers and teams who need a ready-to-use Asterisk environment without spending hours fixing missing modules, codec issues, WebSocket configuration, and WebRTC setup.
ā
Asterisk 22.x
ā
Docker ready
ā
WebRTC support
ā
PJSIP support
ā
Secure WebSocket (WSS) support
ā
UDP SIP support
ā
RTP media support
ā
SRTP enabled
ā
Opus codec support
ā
G.711 (ulaw/alaw) support
ā
G.722 support
ā
GSM codec support
ā
MP3 recording format support
ā
MixMonitor support
ā
ARI (Asterisk REST Interface) enabled
ā
HTTP & HTTPS server enabled
ā
WebSocket media support
ā
Ready for SIP.js / JsSIP / browser based softphones
This image includes commonly required Asterisk modules:
res_srtpres_http_websocketres_pjsip_transport_websocketThe image is prepared for browser-based calling.
Compatible with:
Standard SIP communication is fully supported.
This image includes Asterisk configuration files.
Configuration repository:
GitHub: soh-kaz/asterisk22-webrtcā
Configuration examples include:
config/
āāā pjsip.conf
āāā extensions.conf
āāā http.conf
āāā rtp.conf
āāā ari.conf
āāā logger.conf
āāā other Asterisk configs
Pull the image:
docker pull agahsuhail96/asterisk22-webrtc:latest
Generate TLS Certificate:
openssl genrsa -out ca.key 2048
openssl req -new -x509 -key ca.key -out ca.crt -days 3650 \
-subj "/CN=Asterisk CA"
openssl genrsa -out asterisk.key 2048
openssl req -new -key asterisk.key -out asterisk.csr \
-subj "/CN=localhost"
openssl x509 -req \
-in asterisk.csr \
-CA ca.crt \
-CAkey ca.key \
-CAcreateserial \
-out asterisk.crt \
-days 3650
This image can be used for:
Setting up Asterisk with WebRTC often requires manual configuration of:
This image provides a ready foundation so developers can focus on building their applications instead of spending time on Asterisk setup.
Suggestions, improvements, and collaborations are welcome.
Feel free to open issues, submit PRs, or discuss ideas.
GitHub: soh-kazā Docker: aghasuhail96ā
Use freely for personal and commercial projects.
Always verify your own production security requirements before deployment.
Content type
Image
Digest
sha256:d5f2d4d58ā¦
Size
558.4 MB
Last updated
3 months ago
docker pull aghasuhail96/asterisk22-webrtc