×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2006
    Posts
    11

    How to send SIP PUBLISH message in S60 3rd edition

    I've searched through these forums and through Google but I haven't seen a way to send a SIP PUBLISH with the 3rd Edition SDK.

    A post here has some instructions on how to do it in series 2:
    http://discussion.forum.nokia.com/fo...ht=sip+publish

    Unfortunately, the line:
    reqElems->SetMethodL(_L8("PUBLISH"));

    Doesn't work in 3rd edition. The SetMethodL in CSIPRequestElements requires a RStringF. How can I provide the string "PUBLISH" to this method call? Do I have to build my own StringPool? If so how do I do that?

    I looked at the file sipstrconsts.h for all the available SIP strings and there is no reference to "PUBLISH".

  2. #2
    Registered User
    Join Date
    Jun 2003
    Posts
    22

    Re: How to send SIP PUBLISH message in S60 3rd edition

    get string pool used by the SIP Codec (i.e. SIPStrings::Pool), push your own string to it and issue CSIPConnection::SendRequestL().

  3. #3
    Registered User
    Join Date
    Nov 2005
    Posts
    17

    Re: How to send SIP PUBLISH message in S60 3rd edition

    RStringPool pool = SdpCodecStringPool::StringPoolL();
    RStringF str = pool.OpenFStringL(_L8("PUBLISH"));
    reqElems->SetMethodL(str);

  4. #4
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Re: How to send SIP PUBLISH message in S60 3rd edition

    Hi,

    I think that you should use SIPStrings::Pool() instead of
    SdpCodecStringPool::StringPoolL(), otherwise you will have pool conflict panic...

    Regards,

    STeN

Similar Threads

  1. Replies: 7
    Last Post: 2007-06-19, 12:01
  2. How to send a SIP MESSAGE request ?
    By big_vj in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2006-02-23, 16:02
  3. Problems getting the S60 3rd Edition emulator to the internet
    By siancu in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2005-12-15, 16:06
  4. How to Send SIP Publish Message
    By relliott98 in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2005-05-17, 06:18

Posting Permissions

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