dtmf

Java (J2SE) DTMF tone detection

谁都会走 提交于 2019-12-09 07:12:41
问题 I am trying to do the following I am getting a call to another person using my java application (Already done & works fine). Then I am playing a recording, for example "Please press 1 one to continue in english" (Already done & works fine). Now I want to detect that person press one, As per my researches in google search I got that this can do using DTMF.If the person press 1 I want to do the actions according to my condition. My question is how to detect that number using DTMF in java (J2SE)

How to use the DTMFRecognitionEngine class in Microsoft.Speech

与世无争的帅哥 提交于 2019-12-08 18:22:36
问题 The Microsoft.Speech SDK has a DTMFRecognitionEngine class, which I'd like to experiment with - we need to detect DTMF tones within a WAV file (I realise there are other ways to do this, but I'm evaluating all possible methods). The documentation isn't clear on how to actually use the class: it's companion class, SpeechRecognitionEngine , has plenty of examples and nice clear methods like SetInputToWaveFile . DTMFRecognitionEngine doesn't have any such methods. Could someone provide insight

Getting java.lang.ClassCastException while sending DTMF tones over an active call in android

非 Y 不嫁゛ 提交于 2019-12-08 06:28:17
I am developing an app that sends DTMF tones over an active call in android. I searched a lot to implement this feature in my app and i found this : com.android.internal.telecom.IInCallAdapter interface that extends android.os.IInterface . There is a method playDtmfTone(String s,Char c) inside IInCallAdapter that we can use to send DTMF tones over an active call. I have an activity HelloPage.java that do so, but getting java.lang.ClassCastException error while initializing an object of IInCallAdapter . Well i know what this error means but don't know how to deal with this. Here is my code :

Generate DTMF Tones

谁说我不能喝 提交于 2019-12-03 13:19:00
问题 I am wondering if anyone has come across a way to generate tones in the iPhone SDK. I am trying to generate DTMF tones, and can't seem to find anything substantial out there. I want to be able to specify how long to play the tone for as well (i.e. to simulate holding the button down as opposed to just pressing it briefly.. I found an open source app called iPhreak. It supposedly generates DTMF tones to fool payphones (I Assure you this is not my intention - my company deals with telephone

Java (J2SE) DTMF tone detection

不想你离开。 提交于 2019-12-03 09:02:47
I am trying to do the following I am getting a call to another person using my java application (Already done & works fine). Then I am playing a recording, for example "Please press 1 one to continue in english" (Already done & works fine). Now I want to detect that person press one, As per my researches in google search I got that this can do using DTMF.If the person press 1 I want to do the actions according to my condition. My question is how to detect that number using DTMF in java (J2SE). I am using ZTE USB dongle to make the call. Dialing, Hangup, And other controls did by using AT

Generate DTMF Tones

二次信任 提交于 2019-12-03 03:20:25
I am wondering if anyone has come across a way to generate tones in the iPhone SDK. I am trying to generate DTMF tones, and can't seem to find anything substantial out there. I want to be able to specify how long to play the tone for as well (i.e. to simulate holding the button down as opposed to just pressing it briefly.. I found an open source app called iPhreak. It supposedly generates DTMF tones to fool payphones (I Assure you this is not my intention - my company deals with telephone based Intercom systems). The only problem with that application is that there are files missing from the

How to send DTMF tones in active call in android?

拜拜、爱过 提交于 2019-12-02 19:27:11
问题 Is it possible to send DTMF tones in active call in android ? I tried it with proxyphone.sendDtmf() but it was useless. How can i achieve it ? 回答1: In VOIP only it is possible,Android applications have no access to the in-call audio stream. You can fake a it a bit in speakerphone mode. 回答2: Try this method() .It is getting the number and delay from user. private void call(int profileid) {//call procedure logic ProfileDo profile = adapter.getProfile(profileid); if (profile.getStepCount() == 0)

How to send DTMF tones in active call in android?

偶尔善良 提交于 2019-12-02 11:34:43
Is it possible to send DTMF tones in active call in android ? I tried it with proxyphone.sendDtmf() but it was useless. How can i achieve it ? In VOIP only it is possible,Android applications have no access to the in-call audio stream. You can fake a it a bit in speakerphone mode. Try this method() .It is getting the number and delay from user. private void call(int profileid) {//call procedure logic ProfileDo profile = adapter.getProfile(profileid); if (profile.getStepCount() == 0) { Toast.makeText(getApplicationContext(), "Please edit the profile and add atleast one value to make a call",

Splitting a DTMF signal from a wav file using Matlab

偶尔善良 提交于 2019-12-01 14:15:29
Here is the context of the problem: I have a DTMF signal in wav format, I have to identify the number sequence it has encoded. I must do so using fast fourier transform in Matlab, implying that I read the wav file using wavread and to identify each number that is seperated by 40ms silence or more. Here is my code so far: [signal, fs] = wavread( 'C:\Temp\file.wav' ); % here, fs = 8000Hz N = 512; T = 1/fs; L = length( signal ) samples = fs / 1000 * 40 windows = floor(L / samples) t = (1:L)/fs; figure(1), plot(t, signal); Here is what the figure 1 looks like, that is the signal read from the wav:

Android DTMF send tone overriding

↘锁芯ラ 提交于 2019-11-29 00:47:42
I tried to programmatically send DTMF tones in Android. But the emulator shows up a dialog box that says "Do you want to send these tones?" and it sends the tones only if I click OK. But how can I programmatically overcome this dialog box? Gracias In my application, I am sending DTMF tones (with gap using ","). Please see the code below. If you put number as: 12345,6,7 it will dial 12345 and send 6 and 7 as dtmf tone with gap. String url = "tel:" + number; Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(url)); startActivity(intent); /** * Dials a number with DTMF chars * Note: When