Hi
I have some problem understanding skype api
I would like to do a C# application that calls different telephone numbers and when a user answers, I want my application to play a registered message.
I don't know if this is possible using skype api and how to do it.
I use Interop.SKYPE4COMLib.dll to get skype functions. I can instantiate Skype object and I also tried succesfully to send a chat message to another user. But I don't know how to make calls.
I user this code:
public void Skype_CallStatus(Call call, TCallStatus status)
{
// Write Call Status to Window
if ((status > TCallStatus.clsUnplaced) && (status < TCallStatus.clsOnHold) && (status != TCallStatus.clsFailed))
{
Command cmd = new CommandClass();
cmd.Command = "ALTER CALL " + call.Id + " SET_INPUT FILE=\"C:\\skype\\TestSkype\\msg.wav\"";
skype.SendCommand(cmd);
}
else
{
// Could Stop or Resume something when a call stops here
}
}
thanks for your help
bye