AnswerIncommingCall()
| Tue, 2006-02-14 03:44 | |
|
|
Okay... I looked through all the posts on the Telephony board and I did not see an answer to my problem... Any assitance would be great. I have a 6600 that I am using to answer incomming data calls. My active object call manager RunL() code looks something like this... ------ // we were waiting for a call...and we got one case EStateWaitingForCall: { result = iCall.OpenExistingCall(iLine, iIncommingCallName); if( result == KErrNone ) { // try to answer the call (asyncronous) iEngineState = EStateAnsweringCall; iCall.AnswerIncomingCall(iStatus); } else { // call open failed...so do something } // set ourselves active SetActive(); break; } case EStateAnsweringCall: { if( iStatus.Int() == KErrNone ) { // call was answered, set connected and watch for hangup iEngineState = EStateConnected; iLine.NotifyStatusChange(iStatus, iCallStatus ); } else { // call open failed...so do something } // set ourselves active SetActive(); break; } ------ I only included the important parts of the switch() statement in my RunL() to make it easier to follow. My problem is that I get notificaiton of the incomming call, but when the call to iCall.AnswerIncomingCall(iStatus); completes in the RunL() and the case EStateAnsweringCall: section is executed, my iStatus.Int() is set to -2...which is KErrGeneral. So.. on the 6600, the async call to AnswerIncommingCall() returns -2. On the 6630, everything works and the iStatus.Int() is set to KErrNone. Anybody have any similar experience with the 6600. I know there is a known problem with the 6600 dialing a data call... but I was not aware of any problems with AnswerIncommingCall() for a data call. Thanks in advance for any help, Cryptk "If we knew what it was we were doing, it would not be called research, would it?" - Albert Einstein |





