I am developing an chat application in android with ejabberd server and smack 4.1.0 beta 2. In that I want to use streammanagement(XEP-0198).
In Installation and operation guide of ejabberd http://www.process-one.net/docs/ejabberd/guide_en.pdf it specified that streammanagement is enabled in default. But it didn't work in my case.
So I manually make streammanagement value as true. But still smack returns false when i call issmavailable() method.
Here is my ejabberd.cfg code,
listen,
[
{5222, ejabberd_c2s, [
{access, c2s},
{shaper, c2s_shaper},
{max_stanza_size, 65536},
zlib,
starttls,
{certfile, "/etc/ejabberd/ejabberd.pem"},
{stream_management,true}
]},
Pls help me.. Thanks in advance...
For anybody coming here after an upgrade which disabled XEP-0198: With ejabberd 17.03 the option was renamed and is disabled if not present at all in the config. The new option is called mod_stream_mgmt
https://blog.process-one.net/ejabberd-17-03/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With