Search code examples
sipims

What is the difference between the INVITE field and the To field in a SIP INVITE message?


In a SIP INVITE message, what is the difference between the INVITE field address and the To field in the Message Header? Shouldn't the SIP URI in the INVITE field the same as SIP URI in the 'To' field in the message header?

Thanks


Solution

  • I think you are talking about the difference between RequestUri and To Uri.

    Request URI :

    INVITE sip:[email protected] SIP/2.0

    To URI :

    sip:[email protected];transport=UDP

    The differece between them is Request Uri contain the next HOP ip adrress where as to uri contains the destination Number.

    From source to Destination address ...we can have many hops.

    I hpoe i answered your question