×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    45

    Question Cannot obtain incoming call ownership

    Hi,
    I'm trying to obtain call ownership in my application for an incoming call, but every time when I check the ownership status is EOwnershipUnowned. Has someone succeded getting incoming call ownership?

    Here's the code in RunL:

    RLine::TLineInfo lineInfo;
    iLine1->GetInfo(lineInfo);
    iName = lineInfo.iNameOfLastCallAdded;
    iCall = new RCall;
    User::LeaveIfError(iCall->OpenExistingCall(*iLine1, iName));
    iCall->AcquireOwnership(iStatus);
    User::WaitForRequest(iStatus);
    RCall::TOwnershipStatus ownershipStatus;
    iCall->GetOwnershipStatus(ownershipStatus);
    iApp_Ui->BringToFront();
    iApp_Ui->ActivateLocalViewL(TUid::Uid(EVideoRingVideoView));

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143
    are you sure you need to have the ownership ?

    basically you can answer, hang-up and do many things with calls without owning them.

    yucca

Posting Permissions

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