title: How to enable stream management in ejabberd server?
body: <p>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). </p>
  
  <p>In Installation and operation guide of ejabberd <a href="http://www.process-one.net/docs/ejabberd/guide_en.pdf" rel="nofollow">http://www.process-one.net/docs/ejabberd/guide_en.pdf</a> it specified that streammanagement is enabled in default. But it didn't work in my case. </p>
  
  <p>So I manually make streammanagement value as true. But still smack returns false when i call issmavailable() method. </p>
  
  <p>Here is my ejabberd.cfg code,</p>
  
  <pre><code>listen,
  [
    {5222, ejabberd_c2s, [
  
                          {access, c2s},
  
                          {shaper, c2s_shaper},
  
                          {max_stanza_size, 65536},
  
                          zlib,
  
                          starttls,
  
                          {certfile, "/etc/ejabberd/ejabberd.pem"},
  
                          {stream_management,true}
  
                         ]},
  </code></pre>
  
  <p>Pls help me.. Thanks in advance...</p>