84.23. How to activate On-Demand recording

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:yesEnable 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:yesEnable 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:yesEnable the SMTP runtime functionalities.
s p smtp server:mail.server.comSet 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:passwordSet 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:yesEnable the DNS runtime functionalities.
s p dns primary:8.8.8.8 secondary:8.8.4.4Set 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:yesEnable the CTIVR runtime functionalities.
 Repeat the same command for each CTI POTS Port.
s ctip:101 num:21 descr:phoneuserConfigure the phone number assigned to the port and the description.
a user:phoneuser pwd:phoneuserpwd http:yesAdd the user phoneuser and enable it to HTTP.
s user:phoneuser opc-monitor:ctipConfigure the OPC monitored service.
a http rights path:/sys/opc/ user:phoneuserEnable the phoneuser to access the “Operator Panel Control” link.
s user:phoneuser ctip:101Configure the phoneuser for CTI port 101.
s user:phoneuser real-name:userphoneConfigure the real-name, this name is displayed on OPC panel.
s pref user:phoneuser on-demand-vr:yesEnable On-Demand recording for the phoneuser.
s pref user:phoneuser on-demand-vr-mail-to:username@myemail.testSet the SMTP recipient to which will be sent the voice message.
save confSave the configuration.

On a working Abilis, a system restart is required to make all the added resources running.

[Note]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]Tip

Interesting chapters:

Section 76.7, “Recording”;

Section 63.4.4, “On-Demand recording”.