Hi all,

In one of our applications, I need to catch the outgoing call the user
is making and then to close it. The problem is that I don't know how to
get a handle to the RCall object. I think I have to use
OpenExistingCall, but what name should I use as the second parameter to
this method?

I also tried something like this: in the ConstructL method of my phone
engine I am opening a RPhone object and then I get the information for a
line and then open the line. Afterwards, in the method that is called
upon the outgoing call, I am doing something like
iCall.OpenExistingCall(line_from_phone_engine,
name_of_the_line_from_phone_engine). However, this returns -1
(KErrNotFound). So I'm stuck, I don't know what to do next.

Any help is appreciated!

Regards,
Stelian I.

PS. I am using Nokia Series60 SDK v. 1.2