I have implemented a plugin (which is also a component) that returns automated answers to certain queries. I’'ve done all this working only on message packets and ignoring everything else I receive.
Now I want the component to register to the msn transport so that it can be accessed from there. I was told that, in order to achieve that, I have to register a transport with the component and send my presence to all the roster.
I’‘ve managed to answer the IQ disco and get the component in the list of services available (I copied this from the asterisk plugin) but I don’'t know what to do with the presence packets I receive. I tried creating and sending a new presence packet from the component to the client but the client does not see the component online.
As you can see I don’'t know the protocol very much so I will accept some documents to read as a valid answer
Have any of you managed to register a component with the msn network?