The "PrmImport.csv" file can be created by an external application to set presence status of the CTI Clients.

Columns of the CSV file:
------------------------
ID:          Should contain a unique data record ID
Client:      Name of the Client in the CTI Server.
Status:      CTI Server internal status ID (see next section "Status-IDs"). The status ID also determines the status icon.
Activity:    This column is not used now (2018-11-07). CTI Server internal activity ID (describes the status in more detail).
StartTime:   Status start time. If not set, then the status is set with CTI Server start.
EndTime:     Status end time. If not set, then the status will not expire (until the user reset the status to "Available").
Info:        Short info to show on the speed dial buttons or tool tip.
Caption:     Not used now. The Caption is derived from the Status-ID.
CallForward: Can contain a phone number for call forwarding. Then set to "dnd" an "Do Not Disturb" is activated for the user phone.
SetBy:       Info for the user to see, who has set the status. This info is visible in the status config dialog on CTI Client side.

Status-IDs:
-----------
0=AVAILABLE		// bereit
1=LOGGEDOUT		// logged out from CTI Sever; vom Server abgemeldet
2=AWAY			// away; abwesend
3=BRB			// Be Right Back; Bin gleich zurück
4=PAUSE			// Pause (Essen,Kaffee, ...)
5=BUSY			// busy; beschäftigt
6=MEETING		// in a meeting; in einer Besprechung
7=OFFWORK		// not ready to work (vacation, sick...);   nicht Arbeitsbereit (Urlaub,Krank...)
8=EXTWORK		// out of the house (field service, business trip ...); außer Haus (Außendienst,Dienstreise...)
9=DND			// DoNotDisturb; bitte nicht stören
10=HOLIDAY		// Holiday; Urlaub
11=MSG			// Other Status with Message


Comments:
---------
- To use CallForward/DND, it must be supported by the TAPI driver.
- The CTI Server checks every 15 minutes, if the "PrmImport.csv" is modified (new file time) and then read-in again.
- When a status becomes active based on the start time, it is transferred to the Client. So the end time is stored by the Client.
- When such a Client status expires based on the end time, the Client restores its previous status ("Available" or Other status).


Example data:
-------------

- Mr. Schmidt is in a meeting from 2018-11-01 10:00 - 2018-11-01 11:00 and nedd call forwarding to 208 in this time.

- Mr. Mueller is on holiday from 2018-11-03 - 2018-11-18.

- Mr. Foerster makes yoga training every day from 14h - 14h50 and the phone should switch to DND for this time.


ID;Client;Status;Activity;StartTime;EndTime;Info;Caption;CallForward;SetBy
0;schmidt;6;0;2018-11-01 10:00;2018-11-01 11:00;Meeting;Caption;208;Outlook-Calendar
1;mueller;10;0;2018-11-03 00:00;2018-11-18 23:59;Holiday;Caption;;Outlook-Calendar
2;foerster;4;0;2018-11-03 14:00;2018-11-03 14:30;Yoga;Caption;dnd;Outlook-Calendar


