Component domain - access rights / XEP-114 specification

I'm creating a JTAPI Presence Module, so that users' status automatically changes to "on the phone" when they pick up the phone.

Having created a Component following the XEP-114 specification how can I send a Presence stanza which affects the server's own users?

If I use the correct hostname in my Presence Stanzas then no errors are generated, but of course the JIDs aren't right for the server so no presence changes occur.

I've done this with Openfire and it works fine - it ignores the mismatch in the "from" field. However with Ejabberd I get:

<presence type='error' to='ray@domain/jtapi' from='domain' id='1'>
  <error code='400' type='modify'>
    <bad-request.xmlns='urn:ietf.params:xml:ns:smpp-stanzas'/>
  </error>
</presence>

Is this actually impossible with Ejabberd, or is there some ACL which will grant the external component access to the local presence information?

Any help gratefully received!

thanks,

Ray

Maybe this feature is related?

Has anyone managed to find a

Has anyone managed to find a solution for this? I am trying to accomplish the same thing: allow the component to send presence packets on behalf of a user, but I am getting a 400 error as well.

check_from is also set to false for my component, so that is out of the question.

Hi, I'm looking for someone

Hi,

I'm looking for someone that we can pay to develop this kind of component.

Ray, are you available to this kind of service? We can use openfire, that you told that it worked.

Thanks.

Syndicate content