Database Scalability

Hi,

I have installed the ejabberd server to test the presence and messaging management for our application and novice in jabber technology.

But the status currently supported by ejabberd are fixed..like available, subscribed etc., is it possible that I can use customized status instead of these status as per the requirements of our application. if yes, how can I use the customized status for the presence and messaging management.

or you can say...is ejabberd supports customized status?

Looking forward for the reply.

Thanks in advance,

Rohtash

You can provide additional information in a Status element

ejabberd implements XMPP. Specifically, XMPP-IM describes four values for the Show element: away, chat, dnd, xa.

Did you notice that it is possible to provide additional arbitrary text in a Status element?

Some examples:
<pre><presence>
<show>dnd</show>
<status>Math study</status>
</presence>

<presence>
<show>xa</show>
<status>having luuuunch!</status>
</presence>

<presence>
<show>xa</show>
<status>Sleeping ...</status>
</presence></pre>

You can check the protocol (in this revised text), sections 4.7.3 and 4.7.4: Show Element.

Syndicate content