CTelephony on 3rd edition
Login to reply to this topic.
Tue, 2007-04-10 15:14
Joined: 2005-09-04
Forum posts: 167
Hi
As the RCall::Dial method requires more capabilities,
I try to use the CTelephony class in order to initiate a voice call and to terminate it (I understand that is CAN be used for voice calls).
Till now I have no success , and I also noticed that the EstablishDataCall method is different in the docs and the SDK header!
in the docs it uses RComm as a param and in the header it uses TInt val instead.

* Can anyone give me a good example of how to use EstablishDataCall for a voice call?
* Which method is correct? with RComm or with TInt?
* Are there any values I should put in RComm or any Init operations instead of NewL for CTelephony?

Thanks !

Thu, 2007-04-12 22:01
Joined: 2005-09-04
Forum posts: 167
finally I managed to Dial ,
I saw a wrong doc of CTelephony,
but now I use
Code:
DialNewCall(TRequestStatus &aStatus, TDes8 &aCallParams, const TTelNumber &aTelNumber, TCallId &aCallId, const TPhoneLine aLine=EVoiceLine) const;
and it works fine.

I also try to hangup the call I initiated during the EEventConnecting event,
using CTelephony::Hangup(TRequestStatus &aReqStatus, const TCallId &aCallId) method,
but this method makes the app fall with no error notification.
I use the NetworkServices capability so I dont understand why the app falls.
Any ideas?
Thu, 2007-05-24 10:41
Joined: 2004-06-29
Forum posts: 109
Bill_Murray,

as far as i understand, your app does panic. There is a little panic enabler app by NewLC.com which will show you the panic. see http://www.newlc.com/Display-the-extended-panic-code-in.html

Please tell us the results!

br, Marcel
Sat, 2007-05-26 13:01
Joined: 2005-09-04
Forum posts: 167
Thank you Suterma,
I will check tha panic issue.

for now I use SimulateKeyEvent to hangup the call ...

copyright 2003-2009 NewLC SARL