×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Aug 2010
    Posts
    347

    SIP Client API for sending INVITE : showstopper

    Hello,

    I am referring to the documentation in Forum Nokia Library on this topic. And here is the procedure described in the documentation for sending an INVITE:

    Creating a dialog with INVITE
    To create a dialog with INVITE an application creates CSIPInviteDialogAssoc and CSIPMessageElements objects. The application must enter the relevant SIP headers in the CSIPMessageElements object before passing it to CSIPInviteDialogAssoc using the CSIPInviteDialogAssoc::SendInviteL() function.

    The signature of CSIPInviteDialogAssoc::SendInviteL() is documented as follows:

    IMPORT_C CSIPClientTransaction *SendInviteL(CSIPMessageElements *aElements=0);

    Thus the only argument that can be passed to this method is of type CSIPMessageElements.

    In the documentation for CSIPMessageElements class, the following restriction is mentioned:

    Class provides functions for setting and getting optional elements in a SIP message. Optional elements include user SIP message headers, content and content type. Following headers are not considered to be user SIP message headers and cannot be set or retrieved using functions of this class: "Authentication-Info", "Call-Id", "CSeq", "From" "Max-Forwards", "Min-Expires", "Record-Route", "Security-Verify", "Service-Route", "To", "Via", "Security-Server" and "Proxy-Authorization".

    So, how can the headers To and From, which are mandatory for any SIP request, and are part of the SIP INVITE dialog state, be set?

    Please suggest.

    TIA
    Vin

  2. #2
    Regular Contributor
    Join Date
    Aug 2010
    Posts
    347

    Re: SIP Client API for sending INVITE : showstopper

    this overload method resolves the issue

    static IMPORT_C CSIPInviteDialogAssoc *NewL(CSIPConnection &aConnection, CSIPFromHeader *aFrom, CUri8 *aRemoteUri, CSIPToHeader *aTo=0, CSIPContactHeader *aContact=0);

    Vin

Similar Threads

  1. Replies: 3
    Last Post: 2008-12-02, 10:32
  2. SDP Codec API problem for SIP Invite
    By vidhu.0007 in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2008-11-12, 13:07
  3. Incomplete INVITE header shows up in SIP Emulator when sending INVITE
    By razas in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2007-06-21, 05:58
  4. SIP : sending invite to 2 people at once
    By saurbh_g in forum Symbian Tools & SDKs
    Replies: 8
    Last Post: 2005-07-28, 17:08
  5. SIP :Client time out as soon as accepts invite
    By saurbh_g in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2005-02-18, 05:33

Posting Permissions

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