idefisk how to

How to configure Asterisk to work with Idefisk

Idefisk Free is a free IAX2 softphone available for Windows, Linux and Mac OS X.

Idefisk is IAX based softphone, so you would need an IAX account on the Asterisk side.

First thing to do is open the iax.conf file placed in the /etc/asterisk directory. It is the file used for iax accounts.

To configure Asterisk with Idefisk please follow the steps below:

1. username - You have to write it in square brackets.
Example: [username]

2. password - On the next line type the key word “secret�, which for asterisk means password, and then write your desired password.
Example: secret=desired_password

3. type - Now you should define the rights of the user who is going to use this account – there are three different types – “user�, “peer� and “friend�. If you choose the “peer� type then the user will be able only to make calls. If the type is “user� then the user will be able only to make calls. Finally the “friend� type will allow your users to make as well as receive calls. You will need the keyword “type� followed by the desired type.
Example: “type=friend�

4. host - It is for the IP address from which the Idefisk will try to register. If it is set to dynamic then you could register with this account from any Idefisk softphone anywhere. If it is set to a static IP address like for example, then you could register with this account only from that IP address.

5. context - This is the area, in extensions.conf, where your iax account could work. So it could be any context which you already have in the extensions.conf file or a future context that you plan to create. Write the key word “context� and then the name of the area. For example “context=area_name�

We are ready with the iax.conf file. Now have a look at the extensions.conf file. Here is where you should create your dialplan.

Remember the “context� option from the iax.conf. So if you do not have such a context in extensions.conf you should create it now. It has to be written in square brackets.
Example: [area_name]

Everything you write below this line will be considered as a part of this area. What you should do now is create an extension on which your Idefisk could be reached. There is a define syntax for that job.
First you have to write the key characters “exten =>�. Then choose the number at which you would like your Idefisk to be reached. It could be anything - digits, letters or even a combination of letters and digits. For Example: �idefisk100�. Then it comes the priority. It defines the order in which the different steps should be executed. So for the first step we have priority “1�. Next you should say which application to be executed. If you want to make a call you should use the “Dial� one. However this is not enough - you should tell the system exactly which user to be called. For the purpose you should write in the parenthesis the protocol you are using and the user you would like to be called. In your case you should write IAX2/username. IAX2 stands for the protocol that Idefisk is using and “username� is the name defined in the square brackets in the iax.conf file.

Example: exten => idefisk100,1,Dial(IAX2/username)

It is advisable as last step to make an extension with priority “2� which should contain the “Hangup� application. That way you will always be sure that when one of the both parties hang up the system will close the opened channel.

Example: exten => idefisk100,2,Hangup()

The whole configuration from our example should look like:

In iax.conf


In extensions.conf


Exten => idefisk100,1,Dial(IAX2/username)
Exten => idefisk100,2,Hangup()

If you dial number “idefisk100� your Idefisk softphone should start ringing.

Also see:

Configuring IP Phones for use with Asterisk
Idefisk Free manual
Created by: Mira, Last modification: Wed 16 of Aug, 2006 (08:45 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+