============= Configuration ============= The administrator app ===================== ``callagain Admin`` has three tabs: ``Status`` Every connected PBX, which one is the master, the call monitor, the licences (installed, assigned, monitored) and warnings when something is missing (see :doc:`troubleshooting__en`). ``Monitored users`` Every user the PBXs report, one page at a time. Filter the list by PBX, licence, registration and status (active, or deleted on the PBX), search it by name, SIP or extension, and sort it by clicking the Name, SIP, Home PBX or Extension heading. For users without a licence, the ``Licensed`` column shows the date their data will be deleted. ``Configuration`` Every setting of the instance, grouped as below. Each setting has a help text of its own. Who is monitored ================ A user is monitored once Call Again is in their myApps and the PBX has assigned them an ``App(trizwo-callagain)`` licence. The app's background component connects when their client starts, and a monitor is set up right away and permanently from that point on, no restart needed and no call missed. So the monitored users are, in practice, the licensed users you assigned the app to. To stop monitoring a user, take the licence away: the monitor is handed back at once and the data is kept for ``Forget unlicensed users after``. A user deleted on the PBX is not forgotten at once either: their data is kept for ``Forget deleted users after``, and the list shows them as deleted, with the date their data will be deleted. PBX and app objects =================== Serve only this PBX (PbxName) With ``(all PBXs)``, the instance serves every PBX that connects. A PBX name - matched against the PBX Name the PBX reports - restricts the instance to that PBX; the other PBXs' users are then not monitored. A change takes effect after a restart of the instance. Monitoring (RCC) ================ Maximum monitored users (RccMaxUsers) Upper bound on the users this instance monitors. The service sets it to the number of installed ``App(trizwo-callagain)`` licences as long as the PBX reports them through the admin object, and the field is read-only then; it can be typed only without that connection or while the PBX is in test mode. Once it is reached, further users stay unmonitored, listed but not initialised. When it goes down, monitors are handed back, users who are not known first, then the known users seen longest ago. Range 0 to 10000. Initialisation rate (RccInitRatePerTick) How many users are initialised per 100 ms tick while the app starts up. Higher is faster but asks more of the PBX at once. Range 1 to 50. Invert call direction (RccDirectionInverted) An escape hatch. The PBX reports the direction from its own point of view, so a call the user places arrives with the direction bit clear. Turn this on only if outgoing and incoming calls are classified the wrong way round. Redial and call targets ======================= How a redial is placed (RedialMode) ``Automatic (RCC, then phone app)`` tries the PBX first and falls back to the phone app in the client. ``RCC only`` refuses the call when the user is not monitored, instead of quietly placing it another way. ``Phone app only`` always dials through the client. Offer a client choice (ClientSelection) Lets the user pick which of their logged-in myApps clients places the call. Switched off, no clients are offered. Offer a device choice (RccDeviceSelection) Lets the user pick which of their phones rings for a redial. Switched off, no devices are offered and the call goes to the user's primary device. Device list cache (RccDeviceCacheSec) Seconds a device list fetched from the PBX stays fresh before it is read again. 0 switches the cache off. Range 0 to 86400. Maximum device monitors (RccMaxDeviceHandles) Bounds only the temporary monitor that is set up when a user picks a specific phone to redial from in the device picker; a user's permanent monitor is never capped by it. Once the cap is reached, the least recently used device monitor is dropped to make room; if none can be freed, that redial is refused rather than silently going to the wrong phone. 0 means unlimited. Range 0 to 5000. Failed call detection ===================== Minimum call progress (MinFailState) How far a call must have got to count as failed rather than merely aborted (a call the user themselves hung up before it went anywhere). 1 counts every call that was placed at all. Range 1 to 5. .. warning:: Raising this value is risky: a call can go straight from being placed to release without ever reporting that it rang or was being processed. A value higher than 1 can therefore make the app silently stop noticing genuine no-answer calls - they get classified as "aborted" instead of "failed", and the user is never offered a reminder for them. Ignored release causes (IgnoreCauses) Comma separated Q.850 cause codes that never count as a failed call, for example ``16,17``. Leave empty to consider every cause. Reminders and user defaults =========================== Default after a failed call (DefaultPromptMode) What a user gets after a failed call until they change it in their own settings: ``Open the dialog``, ``Notification only`` or ``Do not ask``. Default retry delay (DefaultDelayMinutes) Delay in minutes preselected for a new reminder. Range 1 to 10080 (one week). Retry presets (DefaultPresets) Comma separated minute values offered as buttons in the dialog, for example ``5,15,30,60``. Reminders for colleagues (DelegationMode) Who may create a reminder for another user or hand one of their own over to them. ``Allow-list per user`` (the default) Each user names the colleagues who may, under ``Delegation`` in the menu of the Call Again app; nobody else can. ``Everyone`` Every Call Again user may do it for every other, and no lists are kept - the choice for a large PBX, where nobody wants to maintain them. ``Off`` The feature is switched off: the "Remind a colleague instead of me" choice, "Hand over" and the Delegation menu item are gone, and the service refuses such a request. The lists users have saved are kept when the mode changes, and count again when it is set back to the allow-list. Reminders that were already handed over stay with their owners. A user's app picks the new mode up when it is next opened. Busy re-check (BusyRecheckSec) How often the scheduler looks again at a reminder it holds back because its owner is on a call, busy or on do not disturb (their "Wait while I am ..." setting). The end of a call and a presence change wake it up at once; this is the safety net behind that. Range 1 to 300 seconds. Scheduler tick limit (ReminderMaxSleepMs) The longest the reminder scheduler sleeps before it looks for due reminders again, in milliseconds. Mainly a safety net against a jumping system clock. Range 1000 to 3600000. Keep call log for (AttemptRetentionDays) Days a call attempt stays in the database before it is purged. Attempts a pending or due reminder points at are always kept. 0 switches purging off. Range 0 to 3650. This covers the call log only: finished reminders and their history are never purged. They stay until their user is forgotten (the next two items). Forget unlicensed users after (UnlicensedForgetDays) Days a user's data is kept after the PBX no longer assigns them an ``App(trizwo-callagain)`` licence. Their monitor is handed back at once, and reminders that fall due meanwhile wait - they come the moment a licence is assigned again, and their history says they waited for one. Once this time is up, the user is forgotten: their settings, the reminders they own with their history, their call log, their allow-lists and their entries on other users' lists are deleted. Reminders they created for or handed on to colleagues stay with those colleagues. The check runs daily, and only deletes when the PBX has just confirmed again that the licence is missing - so nothing is deleted while the licences cannot be read or while the PBX is in test mode. 0 keeps the data for good. Default 30, range 0 to 3650. Forget deleted users after (DeletedForgetDays) Days a user's data is kept after their object was deleted on the PBX. A user who is created again with the same guid within this time - as a replication from a directory does - gets everything back. Meanwhile their reminders wait instead of coming due, and colleagues cannot pick them for a reminder. Once this time is up, a daily check asks the PBX again and, if the object is still gone, forgets the user, with the same effects as above. The same check finds users who were deleted while the service was not running. It never acts when the PBX reports a large share of the users gone at once. 0 keeps the data for good. Default 30, range 0 to 3650. Keep unassigned old data for (LegacyAdoptDays) Concerns only data from a version before the first release, which still belonged to a user's name rather than their PBX object. Such data is given, once, to the user who next opens Call Again under that name; data whose owner never shows up is deleted this many days after the upgrade. 0 keeps it. Default 90, range 0 to 3650. Notifications ============= Send notifications (NotifyEnabled) Sends a myApps notification when the app cannot reach the user in the app itself - nobody has it open, or the user asked for notifications only. Switched off, a failed call is only ever seen inside the app. Notification language (NotifyLang) Language of the notifications and of the reminder chat messages. They are composed in the service, which does not know the recipient's client language, so one language applies to everybody. myApps host for links (AppClientHost) Host name in the link a chat reminder carries to open the reminder in the app (``https:///PBX0/APPCLIENT/appclient.htm``). Left empty, the app uses the DNS name of the master PBX - the PBX that reports itself as master, or the first that connected while none does. Set it when that DNS name is not the one your users' myApps logs in at. Reminders by chat ----------------- Users can choose to get a due reminder as a chat message instead of, or as well as, the dialog. The message is sent by the App Object ``callagain Chat`` (see :doc:`install__en`). A user gets messages while myApps is closed only if a Messages object is configured for them. The message carries a link that opens the reminder in the app (see ``myApps host for links``). Every chat reminder also sends a myApps notification, whatever the user's notification setting. The chat shows the sender's profile picture from your avatar provider, not the app icon. Without this App Object, or while it is not connected, every reminder appears as the dialog.