hangup on p910
| Wed, 2005-09-14 10:20 | |
|
Hello,
I've got a problem when i hang up a call on p910 (works fine on 6600). here is the runL : RCall::TCallInfo aInfo; iCall.GetInfo(aInfo); if (RCall::EStatusConnected != aInfo.iStatus) { // let's make my work return; } // Let's go for a turn iLine.NotifyStatusChange(iStatus, iCallStatus); SetActive(); The problem is that i got a button to hangup which call the fonction : void CMyClass::hangUp() { RCall::TCallInfo aInfo; iCall.GetInfo(aInfo); if (RCall::EStatusConnected == aInfo.iStatus) { RCall iCall2; RLine::TLineInfo lineInfo; iLine.GetInfo(lineInfo); if (KErrNone == iCall2.OpenExistingCall(iLine, lineInfo.iNameOfLastCallAdded)) { iCall2.HangUp(); } } } On 6600, as i said, it works fine, but on p910, the HangUp() stays blocked. I tried to call HangUp(status), which must be asynchronous, but it blocks too, If anybody has an idea... Thank you. |
|






Forum posts: 2
Forum posts: 45
My solution, on the 6600, was to open a comm port to the modem and issue an ATH comment. It seems to work without creating problems with my app... and allows me to not have to worry about call ownership.... this is, of course, if you are working with CSD connections... not sure if it will work with a voice call.
"If we knew what it was we were doing, it would not be called research, would it?" - Albert Einstein