Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Created by: null on 03-08-2005 02:58:34 PM How to DTMF a phone number from java code
Subject: RE: DTMF Replied by: Vance Vagell on 03-08-2005 03:05:49 PM Hi Jose,
In order to assist you with this issue we need some additional information. Could you please explain the task you would like to perform using custom Java code in an Audium application?
Regards, Vance
Subject: DTMF Replied by: null on 03-08-2005 03:16:41 PM In my application I am taking a session value which have the telephone number (outbound number). I want to play the DTMF to caller and then transfer it to that number.
Subject: RE: DTMF Replied by: Vance Vagell on 03-08-2005 04:02:52 PM Hi Jose,
Since you already have the telephone number stored in session data, you can easily play it back using an Audio element. Additionally, Audium provides a technology called Say It Smart to read back formatted data, such as telephone numbers. Using Say It Smart, you can use pre-recorded audio files for the digits, and it will automatically insert pauses at the appropriate places in the telephone number (i.e. after the third and sixth digits). Even if TTS is used instead of pre-recorded audio, Say It Smart will add the appropriate pauses.
To read back the number:
1) Drag an Audio element on to the workspace 2) Select an audio item from the Audio element's configuration (on the Audio tab) 3) Click the "Say It Smart" radio button to switch this audio item to Say It Smart 4) Choose "Phone Number" from the Type drop-down box 5) Tell the plugin where to find the data: [list:bd1b7ca9f9] a) If you are using Audium Studio, click on the substitution button next to the Data text field to insert the substitution to access the telephone number from session data b) If you are using Audium 3.3, select the Session Data radio button, and enter the name of the session data variable in the text field to the right.[/list:u:bd1b7ca9f9] This will configure a single audio item to read back just the telephone number.
To perform the transfer, drag a Transfer element into the workspace. In the Transfer element's configuration, on the Settings tab, use substitution to insert the telephone number into the "Transfer Destination" setting. When the Transfer element is visited, the telephone number will be substituted, and an attempt will be made to transfer the user to it. Note that there are additional settings for the Transfer element that allow you to modify the behavior of the transfer.
If you wish to play back the telephone number just before the transfer takes place, then you can configure the audio items in the Transfer element itself to read the telephone number back. If this is the case, you will likely want to add additional audio items that say something along the lines of "I am about to transfer you to", and "please hold", so that the full sentence that the user hears is "I am about to transfer you to 888-555-1212 please hold".
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: