Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2007

    How do i Recieve SIP Invite

    Hello All,
    Can anyone please direct me towards how to receive a SIP invitation. What are the steps that i have to Follow

    So far i have done the following things.
    1.>1.>Created a class which Derives from MSIPObserver and MSIPConnectionObserver

    2.> have overridden all the methods that are present in the these interfaces and each method contains a message box which will be displayed if anything come to them.(as far as i think)

    3.> Created the following register Method which registers to my Local 'Asterisk' server.
    	TUint iapoint=SelectIAPL();
    	iSIP=CSIP::NewL(KAppUid, *this);
    	iConnection=CSIPConnection::NewL(*iSIP, iapoint, *this);
    	CSIPFromHeader* fromHead = CSIPFromHeader::DecodeL(_L8("sip:3000@"));
    	CSIPToHeader* aor=CSIPToHeader::DecodeL(_L8("sip:3000@"));
    	CSIPAddress* addr=CSIPAddress::DecodeL(_L8("sip:3000@"));
    	CSIPContactHeader* contact=CSIPContactHeader::NewL(addr);
    	CSIPRefresh* refresh=CSIPRefresh::NewLC();
    	iRegistration=CSIPRegistrationBinding::NewL(*iConnection, aor, contact,refresh);
    	CleanupStack::Pop(3); //aor,contact,refresh 
    Now, I am running a SIP phone (X-LITE) which is registered with the same server. And i am sending a Invite to my Emulator. But i am not able to receive anything.

    Also,I am not too sure weather or not i understand SIPResolverPlugin and how is it used . Is is really important to include it in the program.

    many thanks
    Abhishek karmakar

    never- Never - NEVER -- !!! NEVER !!! GIVE UP

  2. #2
    Regular Contributor
    Join Date
    Mar 2008
    Bangalore, India

    Re: How do i Recieve SIP Invite


    SIP Resolver plugin plays a vital roll in SIP IM and VOIP.
    The incoming requests / responses are routed to your application with the resolver plugin.

    Best way to start with resolver plugin is sip example provided with s60 3rd ed sdk.

Similar Threads

  1. SIP Invite Not Received
    By Abhishek_karmakar in forum Symbian Networking & Messaging (Closed)
    Replies: 11
    Last Post: 2008-11-11, 14:10
  2. SIP Invite Procedures
    By jgarinf in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2008-11-05, 14:41
  3. SIP invite method any idea?
    By shamun.toha in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2008-07-06, 19:05
  4. 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
  5. SIP INVITE Message. Content type not set
    By chengiz in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2005-05-25, 12:15

Posting Permissions

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