Return to LanScape's home page Go back a page...       Active TopicsActive Topics   Display List of Forum MembersMember List   Knowledge Base SearchSearch   HelpHelp  RegisterRegister  LoginLogin

LanScape VOIP Media Engine™ - Technical Support
 LanScape Support Forum -> LanScape VOIP Media Engine™ - Technical Support
Subject Topic: Wav File Not Playing Completely Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
ajdiaz
Junior
Junior


Joined: December 10 2007
Location: United States
Posts: 76
Posted: January 24 2008 at 1:19pm | IP Logged Quote ajdiaz

While our company waits for the support agreement, I am hoping you can help me get through this day.

We are playing wav files (PCM, 8k, 16-bit, mono), using OpenTxIvrChannel() and TransmitInCallIvrData(). We are experiencing a problem when playing wave files back to back. I play 5 different wave files, one after the other. And at runtime, we notice that the first wav file is not heard, we will only heard the 2-5. On another instance during the same runtime, maybe the first and the second won't be heard. On another instance, all 5 are heard.

To overcome this problem, we created a 1 second empty wave file and if we play it twice in front of the other 5 wave files (for a total of 7), then we get to listen the 5 that we want at the end. So it seems like there is a random problem loading and playing the first 1 or 2 files.

Obviously we do not like this "solution", because now there is too much delay between response and playback.

I was wondering if you have any ideas on why this is happening? Maybe someone else experienced this issue too? Maybe you can tell me what are the most common issues users have not getting wav playback as desired.

Thanks,

Alex
Simplikate
alex@no_spam_simplikate.com
Media Engine 5.12
VS 2005 / C#
Note: Remove "no_spam_" from the above email if contacting directly.
Back to Top View ajdiaz's Profile Search for other posts by ajdiaz
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: January 24 2008 at 2:34pm | IP Logged Quote support

Hi Alex,

Your company support agreement that starts February 1 is in the process of being enabled. It should be completed by tomorrow. We will just roll the end of this month into all of February.

Your VOIP app should just be able to send sample block data to the phone line using the TransmitInCallIvrData() proc. There should be no weird timing issues. We would have to take a peek at your code to see what you are actually doing that may be causing this – but there is a better solution.

Streaming wave file data from multiple wave files to any phone line is OK. Its probably a simple bug. We can get you a piece of sample code to show how to do this. Possibly sometime tomorrow or on Monday.

Please tell us:

1)
What language are you using to develop your VOIP app?

2)
If we coded a procedure to do this, how would you want your app to call it?
In other words, we can code up something as an example that takes as parameters the phone line and a string array containing the wave files to use.

For example, this would be the C code function prototype:

Code:

BOOL StreamWaveFilesToPhoneLine(int PhoneLine, char **ppArrayOfWaveFileNames);




Let us know the answers to the above questions and we will get a simple example that you can download from your support FTP account.


Support
Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
ajdiaz
Junior
Junior


Joined: December 10 2007
Location: United States
Posts: 76
Posted: January 25 2008 at 11:02am | IP Logged Quote ajdiaz

Thanks for your response.

To answer your questions: We are using C# Visual Studio 2005. The method prototype would be:

bool StreamWaveFilesToPhoneLine(int PhoneLine, string[] ArrayOfWaveFileNames);

Thanks.

-Alex
Back to Top View ajdiaz's Profile Search for other posts by ajdiaz
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: January 25 2008 at 2:57pm | IP Logged Quote support

Hi Alex,

We coded up an example C# console application that you can check out. See the SimpleMakeCallMultipleWaveFiles.zip archive in your “Example Source Code” FTP directory.

Here is a brief summary from the source code:

“This C# managed code application shows how to initialize the media engine, make a call to a destination and then stream wave file data from multiple wave files to the phone line.”


Repost with any other questions or when you want us to do more.


Thanks and have a good weekend,

Support

Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
ajdiaz
Junior
Junior


Joined: December 10 2007
Location: United States
Posts: 76
Posted: January 25 2008 at 4:05pm | IP Logged Quote ajdiaz

The credentials we have for our ftp site are not working. Perhaps the account is temporarily locked or disabled, or the password was changed, or we have the wrong password. Can you verify this? Or how can I get the correct credentials? Can you email them to me at alex@simplikate.com?

Thanks.

-Alex
Simplikate
Back to Top View ajdiaz's Profile Search for other posts by ajdiaz
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: January 28 2008 at 9:16am | IP Logged Quote support

We will email you the login info. Hang on...
Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
ajdiaz
Junior
Junior


Joined: December 10 2007
Location: United States
Posts: 76
Posted: January 30 2008 at 10:33am | IP Logged Quote ajdiaz

Hi.

Never did receive the login info. Please help. Thanks.

-Alex
Simplikate
Back to Top View ajdiaz's Profile Search for other posts by ajdiaz
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: January 30 2008 at 2:17pm | IP Logged Quote support

Alex,

You should have said something. We sent it to you the same time as our last post. We will do it again right now. If you do not get it in the next 1/2 hour, post again with a phone number and we will call you with the information.

Matt Lindenberger should also have your support FTP account login info from an email on 7-23-07....


Support
Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum






Contact LanScape Hear what the Lawyers have to say How youm may use this site Read your privacy rights