Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2004

    Missing Contact attribute in SIP 200 OK Message


    A SIP:INVITE message is received by the emulator and the MSIPConnectionObserver::IncomingRequest (CSIPServerTransaction *aTransaction) method is invoked.

    In turn I send a 200 OK message back to the server as follows:

    CSIPRequestElements const *reqElems = aTransaction->RequestElements();
    if (reqElems->Method() == KMethodINVITE)
    if (aTransaction->ResponseAllowed())
    CSIPResponseElements *resElems = CSIPResponseElements::NewLC(200, _L8("OK"));

    The problem is that the Contact attribute is missing from the 200 OK. The server receives the message, reports an error indicating the missing contact attribute and fails to send the ACK back to the emulator.

    I investigated the Chipflip app and the 200 OK messages all seem to contain the contact attirbute!

    Any Nokia SIP Stack gurus out there?


  2. #2
    Registered User
    Join Date
    Mar 2003
    Leh, Ladhak.

    Try this

    The transaction needs to be associated with the dialog that was initially created.
    USe CSIPInviteDialogAssoc (transaction) to get the context of the dialog.
    Let me know how you go.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts