Click here to contact us now! Click here to contact us now!

Configuring Asterisk PBX for use with VoIPtalk

Click here to find out how to configure your Asterisk PBX to receive incoming calls from VoIPtalk.

Once you have received you IAX account activation details then you are ready to make calls using your Asterisk server. The VoIPtalk IAX service requires numbers to be sent with the full country code. As an example, if you wish to call our office number then you would send the following to our call server:


You can configure Asterisk using 2 methods:

Configuration using only extensions.conf file

This involves adding the following entries into extensions.conf:

exten => _0[1-9].,1,Dial(IAX2/${EXTEN:1})
exten => _00.,1,Dial(IAX2/${EXTEN:2})

where USER is the user ID, and PW is the password.

The first line of the dial sequence allows UK-based customers to dial without a country code as it substitutes the prefixed 0 with a 44. This method is the least secure, as the dial sequence including the password will appear on the console display when an outgoing call is made.

Configuration using iax.conf

The preferred method of configuring Asterisk is by using a combination of the iax.conf and extensions.conf files. The iax.conf file enables you to have much more configuration control over your iax connection, allowing you to control things such as codec priorities, trunking etc.

For connection to voiptalk, a basic iax.conf entry would be:


The corresponding extensions.conf would be:

exten => _0[1-9].,1,Dial(IAX2/USERID@voiptalk/44${EXTEN:1})
exten => _00.,1,Dial(IAX2/USERID@voiptalk/${EXTEN:2})

Dialling Other Networks

Please configure your extensions.conf locally for other networks.

Useful Numbers

To access our special numbers, you will need to add an extra dial string into your dial plan:

exten => _09XX,1,Dial(IAX2/USERID@voiptalk/${EXTEN})

All special numbers are 4 digits on length and start with the 09 prefix.