×

Discussion Board

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

    ProfileRegistryEventOccurred never call

    hi
    I'm writing sip client , the Register process works ok ..but
    the ProfileRegistryEventOccurred method is never call.
    the sip class engine inherit form MSIPProfileRegistryObserver like this
    "class CSipEngine : public CBase,MSIPObserver,MSIPConnectionObserver,MSIPProfileRegistryObserver"

    i implement ProfileRegistryEventOccurred & ProfileRegistryErrorOccurred .
    the registration seem to be ok . in "iProfile->GetParameter( KSIPProfileRegistered, registered )"
    the registered = 1 . but the ProfileRegistryEventOccurred is never been call .

    my environment is symbian 9.2 , eclipse carbide c++ 1.3 , test device is the emulator

    for the observer to "work" .. beside inherit the correct class and implement his virtual methods
    do i need to do anything else ..

    nimco

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

    Re: ProfileRegistryEventOccurred never call

    Hi,

    Have you obtained an instance of the CSIPProfile before the registration is done?

    class MSIPProfileRegistryObserver has a comment related to the events:
    /**
    * Signals the changing of the registration status of a SIP profile
    * to registered.
    * This event is sent to those observers who have the corresponding
    * profile instantiated.

    */
    EProfileRegistered,

  3. #3
    Regular Contributor
    Join Date
    May 2006
    Posts
    86

    Re: ProfileRegistryEventOccurred never call

    hi
    so what you actuly saying is that to be abel to see the observer response
    i need to change the sip profile to not "always on"
    (see thread http://discussion.forum.nokia.com/fo...d.php?t=154070 ). and then use the
    iProfileRegistry->EnableL after Instantiating of "iProfile"

    nimco

Similar Threads

  1. New call problem
    By Bill_Murray in forum Symbian
    Replies: 4
    Last Post: 2007-05-27, 15:30
  2. End call and DialNewCall problems
    By halimz in forum Symbian
    Replies: 5
    Last Post: 2007-05-19, 05:40
  3. Problem in makeing Phone Call in 2nd edition
    By yogesh.bhople in forum Symbian
    Replies: 4
    Last Post: 2006-11-18, 08:47
  4. call events after dialing from the app
    By white_dragon in forum Symbian
    Replies: 2
    Last Post: 2005-05-18, 22:30
  5. Nokia 7160 auto receive next call as datal call
    By jackal_jr in forum General Messaging
    Replies: 0
    Last Post: 2002-08-19, 13:05

Posting Permissions

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