OK, maybe I'm not understanding the XMPP model and I shouldn't be using
a subdomain here. What I'm trying to achieve is that the component can
update the status of a subscription based on some external state that it
is monitoring. So I have the component keeping track of the phones of
users A and B, and I want A to be able to subscribe to a jid that will
show the status of B's phone, how would I do that in XMPP terms?
Cheers,
Henk
Dan Reverri wrote:
When an XMPP component is registered with a Jabber server it is
responsible for all messages sent to the registered sub-domain
(uc.example.com). Even if you were able to authenticate your users
with the sub-domain, messages sent to "[email protected]" would be
routed to the component.
I don't believe your users can have the same sub-domain as your component.
On Mon, Jun 1, 2009 at 7:54 AM, Henk Hesselink <[email protected]> wrote:
Ralph Meijer wrote:
On Mon, 2009-06-01 at 13:27 +0200, Henk Hesselink wrote:
Hi,
I'm using words+wokkel+ejabberd to link Jabber clients with our phone
call-control system. It's mostly up, but I can't figure out how to
register users. The setup is:
- ejabberd handles example.com
- wokkel registers as component for uc.example.com
- client subscribes to [email protected]
This all works, but at the moment the client must have a jid in the
example.com domain. What I would like is to have the jid be in the
uc.example.com domain. How do I allow a client to have an account
in that domain? Any help would be appreciated.
I'm not sure what you are trying to do here. What do you mean with
'subscribes to'? A presence subscription? Should the users have a full
IM account at uc.example.com?
--
Groetjes,
ralphm
_______________________________________________
Twisted-Jabber mailing list
[email protected]
https://mailman.ik.nu/mailman/listinfo/twisted-jabber
The use-case here is:
1. user starts up his chat client
2. registers an account "[email protected]"
3. subscribes to "[email protected]"
4. can then see the status of her_phonenr in his client
I have ejabberd handling the example.com domain, and a component that
registers with ejabberd for the uc.example.com domain and that handles
the presence and phone stuff. I guess my question boils down to who
handles the registration here: if I configure ejabberd to serve the
uc.example.com domain my component seems to no longer get messages for
that domain.
Do I need to deal with registration and accounts in the component or
am I doing something wrong and should ejabberd take care of this?
Groetjes,
Henk
_______________________________________________
Twisted-Jabber mailing list
[email protected]
https://mailman.ik.nu/mailman/listinfo/twisted-jabber
_______________________________________________
Twisted-Jabber mailing list
[email protected]
https://mailman.ik.nu/mailman/listinfo/twisted-jabber
_______________________________________________
Twisted-Jabber mailing list
[email protected]
https://mailman.ik.nu/mailman/listinfo/twisted-jabber