SIP transactions and dialogs
Verified 2026-09-15 · 16 claims · sources tier 1–2
Also known as PAI, RPID, branch parameter, z9hG4bK.
The acknowledgement of a 2xx response to an INVITE is a separate transaction from the INVITE it acknowledges 6. The branch parameter on the topmost routing header identifies the transaction and must be unique across space and time for every request a user agent sends 8.
Transaction identification and ordering
A branch identifier written by an implementation of this specification must begin with the 7 characters z9hG4bK so a server can tell it was constructed to this specification 7. The sequence header identifies and orders transactions and consists of a number and a method that must match the request 10.
WarmTransfer's reading of the sources is that a request repeated with the same branch identifier and the same sequence number is the same transaction retransmitting rather than a new request, except in the 2 cases where the protocol reuses both by design 11. Specifically, 2 requests reuse the branch and sequence number of the request they refer to by design: a cancellation must carry a single routing header matching the top one of the request being cancelled and the identical numeric part of the sequence header, and an acknowledgement of a non-2xx response must carry a routing header equal to the top one of the original request and the same sequence number with the method set to acknowledge 9.
INVITE lifecycle and retransmissions
An INVITE is not retransmitted over a reliable transport, and retransmissions cease altogether once a provisional response arrives 12. The INVITE transaction timeout is 64 times the round trip time estimate whose default is 500 milliseconds, giving 32 seconds 14.
The INVITE server transaction is destroyed as soon as it passes a 2xx final response to the transport, so retransmitting that response is the responsibility of the user agent rather than the transaction layer 13. The originating user agent must generate an acknowledgement for each 2xx it receives with the same sequence number as the INVITE and the method set to acknowledge 15.
See also
- See also SIP retransmission timers and transaction state.
- See also SIP response codes and failure interpretation.
Applicability
Across the claims in this article, the evidence covers IETF Session Initiation Protocol, verified as of 2026-09-15. The deployment model is not covered by any claim in this article.
What remains uncertain
Why an acknowledgement is absent from a capture in a given case is not covered by any claim in this article. How a dialog route set is built and how it changes which messages a capture point sees is not covered by any claim in this article. What a capture looks like when more than 1 endpoint answers a forked request is not covered by any claim in this article.
See also
Underpins
- Call transfer REFER and Replaces semanticsstub — Transfer is built on dialog manipulation
Referenced by
- SIP retransmission timers and transaction statestub — When a repeat happens where this topic carries what it means
- SIP response codes — A final response of any class completes the transaction
Claims
| # | Claim | Status | Confidence | Verified |
|---|---|---|---|---|
| 1 | A SIP dialog is a peer-to-peer relationship between two user agents that persists over time, identified by a Call-ID value plus a local and remote tag, and it is used to sequence and route messages between the two agents. SIP: Session Initiation Protocol (RFC 3261) · section-12 | fact | 0.95 | 2026-09-04 |
| 2 | A 1xx response is provisional and every other class is final and a final response completes the transaction. RFC 3261 — SIP: Session Initiation Protocol · RFC 3261 sections 17 and 21 | fact | 0.90 | 2026-09-15 |
| 3 | For every 2xx response the UAC receives to an INVITE, the UAC core generates a separate ACK sent directly by the transport layer rather than the transaction layer, reusing the INVITE's CSeq number but with the method changed to ACK. SIP: Session Initiation Protocol (RFC 3261) · section-13.2.2.4 | fact | 0.95 | 2026-09-04 |
| 4 | Timer H sets the wait for an acknowledgement at 64 times the round trip estimate and its expiry is what ends a server transaction that never received one. RFC 3261 — SIP: Session Initiation Protocol · RFC 3261 sections 17.2.1 and appendix A | fact | 0.90 | 2026-09-15 |
| 5 | Four timers are scoped to an unreliable transport and become 0 on a reliable one: A and E do not retransmit at all and D I J and K wait 0 seconds instead of their unreliable values. RFC 3261 — SIP: Session Initiation Protocol · RFC 3261 appendix A, the timer table | fact | 0.90 | 2026-09-15 |
| 6 | The acknowledgement of a 2xx response to an INVITE is a separate transaction from the INVITE it acknowledges. RFC 3261 — SIP: Session Initiation Protocol · RFC 3261 section 6 terminology and section 13 | fact | 0.90 | 2026-09-15 |
| 7 | A branch identifier written by an implementation of this specification must begin with the 7 characters z9hG4bK so that a server can tell it was constructed to this specification. RFC 3261 — SIP: Session Initiation Protocol · RFC 3261 section 8.1.1.7 | fact | 0.90 | 2026-09-15 |
| 8 | The branch parameter on the topmost routing header is the transaction identifier and must be unique across space and time for every request a user agent sends. RFC 3261 — SIP: Session Initiation Protocol · RFC 3261 section 8.1.1.7 | fact | 0.90 | 2026-09-15 |
| 9 | Two requests reuse the branch and sequence number of the request they refer to by design: a cancellation must carry a single routing header matching the top one of the request being cancelled and the identical numeric part of the sequence header, and an acknowledgement of a non-2xx response must carry a routing header equal to the top one of the original request and the same sequence number with the method set to acknowledge. RFC 3261 — SIP: Session Initiation Protocol · RFC 3261 sections 9.1 and 17.1.1.3 | fact | 0.90 | 2026-09-15 |
| 10 | The sequence header identifies and orders transactions and consists of a number and a method that must match the request. RFC 3261 — SIP: Session Initiation Protocol · RFC 3261 section 8.1.1.5 | fact | 0.90 | 2026-09-15 |
| 11 | A request repeated with the same branch identifier and the same sequence number is the same transaction retransmitting rather than a new request except in the 2 cases where the protocol reuses both by design. RFC 3261 — SIP: Session Initiation Protocol · RFC 3261 sections 8.1.1.5 8.1.1.7 and 17.1.1.2 | inference | 0.60 | 2026-09-15 |
| 12 | An INVITE is not retransmitted over a reliable transport and retransmissions cease altogether once a provisional response arrives. RFC 3261 — SIP: Session Initiation Protocol · RFC 3261 section 17.1.1.2 | fact | 0.90 | 2026-09-15 |
| 13 | The INVITE server transaction is destroyed as soon as it passes a 2xx final response to the transport so retransmitting that response is the responsibility of the user agent rather than the transaction layer. RFC 3261 — SIP: Session Initiation Protocol · RFC 3261 section 13.3.1.4 | fact | 0.90 | 2026-09-15 |
| 14 | The INVITE transaction timeout is 64 times the round trip time estimate whose default is 500 milliseconds giving 32 seconds. RFC 3261 — SIP: Session Initiation Protocol · RFC 3261 section 17.1.1.2 and the timer table in appendix A | fact | 0.90 | 2026-09-15 |
| 15 | The originating user agent must generate an acknowledgement for each 2xx it receives with the same sequence number as the INVITE and the method set to acknowledge. RFC 3261 — SIP: Session Initiation Protocol · RFC 3261 section 13.2.2.4 | fact | 0.90 | 2026-09-15 |
| 16 | Webex Calling ignores the registration expiry value sent by the Local Gateway and enforces a value of 120 seconds, refreshing at approximately half that lifetime. Cisco Preferred Architecture for Webex Calling — Design Overview · Registration-based Local Gateway, pages 22-23 | fact | 0.90 | 2026-09-04 |
Sources
RFC 3261 — SIP: Session Initiation Protocol
SIP: Session Initiation Protocol (RFC 3261)
Cisco Preferred Architecture for Webex Calling — Design Overview
Cite this page
APA
WarmTransfer. (2026, September 15). SIP transactions and dialogs. WarmTransfer. https://warmtransfer.net/knowledge/sip-transactions-dialogs
BibTeX
@misc{warmtransfer-sip-transactions-dialogs,
title = {SIP transactions and dialogs},
author = {{WarmTransfer}},
year = {2026},
url = {https://warmtransfer.net/knowledge/sip-transactions-dialogs},
note = {Verified 2026-09-15}
}