For the quickest reply, please use our new Customer Helpdesk and Feedback platform
 
   
 
Component with the same domain name
Posted: 17 March 2010 12:10 PM   [ Ignore ]
Newbie
Rank
Total Posts:  2
Joined  2010-03-17

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

Profile
 
 
Posted: 17 March 2010 06:28 PM   [ Ignore ]   [ # 1 ]
Moderator
Rank
Total Posts:  29
Joined  2007-11-26
Anca Vamanu - 17 March 2010 12:10 PM

I want to connect a component to ejabberd and use the same domain name as the one that ejabberd is responsible for.

Bad idea: that will produce routing problems internally in ejabberd.

Anca Vamanu - 17 March 2010 12:10 PM

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?

if a user is not found in active connections to forward the xmpp message to another machine.

Is it possible to somehow configure some routing logic on ejabberd?

Do you think that you could consider to include this feature in the next releases?

Such a feature is not implemented in ejabberd.

You can modify ejabberd source code to implement the feature, use it yourself, and also publish in case other people are interested. But I don’t t see that feature to be useful: I am unaware of interest in such feature.

Profile
 
 
Posted: 17 March 2010 06:37 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  2
Joined  2010-03-17

You can modify ejabberd source code to implement the feature, use it yourself, and also publish in case other people are interested. But I don’t t see that feature to be useful: I am unaware of interest in such feature.

In fact it is very useful for what we want to use ejabberd - building a completely transparent SIP-XMPP gateway that allows offering SIP and XMPP services for the same domain with interconnection between the two(SIP users talking with XMPP users in this domain). We already tries using the same domain name for the component - and the direction SIP - XMPP, that is component - ejabber it works fine, the messages get to the XMPP client. The problem is with the messages that come from XMPP and get stuck in ejabberd - since you can not tell it to give them to the component also.

Regards,
Anca Vamanu

Profile
 
 
Posted: 27 March 2010 03:46 AM   [ Ignore ]   [ # 3 ]
Newbie
Avatar
Rank
Total Posts:  1
Joined  2010-03-27
Badlop - 17 March 2010 06:28 PM
Anca Vamanu - 17 March 2010 12:10 PM

I want to connect a component to ejabberd and use the same domain name as the one that ejabberd is responsible for.

Bad idea: that will produce routing problems internally in ejabberd.

Anca Vamanu - 17 March 2010 12:10 PM

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?

if a user is not found in active connections to forward the xmpp message to another machine.

Is it possible to somehow configure some routing logic on ejabberd?

Do you think that you could consider to include this feature in the next releases?

Such a feature is not implemented in ejabberd.

You can modify ejabberd source code to implement the feature, use it yourself, and also publish in case other people are interested. But I don’t t see that feature to be useful: I am unaware of interest in such feature.

hello there I’m a little bit confused here, is it really possible to create a duplicate domain?, i need some enlightenment here…

Profile
 
 
Posted: 28 May 2011 02:33 PM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  1
Joined  2011-05-25

I think you can’t duplicate your domain it possible if you are using different proxy change lots of connection

:))

Profile