Making a phone call using jtapi

hi
I am trying to make a phone call using a java program. I downloaded javax.telephony class files
J323 engine and installed it
JMF studio as i read in a forum. Did anyone try to do this. I tried to compile the example chords but doesn't identify the javax.telephony package.
Where should i put the .class files?
How should i configure J323 engine.By the way i am using windows.
Thank you in advance
goodnews

I don't know if that is possible, because the application may have to be closed if the system does not have enough capabilities and resources, so it depends on the phone. Read the API docs for the platformRequest method for more info about this.
I would give it a try though and see what happens.
Mihai

Similar Messages

  • I have poor/no service on my iphone 6  in places that I do have service on my old iphone 5.  Takes 10 minutes to send text and webpages will not load but load within seconds on the iphone 5 and forget making a phone call.  How do i resolve this issue??

    I have poor/no service on my iphone 6  in places that I do have service on my old iphone 5.  Takes 10 minutes to send text and webpages will not load but load within seconds on the iphone 5 and forget making a phone call.  How do i resolve this issue??

    Hey kristiac,
    Thanks for the question. If I understand correctly, you have no service on the iPhone. I would recommend that you read this article, it may be able to help the issue.
    If you can't connect to a cellular network or cellular data - Apple Support
    Thanks for using Apple Support Communities.
    Have a good one,
    Mario

  • Playing a WAVE file after making a phone call.

    Hi everyone..
    I'm trying to play a wav file after making a phone call. I was able to make the call. But I get an exception when i try to paly a wav file..
    Can any one tell me where I've gone wrong..
    This is the code which plays the audio file..(I downloaded it by the way.. and it's working fine when used as a seperate program)
    import java.io.File;
    import java.io.IOException;
    import javax.sound.sampled.AudioFormat;
    import javax.sound.sampled.AudioInputStream;
    import javax.sound.sampled.AudioSystem;
    import javax.sound.sampled.DataLine;
    import javax.sound.sampled.FloatControl;
    import javax.sound.sampled.LineUnavailableException;
    import javax.sound.sampled.SourceDataLine;
    import javax.sound.sampled.UnsupportedAudioFileException;
    public class PlayWave extends Thread {
         private String filename;
         private Position curPosition;
    //30000000(7324.21 kb)
         private final int EXTERNAL_BUFFER_SIZE = 524288; // 128Kb
         enum Position {
              LEFT, RIGHT, NORMAL
         public PlayWave(String wavfile) {
              filename = wavfile;
              curPosition = Position.NORMAL;
         public PlayWave(String wavfile, Position p) {
              filename = wavfile;
              curPosition = p;
         public void run() {
              File soundFile = new File(filename);
              if (!soundFile.exists()) {
                   System.err.println("Wave file not found: " + filename);
                   return;
              AudioInputStream audioInputStream = null;
              try {
                   audioInputStream = AudioSystem.getAudioInputStream(soundFile);
              } catch (UnsupportedAudioFileException e1) {
                   e1.printStackTrace();
                   return;
              } catch (IOException e1) {
                   e1.printStackTrace();
                   return;
              AudioFormat format = audioInputStream.getFormat();
              SourceDataLine auline = null;
              DataLine.Info info = new DataLine.Info(SourceDataLine.class, format);
              try {
                   auline = (SourceDataLine) AudioSystem.getLine(info);
                   auline.open(format);
              } catch (LineUnavailableException e) {
                   e.printStackTrace();
                   return;
              } catch (Exception e) {
                   e.printStackTrace();
                   return;
              if (auline.isControlSupported(FloatControl.Type.PAN)) {
         FloatControl pan = (FloatControl) auline.getControl(FloatControl.Type.PAN);
                   if (curPosition == Position.RIGHT)
                        pan.setValue(1.0f);
                   else if (curPosition == Position.LEFT)
                        pan.setValue(-1.0f);
              auline.start();
              int nBytesRead = 0;
              byte[] abData = new byte[EXTERNAL_BUFFER_SIZE];
              try {
                   while (nBytesRead != -1) {
              nBytesRead = audioInputStream.read(abData, 0, abData.length);
              if (nBytesRead >= 0)
                   auline.write(abData, 0, nBytesRead);
              } catch (IOException e) {
                   e.printStackTrace();
                   return;
              } finally {
                   auline.drain();
                   auline.close();
         }I inserted
    new PlayWave("greeting.wav").start();In to a method an called this method in the program where i send commands to the modem.
    These are my modem commands
    send("ATZ");
        expect("OK");
    //Enable voice mode
        send("AT+FCLASS=8");
        expect("OK");
    //Dial the number
        send("ATDT"+number);
        expect("OK");
    //Choose encoding method //This is the default
        send("AT+VSM=140,8000,0,0");
        expect("OK");
    // start sending audio data
        send("AT+VTX");
        expect("OK");
    PlayAudio();
    send("ATH");The size of my audio file is 100 kb.I'm using a 56 K intel externel voice modem connected to a serial port.I wonder if it's because the buffer is too big. If anyone tried this and succeded please correct me.
    Thankyou in advance
    goodnews

    Hi goodnews!
    Did I understand well? Can You record the speech? This is what I want!
    Can you help me and send me sample code?
    This would be a big help for me!
    Thank You!
    rflair

  • When making a phone call on my iphone I can hear the person that i am calling but they can not hear me

    when making a phone call on my iphone,I can hear the person that I am calling but they can not hear my voice

    My first new iphone4 was received and installed complete.
    Nothing to hear when i was calling, only when I used loudspeaker.
    complete reset and reprogrammed Iphone, same result.
    Called Apple support and received a new Iphone4 next day.
    Updated and programmed.
    It works.
    2 weeks ago My son's iphone4, same problem, could only call with loudspeaker??
    Anyone an Idea.

  • Did not know simple things such as removing hyphen from phone numbers will be so complicated. How do i remove the hyphen from stored phone numbers since i am not able to make a phone call using VOIP. Everytime i make a phone call i have to type the number

    Did not know simple things such as removing hyphen from phone numbers will be so complicated. How do i remove the hyphen from stored phone numbers since i am not able to make a phone call using MobileVOIP. Everytime i make a phone call i have to type the number.

    Go into your contacts and edit them.

  • Harassment phone calls using Skype function (i.e. ...

    Note: I have sent an e-mail to the Support Team. Pending reply.
    Based on call history, my home and mobile numbers have been bombarded by phone calls (using Skype) from Skype user, who resides in another country.
    For example
    Time: 02:20 till 22:33
    30-Aug-2012, home number received 15 calls and mobile number received 27.
    Time: 00:00 till 22:20
    31-Aug-2012, home number received 44 calls and mobile number received 90.
    Time: 11:46 till 23:54
    01-Sep-2012, home number received 04 calls and mobile number received 33.
    Note: The harassment calls started since Oct-2010. I had discovered these harassment calls were made by this Skype user. I am able to provide call history made by this Skype user from Mar-2012 till Sep-2012.
    This is a serious violation of the Skype's Terms of Service. Please investigate and take appropriate actions against this issue. Your quick response is very much appreciated. Thank you.

    I have a similar problem. I recently reinstated Skype on my iPad. I am able to sign in, to check my profile page and to check on my credit (I have about $30 US on it). But, I am unable to bring up a dial pad, nor a phone logo. I should add, I do have another copy of Skype on my iPad, under a different spelling of my name, that works perfectly well. I want to be able to contact to Skype using the re-instated account (which I had created earlier in error) so as to use up the existing credit, as I've learned that I can't combine the two accounts. What can I do? Can anything be done?

  • How do you reduce/turn off keypad sound when making a phone call

    How do you reduce/turn off keypad sound when making a phone call?

    If I understand the question correctly, it is not about turning off keyboard clicks, it's about silencing the beeps made when manually keying in a  phone number. With keyboard clicks turned off, the beeps still sound when keying in a phone number. If I'm reading the iPhone User Guide correctly, it explains how to turn off keyboard clicks but not how to silence the   beeps when keying in a phone number. The only way I have found to silence the beeps is to put the phone into silent mode.

  • How to mute Dial Pad keys when making a phone call

    Anyone knows wow to mute Dial Pad keys when making a phone call?

    There is no individual setting for this yet. Only overall silent profile.
    -: DrewRead :-
    Can't find an app on Blackberry World yet? Tweet the developer and ask when they will #GetWithBB10 !!
    "Like it" if you like it.

  • Internet connection only when making a phone call

    I own a Powerbook G4, I connect to the internet wireless via aiport. I can connect only when making a phone call, my ISP is virgin.net. I've changed the micro-filter. Can any one help me on this problem.
    Thanks
    Lee

    Thanks for the usefull information, I've contacted BT they are my telephone provider here in the UK, and they did a line test, not a mechanical test as by an engineer, and said the line is OK. My in-comming & out-going calls are fine, but with interference on the line. How did you get past this problem?

  • Screen stays on when making a phone call

    I am wondering if there is a setting for making the screen go black when making a phone call. I have done some research and it seems there should be a proximity sensor that makes the screen turn off when the sensor is activated. If there is no setting for this sensor then I have to believe that the phone is defective and must be returned - I just wanted to be sure that a setting doesn't exist to correct the problem before doing that. It is a Droid X2. Thank you in advance for any help provided! 

    Yes, there is a small "proximity sensor" in the upper left corner next to the ear piece.  When you "cover" it after making a call, the screen should go blank. If it is staying on when you cover that (with your face/ear or even your hand) if sounds like it is defective. There are no Settings that I am aware of that makes the screen stay "always on".  At least on my Droid X.
    Have you tried running in SAFE MODE just to make sure it's not some 3rd party app causing the problem?
    - Power Off
    - Press & hold the MENU button (far left button)
    - Power up phone, but continue to HOLD the MENU button for like 1-2 mins.
    Phone should come up saying "SAFE MODE" in lower left side.
    Test you issue.
    To get out of SAFE MODE, just power off & on as usual.

  • When making a phone call i cant be heard

    when making a phone call i can not be heard?

    ypur mic may be out which is a little hole down at the bottom of your phone. you can try powering the phone off and on then you can do a hard reset home button + power button for 30 sec or intell you get a apple logo. if that still isnt working you cna back up your information to itunes and then restore your phone as new. if your still having a problem then it is hard ware related and you can then get it replaced by apple for free if your within the limited warranty

  • When making a phone call I have to put it on speaker to hear the person I'm calling.

    When making a phone call I have to put it on speaker to hear who I'm calling. I can't hear when putting the phone to my ear.

    I had the same problem just one hour ago.  I could not hear the person I's talking to unless I put it on speaker.
    I restarted my iPhone 4 and still the problem was there.
    And it automatically started working again in one hour.
    I would suggest to shake the iPhone a little and try to reboot and see if it's helping.

  • Why won't siri on my iphone connect phone calls using ios7?

    Why won't siri connect phone calls using ios7?

    I have the same issue.  So frustrating!  I think I found a fix. It's not perfect but it works to get Siri, google maps and phone calls working all at the same time which are the most important things to me. After you start the car, go to settings on uconnect. Scroll down to the bluetooth settings. There are 2 tabs here. 1 for voice and 1 for audio. I'm doing this from memory so someone call it out if I have that wrong. Each will say "connected" in red once your iphone automatically pairs to uconnect. In the audio tab, press on the name of your phone. This will disconnect only the audio portion and leave the voice portion connected. You can now use Siri through your car speakers! Calls will still work too. Google maps will also give directions.
    This all works great until you turn off the car at which point the setting will be forgotten and will have to be repeated. It's important to keep in mind that if you now play music or a podcast off your iphone it will emanate from the phone's speaker, not your car speakers. This doesn't impact me as I'll usually be listening to sirius or fm radio when I'm driving anyway. Just like when you receive a call, siri will silence sirius until you're done with siri. Same with google maps.
    What this tells me is if Apple or (less likely) Chrysler ever add an option to save your bluetooth device as a voice only and not a voice&audio bluetooth device that uconnect would finally be usable with siri. I guess this means we can be more specific in our requests to apple and chrysler to resolve this issue. Hope this helps!

  • Making Ghost Phone Calls

    I have never had this problem before, it is very strange. Last night, I was receiving phone calls from my friends iphone (3g) who was sitting next to me. His phone was sitting on the table and no one was touching it. I picked it up and it had no tone. It happened multiple times, we even turned off his phone and I still received a call from him.
    Today, apparently I was making ghost phone calls to my friend's and wife's iphone (iphone4).
    I really do not know what to make from this, did anyone have an issue like this before?

    Trust me, I really can not explain it any better. That's the reason why I asked if anyone had this happen to them. It was the weirdest thing that ever happened, and I think it's from my phone. I don't know if it is a software on my end. I guess I will have to try to reset the phone completely and see what happens.

  • When making a phone call on my Samsung Galaxy s5, I need to use letters for some requests.  How is that done?

    When I made a recent phone call on my Samsung Galaxy s5, I was ask to enter a password, but my password includes a letter.  How to I change the keyboard to use a letter also?

        Good evening Litespeed! Let's get those letters on your calls pronto! When a password is requested and you need to enter a letter, simply select the number corresponding to the letter you want to enter. Keep us posted.
    AntonioC_VZW
    Follow us on Twitter at www.twitter.com/VZWSupport

Maybe you are looking for