Help - Search - Members - Calendar
Full Version: Playing recorded File
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
Graduating Student
For my senior project I am trying to develop an application that calls a list of numbers and plays a pre-recorded message on Skype. Does anyone have experience doing this? I am using VB 2005 as part of Visual Studio 2005 have the numbers in a text file.

I have looked through the developers notes, but I do not think I am getting the full idea of what is to be done. The Developers notes seem to be giving examples for the old .api and possibly using the given code in a chat window???

I'm using the skype4COM and have been unable to find examples of how to "play" the recorded message. I did find the following while trying to program this:
oCall.InputDevice(TCallIoDeviceType.callIoDeviceTypeFile)=filename
but that seems just a bit too simple.

Any insights would be extremely helpful.

Thanks.
Graduating Student
QUOTE(sglebs @ Fri May 26 2006, 04:14) [snapback]255175[/snapback]

Hi,
Is it possible, via the Skype API, to make a call to a phone number, then play an audio file (WAV or mp3) into this call, and then hang up?
Example:
1) call 123-4567
2) play an m3 file that says "Mr Smith, your car is fixed and ready for pickup"
3) hang up
I was looking at the APIs and didn't see anything to pump audio into a call, programatically? Thanks,
marcio



It was not that easy. I get a COMException after the call is disconnected without playing the file. Following is my code:

oCall.InputDevice(TCallIoDeviceType.callIoDeviceTypeSoundcard) = "default"
oCall.InputDevice(TCallIoDeviceType.callIoDeviceTypePort) = "12345"
oCall.InputDevice(TCallIoDeviceType.callIoDeviceTypeFile) = messageFile

Message file is a string containing the file location and name.

Can anyone please point me in the direction of what I'm doing wrong.

Thanks.
Graduating Student
I hate to reply just to bump this back up, but I am really needing help with this. Thanks to anyone who can assist.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.