how call transfer is organised in sip protocal
- User
how call transfer is organised in sip protocal
- Assistant
how call transfer is organised in sip protocal
Call transfer in the SIP (Session Initiation Protocol) is a mechanism that allows an ongoing call to be transferred from one party to another. SIP supports call transfer using specific methods and procedures defined in RFC 3515 (The Session Initiation Protocol (SIP) Refer Method).
There are two main types of call transfer in SIP:
Refer-To header.This transfer is "blind" because User A doesn't establish communication with User C before the transfer.
This type requires User A to first contact User C before transferring.
A-B Call Established:
A sends REFER to B:
REFER sip:B@domain.com SIP/2.0Refer-To: sip:C@domain.comB sends 202 Accepted to A:
B sends INVITE to C:
B sends NOTIFY to A:
When transfer completes:
| Step | SIP Message | Purpose |
|---|---|---|
| Initiate call transfer | REFER | Request recipient to call a third party |
| Acknowledge REFER request | 202 Accepted | Accept the REFER request |
| Inform transfer status | NOTIFY | Notify transfer progress/result |
| Invite the third party | INVITE | Initiate call to transfer target |
| Confirm transfer complete | Completed NOTIFY | Indicate transfer success |
If you want, I can provide examples of SIP messages for call transfer or explain transfer handling within a SIP user agent.