SendDTMFTones & RAdvGsmPhone on 6600

Login to reply to this topic.
Thu, 2005-12-29 21:55
Joined: 2004-12-03
Forum posts: 53
Hi,
I use RAdvGsmPhone to send DTMF over voice call.
The same code works perfectly on SX1.

Function SendDTMFTones returns -5 value on 6600 and 6260....

What does it mean???

Anybody know how to make it works???

Please help.


Regards,
Wojtek

Wojciech Freliszka
NinthBit


Fri, 2005-12-30 00:05
Joined: 2004-12-03
Forum posts: 53
Re: SendDTMFTones & RAdvGsmPhone on 6600
Ok,
I found the other way to send DTMF tones without "Advanced" api.


But still curious why it doesnt work.

-5 i think mean : Not supported

Why??


Wojciech Freliszka
NinthBit

Thu, 2006-07-06 12:12
Joined: 2006-06-13
Forum posts: 2
Re: SendDTMFTones & RAdvGsmPhone on 6600
Hello,

I am also trying to send DTMF tones over a voice call in NOKIA 3230 phone.  I want to send some numbers as DTMF when I get a call from a specific number. I am not able to use the CTelephony class since it is not supported in Series 60 version 2.1.

You have mentioned in the previous message that you could achieve it without using the Advanced APIs.

Can you please let me know how you could achieve it? Preferably the sample code.

Thanks and Regards,
Waston. (wassi123@yahoo.com)
Wed, 2006-07-19 10:49
Joined: 2004-12-03
Forum posts: 53
Re: SendDTMFTones & RAdvGsmPhone on 6600
This is not so good but works. However once in a while the comm connection writer overflow and DTMF is not send (you must then restart device):
Code:
RCommServ commServer;
RComm comm;
User::LeaveIfError(commServer.Connect());

CleanupClosePushL(commServer);

_LIT(KCsyName, "dataport");
User::LeaveIfError(commServer.LoadCommModule(KCsyName));


TBufC<12> port(_L("DATAPORT::0"));
User::LeaveIfError(comm.Open(commServer, port, ECommShared));
CleanupClosePushL(comm);

TRequestStatus stat;
comm.Write(stat, iOutput);

User::WaitForRequest(stat);

comm.WriteCancel();

CleanupStack::Pop(2);

comm.Close();
commServer.Close();



Much better solution is to use secret api like RMobilePhone. You can find it on your email

Wojciech Freliszka
NinthBit

Wed, 2006-07-19 12:55
Joined: 2006-05-09
Forum posts: 114
Re: SendDTMFTones & RAdvGsmPhone on 6600
u can use that secret API (etelmm.h and etalmm.lib) but u have to be licenced by Symbian.
although u find this library on some underground sites, it's very probable that it doesn't work.

check a post called 'the Senddtmf myth' on this forum, it talks about how u can replace senddtmf() by playing wav files over the line.
each wav file containing a separate tone.
  • Login to reply to this topic.