An example for a SIP call session between two phones
Figure 1 - SIP call session between two phones
A SIP call session between two phones can be built in the following way:
- The caller device sends an INVITE
- The called phone answers with a 100 Trying
- When the called phone starts to ring, it sends a 180 Ringing
- When the caller picks up the phone, the callee acknowledges it with a 200 OK
- The caller confirms it with an ACK
- The real conversation is executed with RTP (Real-time Transport Protocol)
- When one of the parties hangs up the call, sends a BYE request
- The other participant responds with a 200 OK
It is really simple! The SIP is logical and easy to understand.