Hi!
Is it possible to somehow configure some routing logic on ejabberd? Basically what I want to achieve is to specify that if a user is not found in active connections to forward the xmpp message to another machine. But I have searched the documentation and it does not seem possible.
In fact, the scenario is more specific than this and maybe it is better to describe it. I want to connect a component to ejabberd and use the same domain name as the one that ejabberd is responsible for. I already tried this, and if from the component to ejabberd it works ok - that is ejabberd forwards the messages to the clients, when coming from the clients to ejabberd the messages stop in ejabberd and if the user in ‘to’ is not connected ‘unavailable’ response is generated back. What would be ideal to happen, is in the case the user is not found, to search if there is a component registered for the same domain name and forward the message to it. Does this feature make sense to you? Do you think that you could consider to include this feature in the next releases?
Thanks and regards,
Anca Vamanu
