473,382 Members | 1,369 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Envox CT ADE Development / RealSpeak Telecom

Anyone here experienced in developing with Envox CT ADE and/or RealSpeak
Telecom? I have a problem that I am not sure how to solve.

Dialogic JCT/T1 (ISDN) card.
Envox CT ADE 9.1
RealSpeak Telecom 4
Visual Studio 2005

Basically, what is happening is I create an ADXVoice and ADXTTS object
listening on a channel and speak some text when a call is received. If I
hang up during the speaking of the text then immediately call back to the
same channel the text starts speaking where it left off (minus the call back
seconds).

Eg.

public int iTrunk = 0;
private ADXVoiceClass ADXVoice1 = null;
private ADXTTSClass ADXTTS1 = null;

private void Form1_Load(object sender, EventArgs e)
{
ADXVoice1 = new ADXVoiceClass();
ADXVoice1.TrunkAssign(iTrunk);
ADXTTS1 = new ADXTTSClass();
ADXTTS1.AssignCompatibleChannel(ADXTTSLib.RES_TYPE .RES_TYPE_Trunk,
iTrunk);
ADXTTS1.ListenTo(ADXTTSLib.RES_TYPE.RES_TYPE_Trunk , iTrunk);
ADXTTS1.SetPersonality("SAPI5_Person1");
ADXVoice1.IncomingCall += new
ADXVoiceLib._IADXVoiceEvents_IncomingCallEventHand ler(OnIncomingCall);
ADXVoice1.CallerHangUp += new
ADXVoiceLib._IADXVoiceEvents_CallerHangUpEventHand ler(OnCallerHangup);
}

private void OnIncomingCall()
{
ADXVoice1.AnswerCall();
Play_Hello();
}

private void Play_Hello()
{
ADXTTS1.SpeakString("This is a test to see what happens when a
disconnect occurs.", 0, "+");
ADXTTS1.SpeakString("I'll continue speaking to see if the next call
hears this same text.", 0, "+");
}

I suppose somewhere in the OnCallerHangup method I need to free the TTS
resource or something. I've been trying for a while but have been
unsuccessful. Anyone have any experience with Envox CT ADE / RealSpeak
Telecom? I'd certainly appreciate the feedback.

Thanks a lot.

Dec 13 '06 #1
1 3375
Try the speech SDK
http://msdn.microsoft.com/library/de...eechanchor.asp

chanmm

"Jake K" <no*****@address.comkwrote in message
news:uF**************@TK2MSFTNGP03.phx.gbl...
Anyone here experienced in developing with Envox CT ADE and/or RealSpeak
Telecom? I have a problem that I am not sure how to solve.

Dialogic JCT/T1 (ISDN) card.
Envox CT ADE 9.1
RealSpeak Telecom 4
Visual Studio 2005

Basically, what is happening is I create an ADXVoice and ADXTTS object
listening on a channel and speak some text when a call is received. If I
hang up during the speaking of the text then immediately call back to the
same channel the text starts speaking where it left off (minus the call
back seconds).

Eg.

public int iTrunk = 0;
private ADXVoiceClass ADXVoice1 = null;
private ADXTTSClass ADXTTS1 = null;

private void Form1_Load(object sender, EventArgs e)
{
ADXVoice1 = new ADXVoiceClass();
ADXVoice1.TrunkAssign(iTrunk);
ADXTTS1 = new ADXTTSClass();
ADXTTS1.AssignCompatibleChannel(ADXTTSLib.RES_TYPE .RES_TYPE_Trunk,
iTrunk);
ADXTTS1.ListenTo(ADXTTSLib.RES_TYPE.RES_TYPE_Trunk , iTrunk);
ADXTTS1.SetPersonality("SAPI5_Person1");
ADXVoice1.IncomingCall += new
ADXVoiceLib._IADXVoiceEvents_IncomingCallEventHand ler(OnIncomingCall);
ADXVoice1.CallerHangUp += new
ADXVoiceLib._IADXVoiceEvents_CallerHangUpEventHand ler(OnCallerHangup);
}

private void OnIncomingCall()
{
ADXVoice1.AnswerCall();
Play_Hello();
}

private void Play_Hello()
{
ADXTTS1.SpeakString("This is a test to see what happens when a
disconnect occurs.", 0, "+");
ADXTTS1.SpeakString("I'll continue speaking to see if the next call
hears this same text.", 0, "+");
}

I suppose somewhere in the OnCallerHangup method I need to free the TTS
resource or something. I've been trying for a while but have been
unsuccessful. Anyone have any experience with Envox CT ADE / RealSpeak
Telecom? I'd certainly appreciate the feedback.

Thanks a lot.
Dec 14 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Willem | last post by:
Are there any tools that would support higher level application development with PHP? I need to develop a complex enterprise app, but I don't want my programmers to waste their time on low level...
10
by: pmdanger | last post by:
Hi, I'm new in java and my customer want an application which works under LINUX and WINDOWS plat forms. So, i though logically in JAVA. As i need to select my development tool, i would like...
4
by: Richard Levasseur | last post by:
(Forewarning, most of these problems and solutions come from being the only developer in a 1 server department with no budget, few resources, unresponsive IT, and non-technical managers, so thats...
3
by: a.abdulwahab | last post by:
Hello, I am working at a Telecom operator, and our system is written in C. I am a computer scientist, and i have a very weak conception about telecomunication. I need to know how telecom...
0
by: Jake K | last post by:
Originally postet in C# group, however, thought I'd also post here to see if anyone has any thoughts. Anyone here experienced in developing with Envox CT ADE and/or RealSpeak Telecom? I have...
1
by: VB | last post by:
iTechArt Group - Custom Software Development and Offshore outsourcing Company http://www.itechart.com/ Offshore custom software development company iTechArt - Web site and Content Management...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.