Suppose you must enable On-Demand recording for a user of an analog telephone.
Enter into the Abilis control-program or open the configuration file with the Console configurator and type the following commands.
| a
            res:http or s act res:http | Add the HTTP
            resource. or If the resource already exists, set it active. | 
| s p http act:yes | Enable the HTTP runtime functionalities. | 
| a res:opc or s act res:opc | Add the OPC
            resource. or If the resource already exists, set it active. | 
| s p opc act:yes | Enable the OPC runtime functionalities. | 
| a
            res:smtp or s act res:smtp | Add the SMTP
            resource. or If the resource already exists, set it active. | 
| s p smtp act:yes | Enable the SMTP runtime functionalities. | 
| s p smtp server:mail.server.com | Set the FQDN name of the SMTP Relay server to which all the mails for not local domain are forwarded. | 
| s p smtp server-user:user server-pwd:password | Set username and password of the account of the relay server. | 
| a res:dns or s act res:dns | Add the DNS
            resource. or If the resource already exists, set it active. | 
| s p dns act:yes | Enable the DNS runtime functionalities. | 
| s p dns primary:8.8.8.8 secondary:8.8.4.4 | Set the DNS primary and secondary server IP addresses. | 
| a
            res:ctivr or s act res:ctivr | Add the CTIVR
            resource. or If the resource already exists, set it active. | 
| s p ctivr act:yes | Enable the CTIVR runtime functionalities. | 
| Repeat the same command for each CTI POTS Port. | |
| s ctip:101 num:21 descr:phoneuser | Configure the phone number assigned to the port and the description. | 
| a user:phoneuser pwd:phoneuserpwd http:yes | Add the user phoneuserand enable it to
            HTTP. | 
| s user:phoneuser opc-monitor:ctip | Configure the OPC monitored service. | 
| a http rights path:/sys/opc/ user:phoneuser | Enable the to access the “Operator Panel
            Control” link. | 
| s user:phoneuser ctip:101 | Configure the phoneuserfor CTI port
            101. | 
| s user:phoneuser real-name:userphone | Configure the real-name, this name is displayed on OPC panel. | 
| s pref user:phoneuser on-demand-vr:yes | Enable On-Demand
            recording for the phoneuser. | 
| s pref user:phoneuser on-demand-vr-rcpt:username@myemail.test | Set the SMTP recipient to which will be sent the voice message. | 
| save conf | Save the configuration. | 
On a working Abilis, a system restart is required to make all the added resources running.
| ![[Note]](../images/note.png) | Note | 
|---|---|
| The CTIVR requires a separate licence in CPX and needs also SoftPBX licence to activate OPC (for enabling Voice Recording via OPC Panel) and SMTP licence to activate SMTP (for sending emails). | 
| ![[Tip]](../images/tip.png) | Tip | 
|---|---|
| Interesting chapters: |