×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    May 2006
    Posts
    86

    sip registration question

    hi
    according to the sdk Instantiating the class CSIPProfileRegistry connects a client to the shared SIP Profile server , Retrieving an instance of CSIPProfile through CSIPProfileRegistry enable you to make the profile active -> register , but in my case the "iProfileRegistry = CSIPProfileRegistry::NewL(*iSip, *this)" is
    causing the device (in my case the emulator) to register with the default profile . so
    1. why do we need the "iProfileRegistry->EnableL( *iProfile, *this )" option ?
    2. the sip register by the Instantiating the class CSIPProfileRegistry is before the Instantiating of "iProfile" according to the sdk
    Retrieving an instance of CSIPProfile through CSIPProfileRegistry causes the profile data to be transferred from the server to the client. As long as the client holds this instance of CSIPProfile in its memory, all events related to the corresponding profile are notified to that client through the functions of MSIPProfileRegistryObserver implemented by the client. When the client deletes the instance of CSIPProfile, events are no longer sent. Each retrieval of a profile creates a separate instance of the class CSIPProfile, even if the corresponding profile is the same.
    seem to me that this can cause to some unclear status of the sip registration ...
    or i didn't Understand the process ?
    my Environment is symbian 9.2 , eclipse , emulator

    nimco

  2. #2
    Regular Contributor
    Join Date
    Aug 2007
    Posts
    74

    Re: sip registration question

    Hi,

    When you create the CSIPProfileRegistry, the profile server is started and looks through all the existing SIP profiles and registers those that are configured "always on".
    Other SIP profiles won't be automatically registered. Calling EnableL will cause such SIP profiles to be registered.

Similar Threads

  1. Re SIP Registration and battery usage
    By dial100 in forum VoIP
    Replies: 2
    Last Post: 2010-06-11, 19:43
  2. Resolverplugin replies message 401
    By dimaar in forum Symbian Networking & Messaging (Closed)
    Replies: 10
    Last Post: 2008-12-10, 17:09
  3. SIP Registration
    By srivatsan.d in forum VoIP
    Replies: 2
    Last Post: 2008-11-05, 19:26
  4. SIP question
    By aztroboy in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2008-05-29, 18:22
  5. SIP - Registration refreshing problem
    By tamassimon in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2008-05-08, 09:32

Posting Permissions

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