I’‘ve been researching this problem (which I posted as a much broader question some time ago) and I’'ve come to this:
If I send a presence packet with no type from my component to the msn gateway it does not get there at all, but presence packets with type (like subscribe or subscribed) and iq packets do get to the gateway quite fine. I’‘ve come to the point that I can register my component to the msn but I have no way to tell the gateway that I’'m online.
Is there any design reason for that behavior or is it that no one tried that before?
If there is no design or protocol barrier I’'d like a hint about which classes should I look in order to change that behavior to the one I need