Play a Prompt with Jtapi

Hi everyone,
I am trying to implement something with JTAPI that it functions like an IVR,
I need to play something when a incoming call arrive.
My Call Manager have the version 4.2(3).
To do that I have done this:
TerminalConnection tconn = null;
MediaTerminalConnection mtc = null;
int state = 0;
if (callEv instanceof TermConnCreatedEv) {
tconn = ((TermConnCreatedEv)callEv).getTerminalConnection();
mtc = (MediaTerminalConnection)tconn;
System.out.println("Terminal Connection Created...");
try {
mtc.usePlayURL(new URL("file:./audio/prompt.au"));
} catch (Exception excp) {
excp.printStackTrace();
but this code cause an exception that says
com.cisco.jtapi.MethodNotSupportedExceptionImpl: Unimplemented
I don't know if I need some codec, or if this is not the class that I should
be using. I read something that tells that MediaTerminalConnection has been
substituted by Media Service.
Can anybody help me with this, give me some ideas or samples please.
Thank you
Ana

If you check the JTAPI doc, it has a list of supported and unsupported JTAPI methods. Unfortuantely, media playback and recording are not amongst the supported features.
So the solution here would be to look into a G.711 streaming. I have posted a sample app in this very forum in the past (don't ask for it.. please use the search engine), and combining RTP streaming with the media capabilities of a CTI Port via JTAPI you can get to where you need to go. In fact, several people have reported that they've successfully built such applications based on the RTP streamer.

Similar Messages

  • HT1296 whenever I try to sync my phone with itunes, it prompt with a window saying that this computer is not authorised. Although I again authorise my computer through store option but again while sync it shows the same window. I am unable to sort it out

    whenever I try to sync my phone with itunes, it prompt with a window saying that this computer is not authorised. Although I again authorise my computer through store option but again while sync it shows the same window. I have reinstaled itunes also but invain. I am unable to sort it out pl help

    Hello dizzy bizzy,
    Thank you for providing the details of the issue you are experiencing with purchases from the iTunes Store.  I recommend following the steps in the following article:
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
    http://support.apple.com/kb/ts1389
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • How can I edit imported audio track? After selecting and deleting region and joining remaining parts, it keeps playing the track with the deleted part! What am I doing wrong?

    How can I edit imported audio track? After selecting and deleting region, and joining remaining parts, it keeps playing the track with the deleted region!
    What am I doing wrong?

    After selecting and deleting region, and joining remaining parts, it keeps playing the track with the deleted region!
    What am I doing wrong?
    How exactly are you doing this?
    When I cut out a part of an audio region, then drag the remaining parts together, so they are touching, the track will skip the cut out section when playing the file.  Also, if I select the remaining parts of the region and use the command "Edit > join regions". This will create a new audio file with the cut out part deleted.
    You should see this prompt, when you are joining the regions:

  • IPCC Express: dialing extension while playing Menu Prompt

    I'm looking for a way to all extensions to be dialed during a menu prompt "You may enter an extenion at any time, press 1 for this, press 2 for that"
    Is there a way to accomplish this. Currently, the user is IPCC Express 3.5 Enhanced.
    Thanks, in advance.
    -r

    Sandy
    Do the 3, 4, and 5 digits extension start out with a different number? If so, you can use a Menu prompt to do extension dialing. Basically my prompt says "If you know your extension you may dial it now"
    So when the caller enters "222" within the Menu prompt it goes to the 2 branch and then I do a get digit(2 ditits with no terminating key) to collect the remaining 2 digits. Then I do a set Transfer = "2" + Transfer to get all 3 ditits.
    Each menu branch can have its unigue get digit parameters based on the number of digits you have.
    Once you get the 3,4,or5 digits then you can add an IF statement to play another prompt or transfer the call.
    Within each menu branch

  • Random Prompt with pipes

    Hi there,
    I few years ago I made a script that play random greeting prompts with play prompt step and pipes ||  (not sure if that worked)
    It was something like: play_prompt (prompt1 || prompt2)
    Not sure how I did it .. and if it really worked.. so I'd like to ask to the experts.
    Does something like that work ? I tryied one thing and another ... but it did not work
    Could you please help me ?
    Thanks.
    Andrei.

    To add to Greg's 100% correct reply...
    The document which talks about this is: UCCX Programming Guide Volume 3
    http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_8_5/programming/guide/uccx851_exp_lang.pdf
    Section: Prompt Escalation Operator ||
    And to give an example:
    Play Prompt (--Triggering Contact--, s[1] % 1 || s[2] % 1)
    That will randomly select between playing "one" or "two" a fair number of times (like a 50/50 coin flip).
    Of course, you could hear "one", "one", "one" and think that it's not working, but then again, you could flip "heads", "heads", "heads" too.
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

  • TS1389 I downloaded album but one song will not play, repeatedly prompts to authorize computer. I did all four suggestions on help site for itunes, Nothing works.

    I downloaded album but one song will not play, repeatedly prompts to authorize computer. I did all four suggestions on help site for itunes, Nothing works. I have read several posts, but many have problems with old purchases and new computers. This is a purchase I made today. I have tried deleting the SC file, and made all changes suggested by iTunes web site and other suggestions. Anybody have any suggestions I may have missed? 

    Your latest purchase could be corrupt...
    Try this...
    If you live in a Region that allows re-downloading Music...
    Delete the Song(s) and re-download...
    See Here  >  Download Past Purchases
    http://support.apple.com/kb/HT2519
    If not... Contact iTunes Customer Service
    Apple  Support  iTunes Store  Contact Us

  • Playing real instruments with software instruments

    Hey, I've been using logic for years but have never tried playing with a real instrument until now. When i connect my guitar Logic recognizes it and changes the driver to unknown USB device, but there is no sound since built-in input isn't selected and the instrument records but i can't hear it until i switch it back. How do you play real instruments with software instruments? Should be pretty simple. Thanks.
    - Sean

    Okay… the way Logic works is to use the same device for both Inputs & Outputs (there is a way round this, but let's not go there just now. First person to say 'Aggregate Device' gets thumped!).
    So when you choose your device (usefully known as "Unknown USB Device") in Audio MIDI Setup, this means that you are no longer using your Built-in Inputs & Outputs — because that's the alternative.
    Which means you won't hear anything through your speakers connected to your Mac. To hear an Output, you would have to connect your monitors/headphones/etc. to your device.
    Furthermore:
    _Auto Input Monitoring_
    If Auto Input Monitoring is switched on, you will only hear the input signal during the actual recording—before and afterwards, you’ll hear the previously recorded audio on the track, while the sequencer is running. This helps you to judge punch in and punch out points when punch recording. If Auto Input Monitoring is switched off, you will always hear the input signal.
    _To switch auto input monitoring on, do one of the following:_
    • Choose +Options > Audio > Auto Input Monitoring+ from the main menu bar (or use the +Toggle Auto Input Monitoring+ key command).
    • Control-click the Record button in the Transport, and turn on the +Auto Input Monitoring+ setting in the pop-up menu.

  • HT5622 The Game Center used to work with my Apple ID before I updated to iOS 7.4, I used to play multiple player with EA Real Racing 3 game but it doesn't work at all and every time I tried to go to the Game Center it's just blank, even to the settings no

    The Game Center used to work with my Apple ID before I updated to iOS 7.4, I used to play multiple player with EA Real Racing 3 game but it doesn't work at all and every time I tried to go to the Game Center it's just blank, even to the settings nothing!

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Go to Settings>Game Center and sign out and sign back in
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                                     
    - Restore to factory settings/new iOS device.             

  • Can't play CD's with xmms

    I cannot play CD's with xmms.  My regular user account is a member of audio and optical as recommended by the Arch FAQ.  I also checked the xmms preferences.  I had to make onbe change for the CD Audio Plugin.  The default setting is /dev/cd.  I changed it to /dev/cdrom.  I also clicked on Check Drive.  xmms recognized my Audio CD, showed the right number of tracks etc.  All looks okay.
    But when I try to play a CD.  I get the following error:
    Jan 20 19:13:41 myarch Buffer I/O error on device hdc, logical block 0
    Jan 20 19:13:41 myarch hdc: command error: status=0x51 { DriveReady SeekComplete
    Error }
    Jan 20 19:13:41 myarch hdc: command error: error=0x54 { AbortedCommand LastFaile
    dSense=0x05 }
    Jan 20 19:13:41 myarch ide: failed opcode was: unknown
    Jan 20 19:13:41 myarch end_request: I/O error, dev hdc, sector 8
    Jan 20 19:13:41 myarch hdc: command error: status=0x51 { DriveReady SeekComplete
    Error }
    Jan 20 19:13:41 myarch hdc: command error: error=0x54 { AbortedCommand LastFaile
    dSense=0x05 }
    Jan 20 19:13:41 myarch ide: failed opcode was: unknown
    Jan 20 19:13:41 myarch end_request: I/O error, dev hdc, sector 16
    Jan 20 19:13:41 myarch hdc: command error: status=0x51 { DriveReady SeekComplete
    Error }
    Jan 20 19:13:41 myarch hdc: command error: error=0x54 { AbortedCommand LastFaile
    dSense=0x05 }
    Jan 20 19:13:41 myarch ide: failed opcode was: unknown
    Jan 20 19:13:41 myarch end_request: I/O error, dev hdc, sector 24
    Jan 20 19:13:41 myarch hdc: command error: status=0x51 { DriveReady SeekComplete
    Error }
    Jan 20 19:13:41 myarch hdc: command error: error=0x54 { AbortedCommand LastFaile
    dSense=0x05 }
    Jan 20 19:13:41 myarch ide: failed opcode was: unknown
    Jan 20 19:13:41 myarch end_request: I/O error, dev hdc, sector 32
    Jan 20 19:13:42 myarch hdc: command error: status=0x51 { DriveReady SeekComplete
    Error }
    Jan 20 19:13:42 myarch hdc: command error: error=0x54 { AbortedCommand LastFaile
    dSense=0x05 }
    Jan 20 19:13:42 myarch ide: failed opcode was: unknown
    Jan 20 19:13:42 myarch end_request: I/O error, dev hdc, sector 40
    Jan 20 19:13:42 myarch hdc: command error: status=0x51 { DriveReady SeekComplete
    Error }
    Jan 20 19:13:42 myarch hdc: command error: error=0x54 { AbortedCommand LastFaile
    dSense=0x05 }
    Jan 20 19:13:42 myarch ide: failed opcode was: unknown
    Jan 20 19:13:42 myarch end_request: I/O error, dev hdc, sector 48
    Jan 20 19:13:42 myarch hdc: command error: status=0x51 { DriveReady SeekComplete
    Error }
    Jan 20 19:13:42 myarch hdc: command error: error=0x54 { AbortedCommand LastFaile
    dSense=0x05 }
    Jan 20 19:13:42 myarch ide: failed opcode was: unknown
    Jan 20 19:13:42 myarch end_request: I/O error, dev hdc, sector 56
    Jan 20 19:13:42 myarch hdc: command error: status=0x51 { DriveReady SeekComplete
    Error }
    Jan 20 19:13:42 myarch hdc: command error: error=0x54 { AbortedCommand LastFaile
    dSense=0x05 }
    Jan 20 19:13:42 myarch ide: failed opcode was: unknown
    Jan 20 19:13:42 myarch end_request: I/O error, dev hdc, sector 0
    Any ideas?
    Rob

    I got it to work!  I didn't realize when I was trying to play a CD, xmms was looking in /dev/cdrom.  To get xmms to play a CD, you must right click, select Play File, and navigate to the /mnt/cdrom directory.  Then you can selecct one of the .cda files and click play. 
    I do not know why xmms was first looking in /dev directory.  Strange. 
    Anyway, it works fine now.
    Rob

  • I have an apple certified refurbished iPod touch 3rd generatio.  When playing the music with headphones, the music moves from song to song.  When it is on a docking station, it repeats the song.  Any ideas why or how to fix it?

    I have an apple certified refurbished iPod touch 3rd generatio.  When playing the music with headphones, the music moves from song to song.  When it is on a docking station, it repeats the song.  Any ideas why or how to fix it?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             

  • TS1424 Just purchased Beatles' Tomorrow Never Knows.  But some (four) of the cuts did not download and can't be played or synced with ipod.  Any help?

    Just purchased Beatles' Tomorrow Never Knows.  But a few of the cuts did not download properly and can't be played or synced with ipod.  Any help?

    Assuming you are in a region where you are allowed to redownload your past music purchases, delete the current copies from your iTunes library, go to the iTunes Store home page, click the Purchased link from the Quick Links section in the right-hand column, then select Music and Not on this computer. You should find download links for your tracks there.
    If the problem persists, or that facility is not yet available in your region, contact the iTunes Store support staff through the report a problem links in your account history, or via Contact Support.
    tt2

  • Exchange 2013 SP1 users randomly prompted with "The Microsoft Exchange Administrator has made a change that requires you quit and restart Outlook"

    I got a call to check an issue with a Exchange Server 2013 SP1 environment recently. All server was upgraded from Exchange server 2013 CU2 to Exchange Server 2013 SP1. It was done successfully but many users were being randomly prompted with a popup in their outlook
    client with the following message:-
    “The Microsoft Exchange Administrator has made a change that requires you quit and restart Outlook”
    Although there wasn’t any changes of late in the environment there were random popups like these for multiple users. As the behaviour was not consistent and effecting the entire upgration population
    Please suggest us how to resolve the issue.
    Regards, Md Ehteshamuddin Khan All the opinions expressed here is mine. This posting is provided "AS IS" with no warranties or guarantees and confers no rights.

    Hi,
    Does the issue happen to all Outlook 2013 users? Please create a new Outlook profile to have a try.
    If it fails, please check the msExchHomePublicMDB value in ADSI Edit:
    1. In Adsiedit, expand Configuration-->CN=Services -> CN=Microsoft Exchange -> CN=domain -> CN=Administrative Groups -> CN=Exchange Administrative Group -> CN=Databases.
    2. Right-click the listed database > Properties.
    3. Check whether the msExchHomePublicMDB value is set to an available value. Please change the value to <not set>.
    4. Click OK.
    Then check whether the issue persists.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Latest iTunes no longer plays .0gg files with the Xiph Quicktime fix - any solution?

    Latest iTunes no longer plays .ogg files with the Xiph Quicktime fix - any solution?

    New version (.42) plays ogg files again so Apple have fixed the problem hooray

  • On Windows 7, Itunes 64-bit is playing all videos with a green overlay

    On Windows 7, Itunes 64-bit is playing all videos with a green overlay. You can see the video, but it's all green-scale (like grey-scale, only green). I've tried setting the Quicktime Direct3D options per Apple knowledge base articles, but to no avail... Windows 7 is all up to date, and I have the latest video drivers installed.
    The videos play perfectly in Quicktime (32-bit; I guess there isn't a 64-bit Quicktime?).
    Here's a screenshot:
    I'd love to get this fixed; it's really baffling and annoying.

    I had the same problem and surfed around the internet like a maniac. Finally, after several re-openings and re-installs of iTunes, I tried to log on to my account through the "Genius" - which I could. After that I have not had any problems to go to the Store!
    Hope it works for you too!

  • I spilled some pop on the back of my iPad. I cleaned it off and everything seems to be going good but when I play music it will either play with no sound or play then continue with no sound. What can I do to fix this (without being costly, it's a iPad 2)

    I spilled some pop on the back of my iPad. I cleaned it off and everything seems to be going good but when I play music it will either play with no sound or play then continue with no sound. What can I do to fix this (without being costly, it's a iPad 2) this happens with other music apps too. Please I need help!

    You can try resetting your iPad by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
    Try again to see if the problem persists. If it doesn't work, there isn;t much anyone here can do for you. It may be a physical problem with your speakers.

Maybe you are looking for

  • What are  import parameters for bapi

    please tell me what are the minimum  fields i  has to pass for bapi " BAPI_SALESDOCUMENT_CHANGE ". if  possible  give me with example Moderator message: please (re)search yourself first. Edited by: Thomas Zloch on Dec 8, 2010 9:07 AM

  • I thought everything was set up but I open the pad and it says passcode but I don't know what this is

    I Thought everything was set up but I open the ipad air and it ask for a passcode what is this

  • PFD-MAIL Problem with REPORTS 3.0.5

    Hi all! Still have a problem with creating a PDF file as mail attachement. I installed the latest patch 11 (3.0.5.19) of the oracle runtime and i compiled the report with the patch. What happend: Still go the error message if i open the pdf in the ma

  • Preventing Preview from saving downloaded PDFs

    I love Preview in many ways, but one way I miss Adobe (or is it Windows...?) is that the PDFs were saved as temp files and deleted when closed. This meant if I wanted a copy, I manually saved it. With Preview, my desktop can quickly fill up with unwa

  • Open file with reference

    Hi I want to open files with a reference in hidden mode. Is this possible? Because I want to make a program where the user can choose a new test station and then the controls and indicators will be created (or become visible) and the subroutine begin