72.10. How to register Abilis as a client of Asterisk

Enter into the Abilis control-program or open the configuration file with the Console configurator and type the following commands.

a res:ctiiax

or

s act res:ctiiax

Add the CTIIAX resource.

or

If the resource already exists, set it active.

s p ctiiax act:yesEnable the CTIIAX runtime functionalities.
s p ctiiax srcadd:192.168.1.1

or

s p ctiiax srcadd:out-ip

If Asterisk is placed in the Abilis LAN.

or

If Asterisk is placed in Internet.

a user:asterisk pwd:swordfish iax:yesAdd the username and password associated to Asterisk and enable it to IAX protocol.
s user:asterisk iax-host:192.168.1.31Configure the Asterisk IP address.
s user:asterisk iax-number:*Configure the Asterisk IAX number.
s user:asterisk iax-maxses-bid:10Configure the maximum number of IAX bidirectional sessions.
s user:asterisk iax-trunk:yesEnable the trunking.
s user:asterisk iax-rem-reg:yes iax-rem-auth:md5Enable the registration of Abilis onto Asterisk and configure the authentication method.
s user:asterisk iax-rem-user:abilis iax-rem-pass:swordfishConfigure the username and password used by Abilis to register itself onto Asterisk.
save confSave the configuration.

On a working Abilis, a system restart is required to make the CTIIAX resource running.