Configuration - MSN Messenger Configuration

IMPORTANT!
Ports 1863 and 443 are also required to be open, both are required to establish secure communications with the messenger service.

 

Overview

Install and configure the messenger service to remotely restart the server and AutoDJ using msn Messenger.

 

 

Installation 

Linux / SSH Preperation for CentOS, Red Hat and similar 

  1. Install the following PHP componants:
    yum -y install php-mcrypt php-bcmath php-curl

  2. Restart Webserver
    Restart your web server to finish the preperation.

 

 

cPanel / WHM (If Supported) 

  1. Login to WHM
    Navigate to WHM -> Apache Update

  2. Select "Previously Saved Config" than "Start Customising based on profile"
    Continue to step "6. Exhaustive Options List" and select "# Exhaustive Options List".

  3. Ensure the following are selected:
    Curl, mhash, mcrypt, bcmath, urlSSL, Curlwrappers, openssl & SOAP

  4. Now untick the following:
    Magic Quotes

  5. Select "Save & Build"
    That is all, you can now continue to the next part "Configuration"

 

 

 

Configuration 

  1. Create a new MSN Messenger account
    a) Go to www.live.com and click the "Sign Up" icon.
    b) Enter your details in the fields provided.
    c) Click "I Accept" to accept the agreement.

  2. Download Windows Live Messenger
    After you have created a new account download the windows live messenger program.
    http://explore.live.com/windows-live-messenger?os=other

  3. Configure MediaCP
    a) Login to MediaCP
    b) Navigate to Administration -> Configuration -> Messenger tab
    c) Enable Messenger Service Control
    d) Enable Messenger Event Log to log customer usage.
    e) Enter your messenger login details for the account you have just created.
    f) Save Configuration
    g) Navigate back to the Mesesnger tab and select "Click here to save and restart the Messenger Service".


  4. Complete.
    That is it, now wait up to 5 minutes for the messenger bot to login and come online.
    You can add the account to your personal account for testing.

    Please note: The bot will ignore you if you do not authorise your email address from the Messenger Configuration on a service.

Configure Service 

 

  1. Go to the Overview of a specific service.

  2. Select the Configure Icon.

  3. Select the Feature Tab and Enable Messenger Control.

 

 

Authorise new E-mail addresses 

  1. Select the messenger Icon in the Service Overview.

  2. Select Authorise New Email.

  3. Enter the E-mail address you want authorised and the permissions that e-mail has to make changes

  4. Click Authorise new E-mail

Messenger-Configure-Media-services.jpg

 

 

 

 

 

 

 

 

 

 

Troubleshooting

 

The Messenger Account is Offline

This can be caused by the following reasons:

  1. msnbot.php is not running on your server.
    Login to SSH and issue "ps aux | grep msnbot.php".
    You should see an output like the following if it is running:
    apache   19444  0.2  0.8 156784 16800 ?        S    03:29   0:00 php /var/www/html/mediacp/scanner/msnbot.php

    Otherwise you will only see one line with "grep msnbot".

    Try to start the bot from Administration -> Configuration -> Messenger by following the save and restart link.
    If this does not start after 5 mintutes, try to start the bot in debug mode manually.

  2. Some PHP Componants are not configured
    Try running in debug mode first of all. This will tell you if you are missing componants.
    Make sure you install all componants specified in Installation section of this guide.

  3. Microsoft might have updated the protocol
    About every 6 months, Microsoft will release a major upgrade for the MSN Protocol and it will occasionally break the Messenger Bot.
    We try to stay on top of these updates. Please make sure to thouroughly debug to make sure that it is not a configuration issue before notifying us of a problem.

Start the Messenger Service in SSH in Debug Mode 

First check if the bot is running using "ps aux | grep msnbot.php".

If the bot is running, stop it by using "kill {PID}" replacing {PID} with the process ID displayed in the PS AUX above.

Please be sure to replace the "/path/to/mediacp/" with your actual path to MediaCP below:

php /path/to/mediacp/scanner/msnbot.php debug=1

If all worked well, the bot should come online and you should see output starting with:


***** Debugging Enabled *****
*** startup ***

***** Debugging Enabled *** *** startup *** *** try to connect to MSN network ***

Products Web Services LiveZilla Live Help