QUOTE(Oswaldo Romano Jr. @ Fri Mar 16 2007, 15:34) [snapback]372886[/snapback]
Yes, it is - I receive the correct status, but when I stop to talk I need to end, right? So, what do I need to call to close the comunication? Thanks for your time, Romano
try this:
CODE
skype.Client.Focus();
skype.Client.ButtonPressed('NO');
skype.Client.ButtonReleased('NO')
Not sure what the syntax is in VB, but this should end the voicemail. The downside of doing this is that it will bring the Skype client window in focus, so for example, if it was minimized, it will not longer be minimized, not sure how important that is in your case or not?
The reason you want to bring the window in focus first is that if you do not, you can cause yourself problems and there may be unexpected results from time to time, depending what else is going on with the users desktop and other programs in focus.
This method is basically ending the recording using the button that the Skype user would use.
In still think you should be able to do this by doing
StopRecording() as listed here:
https://developer.skype.com/Docs/Skype4COMLib/IVoicemail