Skip to content
SIP Mastery

Part 8 · Call flow library / Module 22

Mid-call features

What happens inside a call that is already up: hold and resume, re-INVITE and UPDATE for a new codec, video, or address, reliable provisional responses (100rel and PRACK), preconditions, session timers, blind and attended transfer with REFER and Replaces, call forwarding, call pickup and park, third-party call control, and conferences.

IntermediateAdvancedNOC coreDEV core

After this module, you can

  • Put a call on hold and take it off hold, and read the SDP direction attributes and o= versions in each step.
  • Change a session with re-INVITE or UPDATE, and say what happens when the change is rejected or two changes cross (glare).
  • Explain reliable provisional responses (RSeq, RAck, PRACK) and why preconditions need them.
  • Follow a blind and an attended transfer, with REFER, NOTIFY and message/sipfrag, and Replaces.
  • Explain call forwarding, call pickup, call park, third-party call control, and a conference focus in terms of the SIP messages they use.
On this page13 sections
  1. 22.1Hold and resume
  2. 22.2Re-INVITE: codec change, add video, new media address
  3. 22.3Reliable provisional responses: 100rel, PRACK, RSeq, RAck
  4. 22.4UPDATE before the answer (preconditions overview)
  5. 22.5Session timer refresh
  6. 22.6Blind transfer: REFER, Refer-To, 202, NOTIFY with sipfrag
  7. 22.7Attended transfer: REFER with Replaces
  8. 22.8Call forwarding: unconditional, busy, no answer
  9. 22.9Call pickup and call park (concepts)
  10. 22.10Third-party call control (3PCC)
  11. 22.11Conferences (concepts)
  12. Common mistakes
  13. Summary

22.1 Hold and resume

A call that is up can change at any time. Either side sends a new SDP offer inside the dialog, and the other side answers it, exactly as in Module 15. The request that carries the offer is a re-INVITE: an INVITE with the To tag of the dialog. UPDATE can carry it too (22.2).

The most common change is hold. The phone that holds sends an offer with a=sendonly, so it can still play music on holdmusic on hold. Audio that a phone sends to the other side while it holds the call (a=sendonly), instead of silence., and the other side answers a=recvonly:

RFC 3264 §8.4 · Putting a Unicast Media Stream on Hold
“If the stream to be placed on hold was previously a sendrecv media stream, it is placed on hold by marking it as sendonly. If the stream to be placed on hold was previously a recvonly media stream, it is placed on hold by marking it inactive.”
Read the section ↗

Flow builder · hold with a=sendonly

Hold (sendonly): Alice sends re-INVITE

  • SIP
  • RTP media
Change
Method
Sent by
Result

Alice192.0.2.10Bob203.0.113.2001INVITE02200 OK03ACK04RTP audio (PCMU)05INVITE (hold)06200 OK (recvonly)07ACK08RTP music on hold
01/08

Alice calls Bob. The SDP offer lists PCMU and PCMA.

All steps as text
  1. Alice → Bob: INVITE. Alice calls Bob. The SDP offer lists PCMU and PCMA.
  2. Bob → Alice: 200 OK. Bob answers. The SDP answer chooses PCMU.
  3. Alice → Bob: ACK. Alice confirms. The dialog is now confirmed.
  4. Alice → Bob: RTP audio (PCMU). Alice and Bob talk.
  5. Alice → Bob: INVITE (hold). Alice puts Bob on hold: a=sendonly and the next o= version. The re-INVITE uses the same dialog: same Call-ID and tags.
  6. Bob → Alice: 200 OK (recvonly). Bob's phone answers a=recvonly: it will receive, but not send.
  7. Alice → Bob: ACK. Alice's phone confirms the 200 OK. The re-INVITE transaction ends.
  8. Alice → Bob: RTP music on hold. Alice's phone sends music on hold. Bob's phone sends nothing back.

Three details matter in every hold trace:

  • The o= version goes up by one in every new offer, and in every answer that differs from the last one. A phone that keeps the old version tells the other side “nothing changed” (Module 15).
  • The direction is the sender’s point of view. Alice’s offer says sendonly (“I will only send”); Bob’s answer says recvonly (“I will only receive”).
  • a=inactive holds without any media in either direction. Try Change: Hold (inactive). Old phones used c=0.0.0.0 instead, which RFC 3264 no longer recommends:
RFC 3264 §8.4 · Putting a Unicast Media Stream on Hold
“Its usage for putting a call on hold is no longer recommended, since it doesn't allow for RTCP to be used with held streams, doesn't work with IPv6, and breaks with connection oriented media.”
Read the section ↗

To resume, the holding side sends another offer with a=sendrecv and the next version. Try Change: Hold, then resume, and Sent by: Bob: the callee can hold the caller too, with his own CSeq numbers and his own o= versions.

22.2 Re-INVITE: codec change, add video, new media address

The same mechanism changes anything in the session. Each change is a new offer, with the next o= version:

Change What the new offer changes What the answer does
New codec The payload types on the m= line Picks from them, or the whole offer fails with 488
Add video A new m=video line after the audio Accepts it with a port, or rejects it with port 0
New IP address The address in c= Usually nothing: same SDP, same version

Flow builder · add video with a re-INVITE

Add video: Alice sends re-INVITE

  • SIP
  • RTP media
Change
Method
Sent by
Result

Alice192.0.2.10Bob203.0.113.2001INVITE02200 OK03ACK04RTP audio (PCMU)05INVITE (add video)06200 OK (video)07ACK08RTP audio (PCMU)09RTP video (H.264)
01/09

Alice calls Bob. The SDP offer lists PCMU and PCMA.

All steps as text
  1. Alice → Bob: INVITE. Alice calls Bob. The SDP offer lists PCMU and PCMA.
  2. Bob → Alice: 200 OK. Bob answers. The SDP answer chooses PCMU.
  3. Alice → Bob: ACK. Alice confirms. The dialog is now confirmed.
  4. Alice → Bob: RTP audio (PCMU). Alice and Bob talk.
  5. Alice → Bob: INVITE (add video). Alice turns on the camera. The offer keeps the audio m= line and adds an m=video line.
  6. Bob → Alice: 200 OK (video). Bob's phone accepts the video stream with its own port.
  7. Alice → Bob: ACK. Alice's phone confirms the 200 OK. The re-INVITE transaction ends.
  8. Alice → Bob: RTP audio (PCMU). The audio goes on as before, on its own port.
  9. Alice → Bob: RTP video (H.264). The video uses its own RTP session, on the ports of the m=video lines.

When the other side cannot accept the change. Try Result: Rejected. A video stream that Bob’s phone cannot handle is rejected in the answer, with port 0; the rest of the offer is accepted. A codec that Bob’s phone does not have makes the whole offer fail, with 488 Not Acceptable Here. A failed re-INVITE does not end the call:

RFC 3261 §14.1 · UAC Behavior
“If a UA receives a non-2xx final response to a re-INVITE, the session parameters MUST remain unchanged, as if no re-INVITE had been issued.”
Read the section ↗
RFC 3264 §6 · Generating the Answer
“To reject an offered stream, the port number in the corresponding stream in the answer MUST be set to zero.”
Read the section ↗

When two changes cross. If both phones send a re-INVITE at the same moment, each one rejects the other with 491 Request Pending (Module 9). Each then waits a random time and tries again; the phone that does not own the Call-ID waits less:

RFC 3261 §14.1 · UAC Behavior
“If the UAC is the owner of the Call-ID of the dialog ID (meaning it generated the value), T has a randomly chosen value between 2.1 and 4 seconds in units of 10 ms.”
Read the section ↗

re-INVITE or UPDATE? Switch Method to UPDATE. UPDATE carries the same offer, but the answer comes in its 200 OK, with no ACK, and it must come at once. A re-INVITE can wait for the user, for example to accept video. So RFC 3311 prefers re-INVITE in a confirmed dialog:

RFC 3311 §5.1 · Sending an UPDATE
“Although UPDATE can be used on confirmed dialogs, it is RECOMMENDED that a re-INVITE be used instead. This is because an UPDATE needs to be answered immediately, ruling out the possibility of user approval.”
Read the section ↗

UPDATE is essential in one place: before the call is answered, where a re-INVITE is not allowed (22.4).

22.3 Reliable provisional responses: 100rel, PRACK, RSeq, RAck

Provisional responses are not reliable (Module 8): a lost 180 is simply lost. That is a problem when a provisional response carries something that must arrive, such as the SDP answer in a 183 (Module 21). RFC 3262 makes them reliable:

RFC 3262 §3 · UAS Behavior
“A UAS MAY send any non-100 provisional response to INVITE reliably, so long as the initial INVITE request (the request whose provisional response is being sent reliably) contained a Supported header field with the option tag 100rel.”
Read the section ↗
  1. The INVITE says Supported: 100rel (or Require: 100rel).
  2. Bob’s phone sends the 1xx with Require: 100rel and an RSeq number, and resends it, with T1 doubling, until it is acknowledged.
  3. Alice’s phone acknowledges it with a PRACK, a new request in the early dialog. Its RAck header names the response: RSeq, then the CSeq number and method of the INVITE.
  4. The PRACK gets its own 200 OK.

Call flow · a reliable 180, a lost PRACK, and the retransmissions

A reliable 180, with a lost PRACK

  • SIP
  • RTP media
Alice192.0.2.10Bob203.0.113.2001INVITE02180 Ringing (reliable)03✕PRACK04180 Ringing (retransmission)05PRACK (retransmission)06200 OK (PRACK)07200 OK08ACK09RTP audio (PCMU)
01/09

Alice calls Bob. Supported: 100rel says her phone can acknowledge provisional responses.

All steps as text
  1. Alice → Bob: INVITE. Alice calls Bob. Supported: 100rel says her phone can acknowledge provisional responses.
  2. Bob → Alice: 180 Ringing (reliable). Bob's phone rings. Require: 100rel makes this 180 reliable, and RSeq numbers it.
  3. Alice → Bob: PRACK. Alice's phone acknowledges the 180. The packet never arrives.
  4. Bob → Alice: 180 Ringing (retransmission). No PRACK yet, so Bob's phone sends the 180 again after 500 ms, with the same RSeq.
  5. Alice → Bob: PRACK (retransmission). Alice's phone retransmits the PRACK itself, after 500 ms (Timer E). RAck names RSeq 1 of INVITE 1.
  6. Bob → Alice: 200 OK (PRACK). Bob's phone confirms the PRACK and stops retransmitting the 180.
  7. Bob → Alice: 200 OK. Bob answers. The 200 OK carries the SDP answer.
  8. Alice → Bob: ACK. Alice's phone confirms the 200 OK.
  9. Alice → Bob: RTP audio (PCMU). Alice and Bob talk.
RFC 3262 §7.2 · RAck
“The first number is the value from the RSeq header in the provisional response that is being acknowledged. The next number, and the method, are copied from the CSeq in the response that is being acknowledged.”
Read the section ↗

With an SDP answer in a reliable 183, the offer/answer exchange is complete before the 200 OK, and the early dialog can use UPDATE for further offers. Module 15 shows that flow (sdp-183-prack-update).

22.4 UPDATE before the answer (preconditions overview)

On some networks, a call must not ring until the network has reserved resources for its media: a guaranteed bandwidth on a mobile or cable network, for example. Otherwise the callee answers a call that then fails, a “ghost ring”:

RFC 3312 §1 · Introduction
“In order to minimize "ghost rings", it is necessary to reserve network resources for the session before the callee is alerted.”
Read the section ↗

Preconditionsprecondition. A condition in the SDP offer, usually reserved network resources (qos), that must be met before the callee's phone rings (RFC 3312). (RFC 3312) solve this with three tools from this module: an offer that lists the condition, a reliable 183 with the answer, and an UPDATE when the condition is met. The callee’s phone rings only after that:

RFC 3312 §1 · Introduction
“A precondition is a set of constraints about the session which are introduced in the offer. The recipient of the offer generates an answer, but does not alert the user or otherwise proceed with session establishment. That only occurs when the preconditions are met.”
Read the section ↗

Call flow · preconditions: ring only when resources are reserved

Preconditions: ring only when the network is ready

  • SIP
  • RTP media
Alice192.0.2.10Bob203.0.113.2001INVITE (offer)02183 Session Progress (answer)03PRACK04200 OK (PRACK)05UPDATE (offer)06200 OK (answer)07180 Ringing (reliable)08PRACK09200 OK (PRACK)10200 OK11ACK12RTP audio (PCMU)
01/12

Alice calls Bob. The offer says: no resources reserved yet, and they are mandatory in both directions.

All steps as text
  1. Alice → Bob: INVITE (offer). Alice calls Bob. The offer says: no resources reserved yet, and they are mandatory in both directions.
  2. Bob → Alice: 183 Session Progress (answer). Bob's phone answers in a reliable 183, but does not ring yet. a=conf asks Alice to say when her side is ready.
  3. Alice → Bob: PRACK. Alice's phone acknowledges the 183.
  4. Bob → Alice: 200 OK (PRACK). Bob's phone confirms the PRACK. Both sides now reserve network resources, for example with RSVP.
  5. Alice → Bob: UPDATE (offer). Alice's side has its resources. An UPDATE in the early dialog tells Bob: a=curr:qos e2e send.
  6. Bob → Alice: 200 OK (answer). Bob's side is ready too, so the answer says e2e sendrecv. The preconditions are met.
  7. Bob → Alice: 180 Ringing (reliable). Only now does Bob's phone ring. The call cannot fail for lack of resources after Bob answers.
  8. Alice → Bob: PRACK. Alice's phone acknowledges the 180, with RSeq 2.
  9. Bob → Alice: 200 OK (PRACK). Bob's phone confirms the PRACK.
  10. Bob → Alice: 200 OK. Bob answers. The UPDATE already settled the SDP, so the 200 OK has no body.
  11. Alice → Bob: ACK. Alice's phone confirms the 200 OK.
  12. Alice → Bob: RTP audio (PCMU). Alice and Bob talk, on the reserved resources.

The a=curr lines say what is reserved now; a=des says what each side needs; a=conf asks the other side to confirm. You will meet this mostly in IMS and VoLTE networks. Most enterprise and trunk calls do not use it.

22.5 Session timer refresh

A SIP proxy that keeps state for a call cannot tell whether the call is still up: a phone can crash without a BYE. The session timer (RFC 4028, Module 9) fixes this. One side, the refresherrefresher. The side that sends the session refreshes, named in the refresher parameter of Session-Expires., sends a refresh request before the interval ends. If none arrives, the other side sends BYE, and the proxies can forget the call:

RFC 4028 §7.2 · Processing a 2xx Response
“It is RECOMMENDED that this refresh be sent once half the session interval has elapsed.”
Read the section ↗

Flow builder · session refresh with UPDATE

Session refresh: Alice sends UPDATE

  • SIP
  • RTP media
Change
Method
Sent by
Result

Alice192.0.2.10Bob203.0.113.2001INVITE02200 OK03ACK04RTP audio (PCMU)05UPDATE (refresh)06200 OK07RTP audio (PCMU)
01/07

Alice calls Bob. Session-Expires asks for a session timer of 1800 s.

All steps as text
  1. Alice → Bob: INVITE. Alice calls Bob. Session-Expires asks for a session timer of 1800 s.
  2. Bob → Alice: 200 OK. Bob answers with PCMU and accepts the timer. Alice must refresh the session within 1800 s.
  3. Alice → Bob: ACK. Alice confirms. The dialog is now confirmed.
  4. Alice → Bob: RTP audio (PCMU). Alice and Bob talk.
  5. Alice → Bob: UPDATE (refresh). Half of the 1800 s has passed, so Alice's phone refreshes the session. An UPDATE with no SDP is enough.
  6. Bob → Alice: 200 OK. The 200 OK confirms the timer. Both phones start their 1800 s again.
  7. Alice → Bob: RTP audio (PCMU). Nothing changes in the media. The session timer protects against a call that stays up after one side has gone.

An UPDATE without SDP is the lightest refresh. A re-INVITE also works; its SDP is the same as before, with the same o= version, because nothing changes. refresher=uac or refresher=uas in Session-Expires says who refreshes, from the point of view of the transaction that carries it.

22.6 Blind transfer: REFER, Refer-To, 202, NOTIFY with sipfrag

In a transfer, the transferortransferor. In a call transfer, the party that sends the REFER. In Module 22, Alice. (Alice) asks the transfereetransferee. In a call transfer, the party that receives the REFER and makes the new call. In Module 22, Bob. (Bob) to call the transfer targettransfer target. In a call transfer, the party that the transferee calls. In Module 22, Carol. (Carol). The request is REFER:

RFC 3515 §1 · Overview
“For instance, if Alice is in a call with Bob, and decides Bob needs to talk to Carol, Alice can instruct her SIP user agent (UA) to send a SIP REFER request to Bob's UA providing Carol's SIP Contact information. Assuming Bob has given it permission, Bob's UA will attempt to call Carol using that contact. Bob's UA will then report whether it succeeded in reaching the contact to Alice's UA.”
Read the section ↗
  1. Alice usually puts Bob on hold first.
  2. Alice sends REFER in the existing dialog, with Refer-To (Carol’s address) and Referred-By (Alice).
  3. Bob’s phone answers 202 Accepted. The REFER also creates a subscription: Bob must now report how the new call goes.
  4. Bob’s phone calls Carol, in a new dialog with a new Call-ID.
  5. Bob’s phone sends NOTIFY requests with Event: refer and a message/sipfrag body: the status line of Carol’s response, such as SIP/2.0 100 Trying, then SIP/2.0 200 OK.
  6. When the transfer worked, Alice ends her call with Bob with a BYE. When it failed, she can take Bob back.

Flow builder · blind transfer (RFC 5589 §6.1)

Blind transfer: Carol answers

  • SIP
  • RTP media
Transfer
Carol
Alice hangs up
What if

Alice192.0.2.10Bob203.0.113.20Carol198.51.100.3001INVITE02200 OK03ACK04RTP audio (PCMU)05INVITE (hold)06200 OK (recvonly)07ACK08RTP music on hold09REFER10202 Accepted11NOTIFY (100)12200 OK (NOTIFY)13INVITE14180 Ringing15200 OK16ACK17NOTIFY (200)18200 OK (NOTIFY)19BYE20200 OK (BYE)21RTP audio (PCMU)
01/21

Alice calls Bob.

All steps as text
  1. Alice → Bob: INVITE. Alice calls Bob.
  2. Bob → Alice: 200 OK. Bob answers.
  3. Alice → Bob: ACK. Alice's phone confirms the 200 OK.
  4. Alice → Bob: RTP audio (PCMU). Bob asks for someone in sales. Alice decides to transfer him to Carol.
  5. Alice → Bob: INVITE (hold). Alice puts Bob on hold first, so he hears music, not the transfer.
  6. Bob → Alice: 200 OK (recvonly). Bob's phone answers a=recvonly.
  7. Alice → Bob: ACK. Alice's phone confirms the 200 OK.
  8. Alice → Bob: RTP music on hold. Bob hears music on hold.
  9. Alice → Bob: REFER. Alice transfers Bob. The REFER asks Bob's phone to call the address in Refer-To.
  10. Bob → Alice: 202 Accepted. Bob's phone accepts the REFER. It will call Carol, and report back in NOTIFYs.
  11. Bob → Alice: NOTIFY (100). The first NOTIFY says that Bob's phone is trying. Its body is a message/sipfrag.
  12. Alice → Bob: 200 OK (NOTIFY). Alice's phone confirms the NOTIFY.
  13. Bob → Carol: INVITE. Bob's phone calls Carol, as the REFER asked. It is a new dialog, with a new Call-ID and Referred-By.
  14. Carol → Bob: 180 Ringing. Carol's phone rings.
  15. Carol → Bob: 200 OK. Carol answers.
  16. Bob → Carol: ACK. Bob's phone confirms. Bob and Carol now have a call.
  17. Bob → Alice: NOTIFY (200). The last NOTIFY carries the final response from Carol: 200 OK. The transfer worked.
  18. Alice → Bob: 200 OK (NOTIFY). Alice's phone confirms the last NOTIFY. The subscription has ended.
  19. Alice → Bob: BYE. Now Alice hangs up her call with Bob. The REFER did not end it.
  20. Bob → Alice: 200 OK (BYE). Bob's phone confirms. Alice is out of both calls.
  21. Bob → Carol: RTP audio (PCMU). Bob and Carol talk. The transfer is complete.
RFC 3515 §2.4.5 · The Body of the NOTIFY
“The body of a NOTIFY MUST begin with a SIP Response Status-Line as defined in [1]. The response class in this status line indicates the status of the referred action.”
Read the section ↗

Try Carol: busy. The last NOTIFY says SIP/2.0 486 Busy Here, and Alice takes Bob off hold. The REFER and the call it starts are separate from the original call, which stays up until somebody sends BYE:

RFC 5589 §5 · Using REFER to Achieve Call Transfer
“Note that a successful REFER transaction does not terminate the session between the Transferor and the Transferee. If those parties wish to terminate their session, they must do so with a subsequent BYE request.”
Read the section ↗

RFC 5589 sends the REFER inside the existing dialog, as here, unless the transferor knows that a REFER on a new dialog will reach the same phone:

RFC 5589 §5 · Using REFER to Achieve Call Transfer
“If the nature of the Contact URI is not known or if support for the target-dialog extension is not known, the REFER SHOULD be sent inside the existing dialog.”
Read the section ↗

22.7 Attended transfer: REFER with Replaces

In an attended (or consultation) transfer, Alice first talks to Carol, then connects Bob to her. Alice now has two dialogs: one with Bob, on hold, and one with Carol. The REFER asks Bob to replace Alice’s dialog with Carol:

  1. Refer-To carries Carol’s Contact, with a Replaces header inside the URI: the Call-ID of Alice’s call with Carol, and its two tags.
  2. Bob’s phone sends Carol an INVITE with that Replaces header.
  3. Carol’s phone finds the dialog, answers the INVITE at once, without ringing, and ends its call with Alice with a BYE.

Flow builder · attended transfer (RFC 5589 §7.3)

Attended transfer: Carol answers

  • SIP
  • RTP media
Transfer
Carol
Alice hangs up
What if

Alice192.0.2.10Bob203.0.113.20Carol198.51.100.3001INVITE02200 OK03ACK04RTP audio (PCMU)05INVITE (hold)06200 OK (recvonly)07ACK08RTP music on hold09INVITE10180 Ringing11200 OK12ACK13RTP audio (consultation)14REFER15202 Accepted16NOTIFY (100)17200 OK (NOTIFY)18INVITE (Replaces)19200 OK20ACK21BYE22200 OK (BYE)23NOTIFY (200)24200 OK (NOTIFY)25BYE26200 OK (BYE)27RTP audio (PCMU)
01/27

Alice calls Bob.

All steps as text
  1. Alice → Bob: INVITE. Alice calls Bob.
  2. Bob → Alice: 200 OK. Bob answers.
  3. Alice → Bob: ACK. Alice's phone confirms the 200 OK.
  4. Alice → Bob: RTP audio (PCMU). Bob asks for someone in sales. Alice decides to transfer him to Carol.
  5. Alice → Bob: INVITE (hold). Alice puts Bob on hold first, so he hears music, not the transfer.
  6. Bob → Alice: 200 OK (recvonly). Bob's phone answers a=recvonly.
  7. Alice → Bob: ACK. Alice's phone confirms the 200 OK.
  8. Alice → Bob: RTP music on hold. Bob hears music on hold.
  9. Alice → Carol: INVITE. Alice calls Carol, on a second line. This is a new dialog, with a new Call-ID.
  10. Carol → Alice: 180 Ringing. Carol's phone rings.
  11. Carol → Alice: 200 OK. Carol answers.
  12. Alice → Carol: ACK. Alice's phone confirms the 200 OK.
  13. Alice → Carol: RTP audio (consultation). Alice tells Carol about Bob. Bob still hears music on hold.
  14. Alice → Bob: REFER. Alice transfers Bob. Refer-To carries Carol's Contact and a Replaces header for Alice's call with Carol.
  15. Bob → Alice: 202 Accepted. Bob's phone accepts the REFER. It will call Carol, and report back in NOTIFYs.
  16. Bob → Alice: NOTIFY (100). The first NOTIFY says that Bob's phone is trying. Its body is a message/sipfrag.
  17. Alice → Bob: 200 OK (NOTIFY). Alice's phone confirms the NOTIFY.
  18. Bob → Carol: INVITE (Replaces). Bob's phone calls Carol's Contact, with the Replaces header from Refer-To. It is a new dialog, with a new Call-ID.
  19. Carol → Bob: 200 OK. Carol's phone matches Replaces to her call with Alice, so it answers at once, with no ringing.
  20. Bob → Carol: ACK. Bob's phone confirms. Bob and Carol now have a call.
  21. Carol → Alice: BYE. Carol's phone ends the replaced call with Alice.
  22. Alice → Carol: 200 OK (BYE). Alice's phone confirms. Alice is no longer talking to Carol.
  23. Bob → Alice: NOTIFY (200). The last NOTIFY carries the final response from Carol: 200 OK. The transfer worked.
  24. Alice → Bob: 200 OK (NOTIFY). Alice's phone confirms the last NOTIFY. The subscription has ended.
  25. Alice → Bob: BYE. Now Alice hangs up her call with Bob. The REFER did not end it.
  26. Bob → Alice: 200 OK (BYE). Bob's phone confirms. Alice is out of both calls.
  27. Bob → Carol: RTP audio (PCMU). Bob and Carol talk. The transfer is complete.

Replaces names the dialog as the receiver sees it. Carol’s phone compares to-tag with its own tag:

RFC 3891 §3 · User Agent Server Behavior: Receiving a Replaces Header
“The User Agent Server (UAS) matches the to-tag and from-tag parameters as if they were tags present in an incoming request. In other words, the to-tag parameter is compared to the local tag, and the from-tag parameter is compared to the remote tag.”
Read the section ↗
RFC 3891 §3 · User Agent Server Behavior: Receiving a Replaces Header
“Otherwise, it accepts the new INVITE by sending a 200-class response, and shuts down the replaced dialog by sending a BYE.”
Read the section ↗

22.8 Call forwarding: unconditional, busy, no answer

Call forwarding usually happens in the network, at Bob’s proxy or PBX, not in Bob’s phone. Proxy B changes the Request-URI to the forwarding target and forwards the INVITE there (RFC 5359 §2.7 to §2.9):

RFC 5359 §2.7 · Call Forwarding Unconditional
“Alice calls Bob. The proxy server rewrites the Request URI, and forwards the INVITE to a Gateway.”
Read the section ↗
Rule When Proxy B forwards What Bob’s phone sees
Unconditional (always) At once Nothing: it never rings
Busy After Bob’s phone answers 486 An INVITE, which it rejects
No answer After Bob’s ring time, for example 20 s An INVITE, a CANCEL, and a 487

Flow builder · call forwarding to voicemail

Bob forwards busy calls to voicemail

  • SIP
  • RTP media
Path
Outcome
What if
Lost packet
Forwarding
Hangs up

Alice192.0.2.10Proxy B203.0.113.10Bob203.0.113.20Voicemail server203.0.113.5001INVITE02100 Trying03INVITE04486 Busy Here05ACK06INVITE07200 OK08200 OK09ACK10ACK11RTP audio (PCMU)12BYE13BYE14200 OK (BYE)15200 OK (BYE)
01/15

Alice's phone sends the INVITE to Proxy B, the proxy for biloxi.example. The SDP offer lists PCMU and PCMA.

All steps as text
  1. Alice → Proxy B: INVITE. Alice's phone sends the INVITE to Proxy B, the proxy for biloxi.example. The SDP offer lists PCMU and PCMA.
  2. Proxy B → Alice: 100 Trying. Proxy B answers 100 Trying, so Alice's phone stops retransmitting the INVITE.
  3. Proxy B → Bob: INVITE. Proxy B finds Bob's Contact in its location service. It adds its Via and a Record-Route and sends the INVITE there.
  4. Bob → Proxy B: 486 Busy Here. Bob is on another call. His phone rejects the INVITE at once.
  5. Proxy B → Bob: ACK. Proxy B confirms the 486 on this hop. Bob forwards busy calls, so the 486 stops here.
  6. Proxy B → Voicemail server: INVITE. Proxy B tries Bob's forwarding target: the voicemail server, on a new branch. The To header still names Bob.
  7. Voicemail server → Proxy B: 200 OK. The voicemail server answers at once, with its SDP answer.
  8. Proxy B → Alice: 200 OK. Proxy B forwards the 200 OK. Alice's phone reverses the Record-Route list to build the route set.
  9. Alice → Proxy B: ACK. Alice's phone sends the ACK, with a new branch. The ACK follows the route set.
  10. Proxy B → Voicemail server: ACK. Proxy B removes its own Route entry and forwards the ACK.
  11. Alice → Voicemail server: RTP audio (PCMU). Alice hears Bob's greeting, and leaves a message after the tone.
  12. Alice → Proxy B: BYE. Alice hangs up. The BYE goes to the remote target, through the route set.
  13. Proxy B → Voicemail server: BYE. Proxy B removes its own Route entry and forwards the BYE.
  14. Voicemail server → Proxy B: 200 OK (BYE). The voicemail server confirms the BYE. The dialog ends.
  15. Proxy B → Alice: 200 OK (BYE). Proxy B forwards the 200 OK.

Change Forwarding in the builder. This is sequential forking (Module 21) with a rule: the 486 or 487 from Bob’s branch stays at Proxy B, and Alice sees only the call that the Voicemail serverVoicemail server. A server that answers calls for a user who cannot take them, plays a greeting, and records a message. In Module 22, Bob's forwarding target. answers. The To header still names Bob, and a simple voicemail server picks the mailbox from it. After more than one forward, it needs a header that records the history of the call: Diversion or History-Info (Module 24).

A phone can also forward a call itself, with a 302 redirect (Module 21). That works only while the phone is registered and reachable.

22.9 Call pickup and call park (concepts)

Call pickup: Bob’s phone rings while he is away, and Carol, in the same team, picks up the call from her own phone. Carol’s phone learns the dialog of the ringing call (Call-ID and tags) from the dialog event package (Module 23), then sends Alice an INVITE with Replaces and the early-only flag. Alice’s phone answers Carol and cancels its INVITE to Bob:

Call flow · call pickup with Replaces (RFC 5359 §2.16)

Call pickup: Carol answers Bob's ringing phone

  • SIP
  • RTP media
Alice192.0.2.10Bob203.0.113.20Carol198.51.100.3001INVITE02180 Ringing03INVITE (Replaces)04200 OK05ACK06CANCEL07200 OK (CANCEL)08487 Request Terminated09ACK10RTP audio (PCMU)
01/10

Alice calls Bob.

All steps as text
  1. Alice → Bob: INVITE. Alice calls Bob.
  2. Bob → Alice: 180 Ringing. Bob's phone rings, but Bob is away. The 180 makes an early dialog with Alice.
  3. Carol → Alice: INVITE (Replaces). Carol presses Pickup. Her phone calls Alice's Contact, with Replaces naming Alice's early dialog with Bob.
  4. Alice → Carol: 200 OK. Alice's phone sent that INVITE to Bob, so it may replace the early dialog. It answers Carol at once.
  5. Carol → Alice: ACK. Carol's phone confirms the 200 OK.
  6. Alice → Bob: CANCEL. Alice's phone ends the replaced early dialog with a CANCEL, so Bob's phone stops ringing.
  7. Bob → Alice: 200 OK (CANCEL). Bob's phone answers the CANCEL.
  8. Bob → Alice: 487 Request Terminated. Bob's phone ends the INVITE with 487.
  9. Alice → Bob: ACK. Alice's phone confirms the 487.
  10. Alice → Carol: RTP audio (PCMU). Alice talks to Carol. She called Bob, and Carol answered for him.
RFC 3891 §3 · User Agent Server Behavior: Receiving a Replaces Header
“If the Replaces header field matches an early dialog that was initiated by the UA, it accepts the new INVITE by sending a 200-class response, and shuts down the replaced dialog by sending a CANCEL.”
Read the section ↗
RFC 5359 §2.16 · Call Pickup
“This parameter prevents Alice from accepting the INVITE if Bob has already accepted the INVITE.”
Read the section ↗

Call park is a transfer to a park server: Bob transfers Alice to “park orbit 701”, and the park server holds her, usually with music on hold. Later, Carol retrieves the call from any phone. Her phone sends Alice an INVITE with Replaces for the dialog with the park server. RFC 5359 calls park “a special case of call transfer”:

RFC 5359 §2.15 · Call Park
“Carol wishes to retrieve the call, so she sends an INVITE containing the dialog identifiers to Alice, which replaces the session with the Park Server.”
Read the section ↗

Both features use only REFER, Replaces, and the dialog event package. Most PBXs implement them inside the PBX instead, as a B2BUA; then the phones see ordinary calls.

22.10 Third-party call control (3PCC)

In third-party call controlthird-party call control. Setting up a call between two parties from a third element, the Controller, which passes each party's SDP to the other (RFC 3725)., a third element sets up a call between two others. The classic example is click to dial: Alice clicks “Call Bob” on a web page, and a ControllerController. In third-party call control (Module 22), the element that sets up a call between two other parties, for example a click-to-dial server. It is a B2BUA. calls her, then calls Bob, and connects the two. The Controller is a B2BUA. It has one dialog with each party, and passes each party’s SDP to the other, so the media flows directly between Alice and Bob.

RFC 3725 describes four ways to do this. Flow IV is the one to use for calls to people:

RFC 3725 §5 · Recommendations
“For calls to unknown entities, or to entities known to represent people, it is RECOMMENDED that Flow IV (Figure 4) be used for third party call control.”
Read the section ↗

Call flow · click to dial, RFC 3725 Flow IV

Third-party call control: click to dial

  • SIP
  • RTP media
Alice192.0.2.10Controller198.51.100.20Bob203.0.113.2001INVITE (no media)02200 OK (no media)03ACK04INVITE (no SDP)05200 OK (offer)06INVITE (offer)07200 OK (answer)08ACK (answer)09ACK10RTP audio (PCMU)
01/10

Alice clicks "Call Bob" on a web page. The Controller calls Alice first, with an SDP that has no m= lines.

All steps as text
  1. Controller → Alice: INVITE (no media). Alice clicks "Call Bob" on a web page. The Controller calls Alice first, with an SDP that has no m= lines.
  2. Alice → Controller: 200 OK (no media). Alice answers. Her answer has no media either.
  3. Controller → Alice: ACK. The Controller confirms. Alice now waits on a call with no audio.
  4. Controller → Bob: INVITE (no SDP). The Controller calls Bob with no SDP, so Bob's 200 OK must carry an offer.
  5. Bob → Controller: 200 OK (offer). Bob answers. His offer, offer2, lists PCMU and PCMA at Bob's address.
  6. Controller → Alice: INVITE (offer). The Controller sends Bob's offer to Alice in a re-INVITE. Only the o= line changes: the Controller's origin, next version.
  7. Alice → Controller: 200 OK (answer). Alice's phone answers with PCMU, at her own address.
  8. Controller → Bob: ACK (answer). The Controller passes Alice's answer to Bob in the ACK, with its own origin for this dialog.
  9. Controller → Alice: ACK. The Controller confirms Alice's 200 OK.
  10. Alice → Bob: RTP audio (PCMU). The media flows between Alice and Bob. The Controller stays in both dialogs, but never sees the RTP.
RFC 3725 §4.4 · Flow IV
“The only change that is needed is to modify the origin lines, so that the origin line in offer2' is valid based on the value in offer1 (validity requires that the version increments by one, and that the other parameters remain unchanged).”
Read the section ↗

Flow I is simpler: the Controller sends Alice an INVITE without SDP, and passes her offer to Bob. But it holds Alice’s ACK until Bob answers, and a person may take longer than the 32 s that Alice’s phone resends its 200 OK:

RFC 3725 §4.1 · Flow I
“However, it has a serious timeout problem. User B may not answer the call immediately. The result is that the controller cannot send the ACK to A right away.”
Read the section ↗

So Flow I is for automatic answerers, such as a media server or a conference bridge.

22.11 Conferences (concepts)

A SIP conference has a centre, the Conference focusConference focus. The SIP user agent at a conference URI. Each participant has a dialog with it, and it makes sure that everybody gets the conference media, with a mixer.: a SIP user agent at a conference URI, such as sip:conf-4711@conf.atlanta.example. Each participant has a normal dialog with the focus. The focus uses a mixer to send each participant the sum of the other voices:

RFC 4353 §4.1 · Focus
“As its name implies, the focus is the center of the conference. All participants in the conference are connected to it by a SIP dialog.”
Read the section ↗

Call flow · two participants, one focus

A conference: two calls to one focus

  • SIP
  • RTP media
Alice192.0.2.10Bob203.0.113.20Conference focus198.51.100.4001INVITE02200 OK03ACK04INVITE05200 OK06ACK07RTP audio (Alice)08RTP audio (Bob)
01/08

Alice dials the conference URI. It is a normal INVITE, to a normal SIP URI.

All steps as text
  1. Alice → Conference focus: INVITE. Alice dials the conference URI. It is a normal INVITE, to a normal SIP URI.
  2. Conference focus → Alice: 200 OK. The focus answers. The isfocus parameter in Contact says: this dialog is a conference.
  3. Alice → Conference focus: ACK. Alice's phone confirms the 200 OK.
  4. Bob → Conference focus: INVITE. Bob dials the same conference URI. His call is a separate dialog with the focus.
  5. Conference focus → Bob: 200 OK. The focus answers Bob too, with its own SDP for his leg.
  6. Bob → Conference focus: ACK. Bob's phone confirms the 200 OK.
  7. Alice → Conference focus: RTP audio (Alice). Alice sends her audio to the focus, and gets back a mix of everybody else.
  8. Bob → Conference focus: RTP audio (Bob). Bob does the same. The focus mixes the two streams; Alice and Bob never send RTP to each other.

The focus marks its Contact with isfocus, so that a conference-aware phone can offer conference controls:

RFC 4579 §4.2 · Session Establishment
“In session establishment, a focus MUST include the 'isfocus' feature parameter in the Contact header field unless the focus wishes to hide the fact that it is a focus.”
Read the section ↗

Other operations use the tools of this module. To bring Carol into the conference, a participant sends the focus a REFER with Carol’s address, and the focus calls her. To turn a call into a three-way call, a phone can transfer both parties to a new focus. The conference event package (Module 23) tells participants who is in the conference. Large conference systems often use a single B2BUA with a media server instead, but the participants still see one dialog each.

Common mistakes

REFER without handling the NOTIFY

A phone sends REFER, gets 202 Accepted, and hangs up at once: from the user’s point of view, the transfer is done. But a 202 means only that Bob’s phone will try. When Carol is busy, Bob’s call fails, and nobody is left to take him back. Worse, the transferor’s phone often answers the NOTIFYs with 481, so it never even sees the failure.

Broken: hangs up after the 202

Blind transfer: Carol is busy

  • SIP
  • RTP media
  • ⚠Problem
Alice192.0.2.10Bob203.0.113.20Carol198.51.100.3001INVITE02200 OK03ACK04RTP audio (PCMU)05INVITE (hold)06200 OK (recvonly)07ACK08RTP music on hold09REFER10202 Accepted11BYE⚠12200 OK (BYE)13NOTIFY (100)14481 Call/Transaction Does Not Exist15INVITE16486 Busy Here17ACK⚠
01/17

Alice calls Bob.

All steps as text
  1. Alice → Bob: INVITE. Alice calls Bob.
  2. Bob → Alice: 200 OK. Bob answers.
  3. Alice → Bob: ACK. Alice's phone confirms the 200 OK.
  4. Alice → Bob: RTP audio (PCMU). Bob asks for someone in sales. Alice decides to transfer him to Carol.
  5. Alice → Bob: INVITE (hold). Alice puts Bob on hold first, so he hears music, not the transfer.
  6. Bob → Alice: 200 OK (recvonly). Bob's phone answers a=recvonly.
  7. Alice → Bob: ACK. Alice's phone confirms the 200 OK.
  8. Alice → Bob: RTP music on hold. Bob hears music on hold.
  9. Alice → Bob: REFER. Alice transfers Bob. The REFER asks Bob's phone to call the address in Refer-To.
  10. Bob → Alice: 202 Accepted. Bob's phone accepts the REFER. It will call Carol, and report back in NOTIFYs.
  11. Alice → Bob: BYE. Alice hangs up at once. Her phone forgets the whole dialog, including the subscription. Problem: The BYE ends the call, not the subscription. Alice will not learn whether the transfer works.
  12. Bob → Alice: 200 OK (BYE). Bob's phone confirms the BYE. Bob still hears nothing.
  13. Bob → Alice: NOTIFY (100). The first NOTIFY says that Bob's phone is trying. Its body is a message/sipfrag.
  14. Alice → Bob: 481 Call/Transaction Does Not Exist. Alice's phone has no dialog left, so it answers 481. That ends the subscription.
  15. Bob → Carol: INVITE. Bob's phone calls Carol, as the REFER asked. It is a new dialog, with a new Call-ID and Referred-By.
  16. Carol → Bob: 486 Busy Here. Carol is on another call.
  17. Bob → Carol: ACK. Bob's phone confirms the 486. Problem: Bob's call to Carol failed, and Alice has gone. Bob has nobody to talk to.

Remember: keep the call with the transferee until the NOTIFY with a final status (2xx to 6xx) arrives, and answer every NOTIFY with 200 OK. If the status is a failure, take the call back. Only “blind” transfers in a PBX that retries on failure may hang up early.

Replaces with the tags the wrong way round

In an attended transfer, the transferor builds the Replaces value from its own dialog with the target: Call-ID, its own tag, the target’s tag. It writes its own tag as to-tag. But the target compares to-tag with its own local tag, finds no match, and answers 481. The transfer fails every time, and only for attended transfers.

Broken

Broken: the Replaces tags are swapped

  • SIP
  • RTP media
  • ⚠Problem
Alice192.0.2.10Bob203.0.113.20Carol198.51.100.3001INVITE02200 OK03ACK04RTP audio (PCMU)05INVITE (hold)06200 OK (recvonly)07ACK08RTP music on hold09INVITE10180 Ringing11200 OK12ACK13RTP audio (consultation)14REFER⚠15202 Accepted16NOTIFY (100)17200 OK (NOTIFY)18INVITE (Replaces)19481 Call/Transaction Does Not Exist20ACK21NOTIFY (481)22200 OK (NOTIFY)23INVITE (resume)24200 OK (sendrecv)25ACK26RTP audio (PCMU)
01/26

Alice calls Bob.

All steps as text
  1. Alice → Bob: INVITE. Alice calls Bob.
  2. Bob → Alice: 200 OK. Bob answers.
  3. Alice → Bob: ACK. Alice's phone confirms the 200 OK.
  4. Alice → Bob: RTP audio (PCMU). Bob asks for someone in sales. Alice decides to transfer him to Carol.
  5. Alice → Bob: INVITE (hold). Alice puts Bob on hold first, so he hears music, not the transfer.
  6. Bob → Alice: 200 OK (recvonly). Bob's phone answers a=recvonly.
  7. Alice → Bob: ACK. Alice's phone confirms the 200 OK.
  8. Alice → Bob: RTP music on hold. Bob hears music on hold.
  9. Alice → Carol: INVITE. Alice calls Carol, on a second line. This is a new dialog, with a new Call-ID.
  10. Carol → Alice: 180 Ringing. Carol's phone rings.
  11. Carol → Alice: 200 OK. Carol answers.
  12. Alice → Carol: ACK. Alice's phone confirms the 200 OK.
  13. Alice → Carol: RTP audio (consultation). Alice tells Carol about Bob. Bob still hears music on hold.
  14. Alice → Bob: REFER. Alice transfers Bob. Refer-To carries Carol's Contact and a Replaces header for Alice's call with Carol. Problem: In Replaces, to-tag must be Carol's own tag, and from-tag Alice's. Alice's phone swapped them.
  15. Bob → Alice: 202 Accepted. Bob's phone accepts the REFER. It will call Carol, and report back in NOTIFYs.
  16. Bob → Alice: NOTIFY (100). The first NOTIFY says that Bob's phone is trying. Its body is a message/sipfrag.
  17. Alice → Bob: 200 OK (NOTIFY). Alice's phone confirms the NOTIFY.
  18. Bob → Carol: INVITE (Replaces). Bob's phone calls Carol's Contact, with the Replaces header from Refer-To. It is a new dialog, with a new Call-ID.
  19. Carol → Bob: 481 Call/Transaction Does Not Exist. Carol's phone compares to-tag with its own tag and finds no such dialog. It answers 481.
  20. Bob → Carol: ACK. Bob's phone confirms the 481.
  21. Bob → Alice: NOTIFY (481). The last NOTIFY carries Carol's final response: 481. Alice now knows that the transfer failed.
  22. Alice → Bob: 200 OK (NOTIFY). Alice's phone confirms the last NOTIFY. The subscription has ended.
  23. Alice → Bob: INVITE (resume). The transfer failed. Alice takes Bob off hold.
  24. Bob → Alice: 200 OK (sendrecv). Bob's phone answers a=sendrecv.
  25. Alice → Bob: ACK. Alice's phone confirms the 200 OK.
  26. Alice → Bob: RTP audio (PCMU). Alice and Bob talk again. The transfer failed, but the call did not.

Remember: Replaces names the dialog as the receiver sees it. to-tag is the receiver’s tag; from-tag is the other tag. For Carol, that is to-tag = Carol’s tag, from-tag = Alice’s tag. The course’s checker calls this rule replaces-match.

A PRACK that names the wrong response

A phone builds RAck from its own PRACK: RSeq, then the PRACK’s CSeq number. The UAS cannot match it, answers 481, and resends the 180. After 32 s it gives up on the call with a 5xx, though both phones work and the network is fine.

Broken

Broken: the PRACK names the wrong response

  • SIP
  • ⚠Problem
Alice192.0.2.10Bob203.0.113.2001INVITE02180 Ringing (reliable)03PRACK⚠04481 Call/Transaction Does Not Exist05180 Ringing (retransmission)06PRACK07481 Call/Transaction Does Not Exist08500 Server Internal Error⚠09ACK
01/09

Alice calls Bob. Supported: 100rel says her phone can acknowledge provisional responses.

All steps as text
  1. Alice → Bob: INVITE. Alice calls Bob. Supported: 100rel says her phone can acknowledge provisional responses.
  2. Bob → Alice: 180 Ringing (reliable). Bob's phone rings. Require: 100rel makes this 180 reliable, and RSeq numbers it.
  3. Alice → Bob: PRACK. Alice's phone acknowledges the 180. It writes its own new CSeq number into RAck, not the INVITE's. Problem: RAck must be the RSeq, then the CSeq number and method of the INVITE: 1 1 INVITE.
  4. Bob → Alice: 481 Call/Transaction Does Not Exist. Bob's phone has no reliable response with that RAck. It answers 481.
  5. Bob → Alice: 180 Ringing (retransmission). Nothing acknowledges the 180, so Bob's phone sends it again. The interval doubles: 500 ms, 1 s, 2 s.
  6. Alice → Bob: PRACK. Alice's phone makes the same mistake again, with its next CSeq.
  7. Bob → Alice: 481 Call/Transaction Does Not Exist. Bob's phone answers 481 again.
  8. Bob → Alice: 500 Server Internal Error. After 32 s with no valid PRACK, Bob's phone gives up on the INVITE with a 5xx. Problem: Bob's phone rang for 32 s, and the call fails before anybody can answer.
  9. Alice → Bob: ACK. Alice's phone confirms the 500. The call never started.

Remember: RAck = RSeq of the reliable response, then the CSeq number and method of that response, which are the INVITE’s. The course’s checker calls this rule prack-rack.

Ending the call after a rejected re-INVITE

A softphone tries to switch to G.722 in the middle of a call. The other side answers 488 Not Acceptable Here. The softphone treats the error as the end of the call and sends BYE, or drops its media. But a failed re-INVITE leaves the session exactly as it was:

RFC 3261 §14.1 · UAC Behavior
“If a UA receives a non-2xx final response to a re-INVITE, the session parameters MUST remain unchanged, as if no re-INVITE had been issued.”
Read the section ↗

Flow builder · the call goes on after a 488

New codec (G.722): Alice sends re-INVITE, rejected

  • SIP
  • RTP media
Change
Method
Sent by
Result

Alice192.0.2.10Bob203.0.113.2001INVITE02200 OK03ACK04RTP audio (PCMU)05INVITE (G.722)06488 Not Acceptable Here07ACK08RTP audio (PCMU)
01/08

Alice calls Bob. The SDP offer lists PCMU and PCMA.

All steps as text
  1. Alice → Bob: INVITE. Alice calls Bob. The SDP offer lists PCMU and PCMA.
  2. Bob → Alice: 200 OK. Bob answers. The SDP answer chooses PCMU.
  3. Alice → Bob: ACK. Alice confirms. The dialog is now confirmed.
  4. Alice → Bob: RTP audio (PCMU). Alice and Bob talk.
  5. Alice → Bob: INVITE (G.722). Alice's phone offers G.722 only, for wideband audio. The o= version goes up by one.
  6. Bob → Alice: 488 Not Acceptable Here. Bob's phone has no G.722, so it rejects the whole offer. A Warning header says why.
  7. Alice → Bob: ACK. Alice's phone confirms the 488 with the branch of its INVITE.
  8. Alice → Bob: RTP audio (PCMU). The session stays exactly as it was before the offer: PCMU, both ways.

Remember: after a 4xx–6xx to a re-INVITE, go on with the old SDP. Only a 481 (the dialog is gone) or a 408 (no response) ends the call (RFC 3261 §12.2.1.2).

Summary

  • A call changes with a new offer inside the dialog: a re-INVITE, or an UPDATE. Every changed SDP has the next o= version.
  • Hold is a=sendonly (or a=inactive), answered by a=recvonly (or a=inactive). Resume is a=sendrecv.
  • A rejected change (488, or port 0 for one stream) leaves the session as it was. Two crossing offers both get 491 and retry after a random time.
  • 100rel: a reliable 1xx has Require: 100rel and RSeq, and the UAC acknowledges it with a PRACK whose RAck names it.
  • Preconditions delay ringing until network resources are reserved: a reliable 183, PRACK, and an UPDATE.
  • Session timers: the refresher sends a re-INVITE or UPDATE before half the interval ends.
  • Blind transfer: REFER with Refer-To, 202 Accepted, the transferee calls the target, NOTIFYs with message/sipfrag report the result. The transferor ends its own call with BYE.
  • Attended transfer: the same, with a Replaces header that names the transferor’s dialog with the target, as the target sees it.
  • Call forwarding is a proxy that retargets the INVITE: always, after a 486, or after a ring timeout and a CANCEL.
  • Pickup and park use Replaces; 3PCC passes SDP between two dialogs (RFC 3725 Flow IV); a conference is one dialog per participant with a focus.