Tel.: +36 1 371 0150

How to setup Ozeki Webphone Gateway with PHP Fusion

By connecting a webphone to the Ozeki Phone System XE you can make it possible for your customers to reach your support staff easily. Any web browser is capable of handling microphones and web cameras, making voice and video chat become available. This leads to numerous new possibilities: fast, effective and easy-to-use availability (results in higher income) for companies, great quality communication and also fast, effective and easy-to-use accessibility for the customer.

This guide helps you to build your own CMS system with a Webphone Gateway. It creates more possibilities to reach your customers or your friend over the webphone connection. You can easily create this webphone if you follow the steps and configure the tools which are important for the connection. Ozeki Wephone Gateway provides you a new facility in world wide web. You can use it for your own business and aims. In order to build your own Webphone Gateway and start calling your contacts, you need to connect Ozeki Phone System XE to your CMS System.

System architecture

Figure 1 - Connect with PHP Fusion

If you follow the steps of the configuration guide below, you will have own CMS system which is connected to Ozeki Webphone Gateway. The system will work as follows:

  • Create your own PHP Fusion website
  • Add Ozeki Phone System XE Webphone Gateway to your own site.
  • Connect the Webphone with Ozeki Phone system XE
  • You can start call your contacts via Ozeki Webphone Gateway

Configuration steps

In this few step you get information about how can you configure and build your own CMS system with Ozeki Webphone Gateway. Before you start to configure this solution it is assumed that you have already installed your Ozeki Phone System XE, downloaded from this page.

You will also need a configured webserver like XAMPP or Wamp.

Step 1.) Install PHP Fusion

First, download the newest version of PHP Fusion from the official web page then you need to create a database named "fusiondb" in Wamp server (Figure 2).

Figure 2 - Create the fusiondb database

Then before you upload the files to your server, you have to rename the "_config.php" file, which can be found in the files folder to "config.php". After you are done with the renaming, you can upload the content of the files folder to your server, or copy them to your www folder in Wamp, if the webpage is going to run on your PC.

If you don't want to run the PHP Fusion on your own PC you must set the correct permissions for the files listed below.
These files/folders must be set (CHMOD) to 777.

  • administration/db_backups/
  • downloads/
  • downloads/images/
  • downloads/submissions/
  • downloads/submissions/images/
  • forum/attachments/
  • ftp_upload/
  • images/
  • images/imagelist.js
  • images/articles/
  • images/avatars/
  • images/news/
  • images/news/thumbs/
  • images/news_cats/
  • images/photoalbum/
  • images/photoalbum/submissions/
  • config.php

If you are running the PHP Fusion on your localhost open the following URL in a web browser: http://localhost/setup.php.
Otherwise if you are running the PHP Fusion on your server your URL will look like this: http://yourpage.com/setup.php.

After you have opened the sufficient URL you will see the 1. step of the installation process (Figure 3).

Figure 3 - Language selection

The next step will test the permission of the installation files (Figure 4).

Figure 4 - Permission testing

In the third step of the installation you will be asked for the name of the Database along with the Hostname, Username and Password belonging to it (Figure 5).

Figure 5 - Database Settings

The next step will show you that the database connection was successfully established (Figure 6).

Figure 6 - Successful database connection

The fifth step requires you to give the admin details (Figure 7).

Figure 7 - Primary Admin Details

You will be notified that you have to delete the setup.php file and chmod your config.php back to 644 (Figure 8).

Figure 8 - Final Settings

With this the PHP Fusion is installed on your PC or Server, you can create the webphone next.

Step 2.) Create a Webphone

In this step, you need to create and set a webphone using Ozeki Phone System XE. Here you can find a detailed guide to help you with this.

Step 3.) Connect PHP Fusion with Ozeki Webphone Gateway

You have come to the part, where you can add a webphone to your PHP Fusion page. For this open PHP Fusion in your webbrowser with the http://localhost/news.php URL, then login as admin with the login password (Figure 9).

Figure 9 - Login to PHP Fusion

The next step is to click on the Admin Panel on the right side of the page (Figure 10).

Figure 10 - Admin Panel

Then click on News to add the webphone to your page (Figure 11).

Figure 11 - Adding News

Type in the Subject of the news and then copy the generated code of the webphone to the field of News. Note that, if the PBX and the webserver are hosted in different computers, you have to replace the generated IP address with the address of the PBX. Also change the port number to 80. (Figure 12).

Figure 12 - The creation of webphone in a news block

Roll down the page and click on Save News (Figure 13)!

Figure 13 - Saving the news containing the webphone

Go to the main page to see the webphone (Figure 14).

Figure 14 - Click on Home

Step 4.) Make a test call

You are finished with your webphone, it is ready to be tested. To test it click on the green call button on the phone (Figure 15).

Figure 15 - Making a test call

A window will pop up with another webphone in it, clik on the green call button again. This time your call will be executed and you will be able to talk with the person at the other side of the line.

You can dial your own SIP devices if you click on the calling button. You should set a dial plan, don't forget to set it, because it will transmit the call to your customer (Figure 16).

Figure 16 - Check calling on Call History

Conclusion

If you have followed these steps, then you have installed the Ozeki Webphone Gateway and the PHP Fusion CMS system and you have made phonecalls over the Webphone Gateway in your web browser. In these steps you could learn new possibilities of the CMS system of your business. You can add your Webphone Gateway into your website or your CMS system. If you have followed these steps and you have finished the configuration, then you can make phonecalls over the Webphone and you can dial your own phones and other devices which support the SIP protocoll.

If you have any questions or need assistance, please contact us at  info@ozekiphone.com

Dig deeper!
People who read this also read...

  • More calls
    By offering a free option for your website
    visitors to call your company, you can
    increase the number of incoming calls
    by up to 30-40%.
  • More sales
    More telephone inquiries lead to more purchases. A webphone can be used to convert more website visitors into buyers and cutting transaction time.
  • Better support
    By providing a user-friendly, free and innovative way for your partners to contact you, you can gain their trust and build a preferred brand/corporate image.
  • Faster access
    Ozeki Webphone Gateway will cut the time it takes for customers to reach you. Shortening the sales procedure will bring measurable success.