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.
2. password - On the next line type the key word â€œsecretâ€?, which for asterisk means password, and then write your 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.
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 192.168.1.2, 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.
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:
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+