Ejabber Error: module not found when sending a Jingle "session-initiate" stanza

387 Views Asked by At

I'm trying to implement a basic audio/video-chat functionality through WebRTC by means of ejabberd in JavaScript. To do it, I'm using the Stanza library which implements the following protocols:

XEP-0166: Jingle

XEP-0176: Jingle ICE-UDP Transport Method

And from the docs I know that Ejabberd supports Jingle ICE (XEP-0176). https://docs.ejabberd.im/admin/configuration/#stun-and-turn

When I try sending a Jingle "session-initiate" stanza, as described in XEP-0166, it throws the following error:

<error code='503' type='cancel'>
    <service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
    <text xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>No module is handling this query</text>
</error>

What version of ejabberd are you using?

18.1

What operating system (version) are you using?

Centos 7

How did you install ejabberd (source, package, distribution)?

Source

If needed, I can post here my installation steps and a config.

Please, advise on how to proceed further with my implementation?

1

There are 1 best solutions below

1
On

are you trying to send the session-initate to a bare jid (user@host) instead of a full jid (user@host/resource)? The former will be handled by the server and it is quite unlikely that it supports accepting calls that way...