Help - Search - Members - Calendar
Full Version: sendMessage does not really send messages
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
wongjoh
Setup:
- I have a bot in the server side that responds to Skype messages. My server-side bot is set to accept all messages, even from strangers.
- I also have a client plugin that attaches to Skype and sends messages to my bot. My client-side plugin and the Skype client have NOT added the server-side bot as a buddy or friend (and do not intend to)

Problem:
Normally, messages are sent just fine from client to server-side. However, every once in a while, when my client plugin sends messages using SendMessage (C#, Skype4COM) through Skype to my server-side bot, these messages stop being delivered. Further messages are just queued-up.

Observation:
When this happens, I've noticed that when I *manually* send a message back from my server-side to the client (through the chat window), then all of the sudden, all the "queued-up" messages from the client-side are delivered at that point in time.

Question:
Obviously I don't want to do manual replies from the server side. I do not understand why the client-side would have trouble sending these messages to start with -- the server side is obviously active (even though the status is not visible to the client - displays a '?'). The messages should be delivered.

Anything that I am doing wrong? Or workarounds?


Thanks.
merton_a
QUOTE(wongjoh @ Thu Apr 12 2007, 14:52) [snapback]382546[/snapback]

Problem:
Normally, messages are sent just fine from client to server-side. However, every once in a while, when my client plugin sends messages using SendMessage (C#, Skype4COM) through Skype to my server-side bot, these messages stop being delivered. Further messages are just queued-up.


I've noticed similar behaviour - I can always kick it back into life by making a call from the receipient to the sender, then all messages are delivered.

In my case, the recipient and sender are buddies, but for some reason the recipient is Offline to the sender, although it is online to itself. Making the call to the sender then changes the status to Online, which I assume is what allows the messages to be delivered.

I do know that messages are only delivered if both parties are online - there's another thread in the forum somewhere (or maybe in the Chats forum?)...

Doubt this helped, but anyway...

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