A developer live-coding session documenting the process of building a custom SIP soft phone from scratch in Zig, motivated by a new apartment lacking a traditional doorbell intercom. The session covers exploring the SIP protocol via Wikipedia and RFC documentation, experimenting with raw TCP connections using telnet and netcat, implementing a basic Zig TCP client/server to send SIP INVITE messages, using PJ SIP as a reference implementation, and beginning to understand the SIP signaling flow including INVITE, 200 OK, ACK, BYE, and the role of SDP for media negotiation. The developer also sets up an event loop using the Zig standard library to handle multiple sockets concurrently.
•1h 46m watch time
Sort: