Cubix is a softphone which support both SIP (Session Initiation Protocol) and IAX2 (Inter-Asterisk eXchange) protocols. It can be downloaded from http://www.virbiage.com/cubix.php. Currently running on the Windows OS. Actually Cubix have own implementation of the IAX protocol. It no so different from ordinary IAX, but provide some additionally features when use Cubix with the Cubix server. You can
check who is online, send text messages and things like that. In this tutorial we will explain you how to use Cubix with Asterisk server. If you want to know how to setup your own server, please read Asterisk installation tutorials

First of all, we have to create a user in the Asterisk. Cubix is an IAX & SIP softphone, so we can choose which protocol to use. In this tutorial we will show the both. We have to add these accounts in the iax.conf and in sip.conf. The next step is to create an extensions for the users in the extensions.conf file.

As you could see, I have created a users named cubix_sip with a password sip and cubix_iax with a password iax2, the host has a dynamic IP address (which means that it will be able to connect from whatever IP address) and it has the right to work at the context named tutorial.

Here I will create the extensions:

9876, which is using the Dial application in order to call the user cubix_sip.8765, which is using the Dial application in order to call the user cubix_iax.

Note: Remember to reload the Asterisk from CLI, if you want the changes to take effect.

This is an easy process. To install Cubix softphone start the installation file that you downloaded. This file is most comonly named CubixSetup-Live-2.0.x.xxxx.exe . When you start this executable the welcome form will be showed:
The Cubix installation procedure is simmilar to the standard windows installations. The setup will show you the License Agreement:
Then you will be able to specify the installation path, where you want Cubix to be installed (by default is: C:Program filesCubix). Click 'Next' to continue, or 'Back' to get to the previos screen.
You will be able to change the program group in which the setup will create the shortcut to Cubix. By default it is 'Cubix'. Click 'Next' to continue, or 'Back' to get to the previos screen.
In the next step Cubix's setup will ask you if you want it to create a desktop shortcut to Cubix. Click 'Next' to continue, or 'Back' to get to the previos screen.
In the next step the setup will show the information that you provided (all options as path, program folder, etc...). Click 'Next' to start coping the files, or 'Back' to get to the previos screen.
In the next stage Cubix's setup will copy the files.
This is the final stage of Cubix installation. By clicking the 'Finish' button you will close the installation program.

IAX2 Configuration

You will be automatically prompted to create SIP or IAX account with "Cubix Setup Wizard". First we will configure an IAX account:
On "Server Address", there is asterisk-server.com, fill the hostname or IP address of your Asterisk server (in our example it will be 10.0.0.2). VoIP Number and Password must be the same as in the config files, depends on the used protocol.

When you are ready press 'Next' to continue.

On the next stage you will be able to "name" this account. We will set name 'IAX2 profile'. When you are ready press 'Next' to continue or 'Back' to review your previos settings.

On this final stage you will be able to review and verify your settings. If everything is correct press 'Finish' to finilise the account creation, or 'Back' to review and edit your settings.

SIP Configuration

You will be automatically prompted to create SIP or IAX account with "Cubix Setup Wizard". First we will configure an IAX account:
On "Server Address", there is asterisk-server.com, fill the hostname or IP address of your Asterisk server (in our example it will be 10.0.0.2). VoIP Number and Password must be the same as in the config files, depends on the used protocol.

When you are ready press 'Next' to continue.

On the next stage you will be able to "name" this account. We will set name 'SIP profile'. When you are ready press 'Next' to continue or 'Back' to review your previos settings.

On this final stage you will be able to review and verify your settings. If everything is correct press 'Finish' to finilise the account creation, or 'Back' to review and edit your settings.

General Configuration

From this form you will be able to congigurate some general settings of Cubix. Such settings are:

Language
Auto-Away Mode
Window behavior
Start up behavior

Here is a screenshot of this form:

Network Configuration

From this form you will be able to edit the settings about your SIP/IAX2 account. You can edit:

The name of the account
Type of the account (SIP or IAX2)
Login Settings (such as account name, secret, server IP address)
Codecs (allow or disallow certain codecs)
Port settings
Some security settings

Here is a screenshot of this form:

Audio Configuration

From this form you will be able to configure your audio options. You will be able to setup:

From this form you will be able to set some options on 'Away' status and 'Voicemail' settings. Here is a screenshot of this form:

Themes Configuration

From this form you will be able to change the 'skin' of Cubix. On your right there is a preview and a list of available 'skins'. Here is a screenshot of the form:

Advanced Configuration

From this form you will be able to set the debug level of the application and external USB phone support. Here is a screenshot of the form:

Usage

For any number that has been dialed, in the contact list appears record, by default it is placed in the "Not On List" group (like "999" in below screenshot).
You can add such number in different group with right click above number, and select "Edit". This will open "Contact Details" dialog.
Here you can enter custom contact name, different numbers to dial (you can select default one) and group for this contact, the current group is marked with "*"

Now its easy to dial different contact number, just right click on the name and select number: