Symbian Security Studio

About symbian software programming ,security analysis and other things about symbian.

Monday, November 12, 2007

KIS000737 - No notification received from CTelephony for a second incoming call - Forum Nokia Wiki

No_notification_received_from_CTelephony_for_a_second_incoming_call

The ETEL 3rd party telephony API (CTelephony) provides a method to monitor changes in the voice line status:

void CTelephony::NotifyChange( TRequestStatus &aReqStatus,
const TNotificationEvent &aEvent,
TDes8 &aDes ) const;

If there is already an active voice call that is being monitored, no notification is received about a second incoming call. The voice line status as reported by CTelephony does not change, but remains as EStatusConnected.

Solution
Detecting a second incoming call while another is already active is not possible with CTelephony::NotifyChange().

A workaround is to use

void RLine::NotifyIncomingCall( TRequestStatus& aStatus, TName& aName);
to obtain the status for the second incoming call.

Note that RLine and other ETEL Core classes are deprecated in S60 3rd Edition, however the required headers and import libraries are still present on the SDK.

Retrieved from "http://wiki.forum.nokia.com/index.php/KIS000737_-_No_notification_received_from_CTelephony_for_a_second_incoming_call"

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home