============ Installation ============ Requirements ============ * innovaphone App Platform and PBX from version 15r1, users with myApps * Runs on arm, arm64 and x86_64 - on innovaphone gateways as well as on virtual appliances * One licence ``App(trizwo-callagain)`` per user, see `Licences`_ * For reminders by chat: a Messages object for the users who are to receive messages while myApps is closed Installing the app from the App Store ------------------------------------- Open the AP Manager of your App Platform and install the trizwo Call Again App from the App Store with the ``Install`` button. An update is installed the same way. Configuring the instance ======================== Adding an instance ------------------ After the installation, add an instance, named ``callagain`` for example. One instance serves every PBX of your system, master and slaves. .. thumbnail:: call-again-setup-1-instance__en.png AP Manager: installing Call Again and adding an instance Then start the instance with the ``Start`` button. Call Again then shows up as the plugin ``callagain`` in the PBX Manager. .. thumbnail:: call-again-setup-2-pbx-manager__en.png PBX Manager with the plugin callagain Creating the App Objects ------------------------ In the plugin, add the App Objects with ``Add an App``. The plugin sets ``Websocket`` and every grant the objects need. ``callagain`` The app users open, with the badge that counts the due reminders. ``callagain Admin`` The administrator app with status, user list and configuration. Its connection carries the PbxAdminApi (the ``Admin`` checkmark), through which the service reads the number of installed licences. ``callagain API`` Hidden; watches the Phone App's calls and starts with myApps, so that a due reminder can be shown with nothing else open. ``callagain Popup`` Shows the automatic dialogs - after a failed call and for a due reminder - on top of whatever the user is doing, then closes and returns to it. It has an icon of its own on the home screen; nobody needs to open it. Without the popup the dialogs appear inside the main app instead. ``callagain Chat`` Only needed when reminders are also to arrive as chat messages. It needs the ``Websocket`` and ``PbxSignal`` checkmarks, which the plugin sets. The chat app shows its SIP name as the sender, in lowercase, not its display name: choose a SIP name that reads well that way, for example ``callagain``. Do not assign it to anyone. .. thumbnail:: call-again-setup-3-objects__en.png The plugin callagain with its App Objects The App Objects replicate from the master to the slaves, and every PBX opens its own connections to the app. Each user is monitored, dialled for and licence-checked on their home PBX. Assigning the App Objects ------------------------- Assign ``callagain``, ``callagain API`` and ``callagain Popup`` to the users who are to use Call Again, preferably through a configuration template. Only those who manage the app get ``callagain Admin``. ``callagain Chat`` is assigned to nobody. .. thumbnail:: call-again-setup-4-template__en.png A configuration template with the Call Again apps The users can then add the app to their home screen. Licences ======== Call Again uses innovaphone's per-user App licence, ``App(trizwo-callagain)``. Assign it at the user object or in the template; one licence covers all objects, the others need none of their own. To try the app, the PBX's test mode or innovaphone's dummy licences are enough. The app needs no internet connection for the check. .. thumbnail:: call-again-setup-5-licence__en.png The licence App(trizwo-callagain) at a template The PBX decides who is licensed. A user without the licence sees a notice instead of the app and the dialogs, and their calls are not monitored. The service never monitors more users than there are licences installed. When a user's licence is taken away, their monitor is handed back at once; their data is kept for ``Forget unlicensed users after`` (see :doc:`configuration__en`), 30 days by default. Checking the installation ========================= Open ``callagain Admin``. Under ``Status``, the call monitor must read ``OK`` and every PBX must appear exactly once; the main App Object is ``callagain``. The status also shows the installed, assigned and monitored licences. ``Monitored users`` shows who is monitored - a user as soon as they have started myApps with Call Again. .. thumbnail:: call-again-setup-6-status__en.png callagain Admin: Status with the call monitor, the PBXs and the licences If the status shows a warning, see :doc:`troubleshooting__en`.