Symbian
Symbian OS Library

FAQ-1007 Why does the call line status seem to be the same for both incoming and outgoing calls ?

[Index][spacer] [Previous] [Next]



 

Classification: C++ Category: Telephony (ETel)
Created: 03/10/2004 Modified: 04/23/2004
Number: FAQ-1007
Platform: Symbian OS v6.1, Symbian OS v7.0s

Question:
When implementing on Series 60, I'm seeing some strange behaviour. It appears that the call line status (retrieved by a call to RCall::GetStatus) is equal to RCall::EStatusRinging for both incoming (expected) and outgoing (unexpected) calls. Any idea why this is happening and how to find out when an incoming call is pending?

Answer:

Basically what this tells you is that the line is ringing on the terminating side of the call. which is correct. Unfortunately this is confusing, because it uses the GSM terminology. In GSM terminology, the terminating side of the call may be either of the parties involved in the call, so provides the same result in incoming or outgoing calls.

If one wants to know when an incoming call is pending (i.e phone ringing), one should use NotifyStatusChange to track the state of making or receiving a call or indeed use the RLine::NotifyIncomingCall method instead.