Call Flow 3 - Precondition

The Call flow below requires that the following be configured in the Incoming SIP Profile:

  • PRACK Support: Required

  • Precondition Support: Required

  • P-Early-Media: Enabled

Answer with No Early Media

 

In the call flow above, the following happens:

  • The IMG 2020 receives an INVITE message from Network A. Within the INVITE message the IMG 2020 looks at the following parameters:

    • Value given to the Require Header

    • Value given to the Supported Header

    • Precondition parameter given to the a=des: lines.

  • The IMG 2020 receives the INVITE and depending on the values received, will either reject or proceed with the call. If the call proceeds, none of the preconditions or parameters in the Require or Supported Header are passed to the outgoing INVITE. The incoming values are used to determine whether the call proceeds to the outgoing leg or not.

  • If the correct values are received, an INVITE is generated to the outbound leg.

  • We receive the 183 Session Progress message from Network B informing the IMG 2020 whether the qos resources required are available or not. If they are, a 183 Session Progress message is then generated on the incoming Network A leg. Within this Session Progress message is the following:

    • The Require Header with its status displayed.

    • The P-Early-Media Header set to send/recv (Configured in the SIP Headers object under the SIP Profile object).

    • The returned SDP will include the (a=) lines as displayed in the call flow above. The (a=) values are copied from the incoming INVITE with the exception of the a=curr:qos remote none line. The value none will always be replaced with a value of sendrecv since we want as a precondition that the remote end have the resources available. As displayed in the call flow diagram, the current status for both local and remote sides are also send/recv since that is what was received.

  • The SIP Entity in Network A then sends back a Provisional Ack (PRACK) back to the IMG 2020.

  • The 200 OK from the initial INVITE message is sent back to the incoming Network A. Within the 200 OK is the Supported Header, the Require Header, and precondition values.

  • Once this message is acked, Media is then opened and tones or announcements can be played.

Return to Documentation Home I Return to Sangoma Support