Installing Voci Adapter

Run the commands in the following steps to install Voci adapter on your system. You must have the packages provided in the Voci repository to complete the following steps. Contact support@vocitec.com if you do not have the packages.

  1. Install the Voci adapter user:
    yum install voci-adapter-user- x.x.x-x.rpm 
    Tip:

    You can avoid step 2 by appending --enablerepo=voci-el7 to the install command in step 1 for the Voci adapter user:

    yum install voci-adapter-user-x.x.x-x.rpm --enablerepo=voci-el7
    Important: Replace x.x.x-x with the version number of your package.

    List users to confirm the Voci adapter user exists:

    cat /etc/passwd | grep voci

    If the Voci adapter user exists, the response should be similar to the following:

    vociadap:x:997:994::/home/vociadap:/bin/bash
  2. Enable the Voci repo by editing the /etc/yum.repos.d/voci.repo file. Look for the [voci-el7] section and change the value of enabled from 0 to 1 , as shown in the following sample:
    [voci-el7] name=voci-el7 baseurl=https://vocitec.com/repo/public/voci/el7 enabled=1 gpgcheck=0 metadata_expire=120
  3. Install Voci adapter software:
    yum install voci-adapter-x.x.x-x.x86_64.rpm 

    The response should be similar to the following:

    Loaded plugins: fastestmirror, nvidia Examining voci-adapter-1.11.0-1.x86_64.rpm: voci-adapter-1.11.0-1.x86_64 Marking voci-adapter-1.11.0-1.x86_64.rpm to be installed Resolving Dependencies --> Running transaction check --> Package voci-adapter.x86_64 0:1.11.0-1 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================================================= Package Arch Version Repository Size ========================================================================================================================= Installing: voci-adapter x86_64 1.11.0-1 /voci-adapter-1.11.0-1.x86_64 139 k Transaction Summary ========================================================================================================================= Install 1 Package Total size: 139 k Installed size: 139 k Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : voci-adapter-1.11.0-1.x86_64 1/1 Stopping vociadapter (via systemctl): [ OK ] Starting vociadapter (via systemctl): [ OK ] Verifying : voci-adapter-1.11.0-1.x86_64 1/1 Installed: voci-adapter.x86_64 0:1.11.0-1 Complete!
  4. Confirm that the installation was successful and the service is running by checking the status:
    systemctl status vociadapter 

    The response should be similar to the following:

    vociadapter.service - SYSV: Voci Adapter daemon Loaded: loaded (/etc/rc.d/init.d/vociadapter; bad; vendor preset: disabled) Active: active (running) since Fri 2021-03-12 13:24:02 EST; 1min 11s ago Docs: man:systemd-sysv-generator(8) Process: 27670 ExecStart=/etc/rc.d/init.d/vociadapter start (code=exited, status=0/SUCCESS) Main PID: 27679 (python) CGroup: /system.slice/vociadapter.service └─27679 /opt/voci/bin/python -O /opt/voci/adapter/main.pyo Mar 12 13:24:02 torch0121 systemd[1]: Starting SYSV: Voci Adapter daemon... Mar 12 13:24:02 torch0121 vociadapter[27670]: Starting vociadapter: [ OK ] Mar 12 13:24:02 torch0121 systemd[1]: Started SYSV: Voci Adapter daemon.

    (Optional) Confirm that the service is running by checking out.log:

    cat /var/log/vociadapter/out.log
    

    The response should contain entries similar to the following:

    2021-03-12 13:24:02.810 [INFO: root] Starting Adapter, using config: /opt/voci/adapter/config/default.cfg 2021-03-12 13:24:02.811 [INFO: voci.handler] Initializing handler LiveCall