Hi all..
I recently setup my XMPP, but i am not sure it's right or not.
Please take a look all steps that i have had:
- I use Jabber.org as my XMPP server
- I create an account in jabber.org, for example:
username: st4tu5net@jabber.org
password: 123abc
- I add this code into 'config.php' :
// xmpp
$config['xmpp']['enabled'] = true;
$config['xmpp']['server'] = '
http://mywebsite.com';
$config['xmpp']['host'] = 'st4tu5net@jabber.org';
$config['xmpp']['port'] = 5222;
$config['xmpp']['user'] = 'st4tu5net';
$config['xmpp']['encryption'] = false;
$config['xmpp']['resource'] = 'st4tu5net';
$config['xmpp']['password'] = '123abc';
$config['xmpp']['public'][] = 'my email address';
$config['xmpp']['debug'] = false;
- FTP 'config.php'
Do i miss an important steps? or i have done wrong steps?
Thank you
Comments
if you have trouble its good to turn xmpp debug on and then run php startdaemons.php
I would suggest using your own jabber server as opposed to using jabber.org
also I dont see jabber.org anywhere in those configs. There must be an A-name record for xmpp, You could point an srv from 'mywebsite.com' to jabber.org, but Again, I don't know how much jabber.org likes that sort of thing. I might be inclined to ask them first.
my corrections.
$config['xmpp']['server'] = 'mywebsite.com';
$config['xmpp']['host'] = 'jabber.org';
aric@aric-laptop:~$ dig +short _jabber._tcp.status.net. SRV
0 0 5269 xmpp002.status.net.
0 0 5222 xmpp002.status.net.
(if a jabber client tries to connect to status.net it gets routed by the srv record to xmpp002.status.net, which is another machine.
which lets me have
$config['xmpp']['server'] = 'status.net';
$config['xmpp']['host'] = 'xmpp002.status.net';
Make sense?
run scripts/startdaemons.php..?
did you mean re-name file:
/scripts/startdaemons.sh --> /scripts/startdaemons.php
am i right?
I have renamed it, thank you..
oh i see.. i'll try to use Openfire as suggested many people when i googling..,
but what platform should i use?
my computer is Windows, but my hosting (at GoDaddy) is Linux platform.
I'll try to set up XMPP on my computer,
Thank you @aric for your great support