Text us or call us on : 011 33 20 30 40
aql Telecoms

Click here to view aql's range of voice fax and Business Voice over IP telephony solutions.
Click Here...
 
category: Connecting FreeSWITCH

How do I connect my AQL IAX Trunk with FreeSWITCH

Ensure you have enabled mod_iax (this is commented out by default in the FreeSWITCH configuration)

Inbound Calling

Set the following parameters in iax.conf.xml;

<param name="codec-prefs" value="PCMA" />
<param name="codec-master" value="uk"/>
<param name="codec-rates" value="8"/>

You may also want to change the context from "public"

You will need to create at least one extension, the following will match all incoming IAX (7xxxxx) calls

<extension name="aqliax">
<condition field="destination_number" expression="^7(\d{5})$">
.. your dialplan logic goes here ..
</condition>
</extension>

Outbound Calling

There is no need to register with our IAX servers.

Simply call the bridge application as follows (where 7XXXXX is replaced with your IAX number);

<action application="bridge" data="{origination_caller_id_number=7XXXXX}iax/USERNAME:PASSWORD@iax.aql.com/DESTINATION" />


It is imperative you include the {origination_caller_id_number=7XXXXX} variable assignment otherwise you will hear an error stating you have Insufficient Credit to make the call.

More help available from technicians via our online support system.

Back to list of faq categories«