SIP Fundamentals
SIP REGISTER
REGISTER is the SIP method by which a user agent or PBX tells a SIP registrar 'I am at this IP address right now — route traffic for sip:user@domain to me.' It is the standard authentication + presence handshake.
Flow
- Endpoint sends
REGISTERwithContact: <sip:[email protected]>andExpires: 3600. - Registrar replies
401 Unauthorizedwith a digest challenge. - Endpoint re-sends
REGISTERwithAuthorizationheader containing the digest response. - Registrar replies
200 OK; the binding is now active. - Endpoint refreshes before expiry (typically every 60-300 seconds).
Sample exchange
REGISTER sip:sip.didhub.io SIP/2.0 From: <sip:[email protected]>;tag=ab To: <sip:[email protected]> Contact: <sip:[email protected]:5060> Expires: 300 CSeq: 1 REGISTER --> 401 Unauthorized + WWW-Authenticate REGISTER sip:sip.didhub.io SIP/2.0 Authorization: Digest username="trunk_x", realm="sip.didhub.io", nonce="abc...", uri="sip:sip.didhub.io", response="def..." --> 200 OK + Contact + Expires
Registration vs IP-ACL
Many carriers (DIDHub included) support both:
- Registration mode: the customer's PBX registers periodically. Works behind any NAT. Required for dynamic IPs.
- IP-ACL mode: the customer pins their static public IP on the trunk. No registration needed. Lower overhead, more deterministic, recommended for cloud / static deployments.
Related terms
Ready to get a number?
Pick a DID in 130+ countries from $1.99/month. Activates instantly on most numbers.