I have created an IM bot that works for several networks (MSNM, YIM and AIM) and I notice that MSNM part of IM gateways is partially defect.
A major problem I am seeing is that the bot logs in and out every 30. minute or every few hours. After some time the bot eventually dies and goes offline without coming online again until I manually re-login. This is consistent and happens every time. I use the same code for the other gateways and they work without hickups.
I have tried to debug this problem, but without any success.
Can anybody provide some suggestions where I should look at or what I could try to change in order to fix this behaviour?