is it a right config of the im setting?

$config['xmpp']['enabled'] = true;
$config['xmpp']['server'] = 'jabber.org';
$config['xmpp']['host'] = NULL; // Only set if different from server
$config['xmpp']['port'] = 5222;
$config['xmpp']['user'] = 'webname';
$config['xmpp']['encryption'] = true;
$config['xmpp']['resource'] = 'webname';
$config['xmpp']['password'] = 'passpord';
$config['xmpp']['public'][] = 'user@jabber.org';
$config['xmpp']['debug'] = false;

is it a right config of the im setting?

Comments

  • ~~~~~~~~~
    NO
  • @lovegx999 could you give me a right example, thanks very much!
  • andy you should set up your own xmpp server rather than using jabber.org's I recommend http://prosody.im/ its easy and fun!

    $config['xmpp']['enabled'] = true;
    $config['xmpp']['server'] = 'yoursite.com'; #make an SRV record for your site pointing to the A named one below
    $config['xmpp']['user'] = 'user you registered on your jabber server';
    $config['xmpp']['host'] = 'example.myjabberserver.org'; #must be an A name record
    $config['xmpp']['resource'] = 'unique name, example "update";
    $config['xmpp']['password'] = 'password of the user you registered on the xmpp server';
  • aric, thanks very much!
  • aric, i have try the ejabberd, but it seems that it do not fit me. does the prosody has a version for the centos?
  • aric....i find the prosody is much hard than the ejabberd to install. that's because i need to install the liblua before the prosody's installation, but centos is well support for the liblua.
  • hi.., i have registered in jabber.org and get my ID.
    is anyone could tell me the next step?
    how to set it up, how to configure my site's XMPP variables, etc..?
    please help, i have no experience like this.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID