detecting DTMF

Login to reply to this topic.
Fri, 2005-08-19 05:46
Joined: 2005-08-01
Forum posts: 44
hi all,

Does anyone know how to detect dtmf tone from another phone while call is active?
really need help on this Sad

thanx in advanced,

irma

Fri, 2005-08-19 09:02
Joined: 2005-06-09
Forum posts: 174
Re: detecting DTMF
I'll just copy my reply to the same question over at forum nokia:

I don't know if there's any functionality for this in the public API in newer releases, but at least I know that there wasn't in the first edition Series 60 SDK. So unless someone can point you to something that I've missed in the API, you'll have to do it manually: record the sound and analyze it. There's some source code for decoding DTMF in an old issue of Phrack (google for phrack and dtmf).

Fri, 2005-08-19 13:15
Joined: 2005-08-01
Forum posts: 44
Re: detecting DTMF
Yeah...I read that posting before....but, did you really try that? does it work?

So, you mean...I have to search google for phrack?

but, if I record it, how can I make a difference whether it's a dtmf or people speaking?

thx in advance
\
irma
Mon, 2005-08-22 08:24
Joined: 2005-06-09
Forum posts: 174
Re: detecting DTMF
Yes, I've tried it and it works.

Yes, you have to search google.  Type the words "phrack" and "dtmf" and you'll find it.

And the difference between speech and dtmf signals is, obviously, quite big, so it's not a problem.  Just take the code from Phrack and play around with it.

Mon, 2005-08-22 13:08
Joined: 2005-08-01
Forum posts: 44
Re: detecting DTMF
Hi,

I've tried it, but...I'm confused because it's not working in visual c++ (symbian), and, the open and read method caused error "undeclared identifier"

I don't understand too, why the input is int ? what is argv[0] ? argv[1] ? argv[2]?

Is it, opening the .wav and then read it per frame and then decode it to char?

I've tried to change the read and open method by using RFile, but...it can be build okay in the emulator...but if I did ABLD BUILD ARMI UREL,it caused unknown error....really-really confused  Huh

Please, if you don't mind, copy paste me the detect.cpp and detect.h (your version), I only need those files, I don't need the gen.c.
Or, please guide me ...

What lib should I link stdio.h?

Thank you a lot...your help will help me a lot

thanx in advance

Irma
Tue, 2005-08-23 13:06
Joined: 2005-06-09
Forum posts: 174
Re: detecting DTMF
Sorry, I did this several years ago and I don't have the code anymore, and I really don't have the time to help you with details.

Thu, 2005-11-10 04:26
Joined: 2005-08-01
Forum posts: 44
Re: detecting DTMF
Hi puterman,

I'm making an IVR application, so any calls to my NOKIA60 phone are answered by the IVR mode.

I tested it with ordinary home phone, it is okay...no problem at all....but when I tested it from NOKIA6670 and NOKIA6680, it doesn't work !!!!
I'm using the GOERTZEL method (like you said) -> record first using audiostreaming method, analyze and then decide which tone is pressed

Is key-pressing at house phone and NOKIA phone different?

thank you,

irma
  • Login to reply to this topic.