IAX configuration
To get connected to aql’s wholesale gateways, you would need to create the following in your iax.conf file:
[__username__]
type=user
context=iax-inbound
auth=md5
host=sip.aql.com
username=__username__
secret=__inbound_password__
trunk=yes
[aql-outbound]
type=peer
context=iax
auth=md5
host=sip.aql.com
username=__username__
secret=__outbound_password__
trunk=yes
Also, you’d need to place the following in your extensions.conf file (where nnnnnn is the VoIP ID for the particular inbound number you want to use):
[outbound]
exten => _X!,1,Set(CALLERID(num)=nnnnnn)
exten => _X!,2,Dial(IAX2/aql-outbound/${EXTEN})
[iax-inbound]
exten => nnnnnn,1,Dial(SIP/100)