跳至正文
Wener Notes

SIP Awesome

约 2 分钟阅读
标签:资源精选

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
JavaScript
// 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

text
                  ___________________________________________________________
                 |  ____________________________________________             |
                 | |            ____________________________    |            |
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]

SDP

关联信息

反向链接、本文链接的其他页面和外部资料。

参考资料

GitHub6 条
Wikipedia1 条
标准文档1 条
  • RFC 6337datatracker.ietf.org/doc/html/rfc6337
    RFC

    IETF Request for Comments standard document.

其他外链2 条
最近更新commit cc44b1d编辑