Skip to main content

SIP Awesome

SIP

rfctitleObsoleted by
rfc3261SIP: Session Initiation Protocol
rfc3262Reliability of Provisional Responses
rfc3265Event Notificationrfc6665
rfc3581Symmetric Response Routing
rfc3666PSTN Call Flows
rfc3959The Early Session Disposition Type
rfc5373Requesting Answering Modes
rfc5839Events for Conditional Event Notification
rfc6228Response Code for Indication of Terminated Dialog
rfc6337SIP Usage of the Offer/Answer Model
rfc6665Event Notification
rfc7118WebSocket Protocol as a Transport
// options
"100rel": true, // RFC 3262
"199": true, // RFC 6228
answermode: true, // RFC 5373
"early-session": true, // RFC 3959

// status code
199: "Early Dialog Terminated", // draft-ietf-sipcore-199
200: "OK",
202: "Accepted", // RFC 3265
204: "No Notification", // RFC 5839

Session State

                  ___________________________________________________________
| ____________________________________________ |
| | ____________________________ | |
Session | | | v v v
Constructed -> Initial -> Establishing -> Established -> Terminating -> Terminated
| |___________________________^ ^
|_______________________________________________|

Signaling State

OfferAnswerRFCIniEstEarly
1.INVITE Req.2xx INVITE Resp.RFC 3261YYN
2.2xx INVITE Resp.ACK Req.RFC 3261YYN
3.INVITE Req.1xx-rel INVITE Resp.RFC 3262YYN
4.1xx-rel INVITE Resp.PRACK Req.RFC 3262YYN
5.PRACK Req.200 PRACK Resp.RFC 3262NYY
6.UPDATE Req.2xx UPDATE Resp.RFC 3311NYY

[Summary of SIP Usage of the Offer/Answer Model]

rfc6337#section-2.2

SDP