Interaction ... Callback / Business Card / Call History via the icons.
Interaction ... Create callback / contact with phone number via the icons.
We have to set up the task in your telephone system to inform brand's mill of incoming calls. The aim is to transfer the parameters (as described below) to brand's mill's web service API. Essentially, this is a USER ID from brand's mill that is assigned to the subscriber of the corresponding extension in the telephone system, as well as the calling telephone number.
1. TENANT see client
1.1. TENANT SECURE TOKEN see client
2. USER ID see employee
2.2. SECURE TOKEN see employee
3. CALLER PHONE NUMBER Telephone number of the incoming call.
If your phone has an Action URI Configuration, the call looks like this:
Placeholder for theCALLER-PHONE-NUMBER using a Mitel Phone Administration: $$REMOTENUMBER$$
If your phone can report incoming calls via a program call - the call looks like this:
The required program BrandsMillCallForYou.jar please via the following link DOWNLOAD
The API under the address https://www.brandsmill.com/api expect a JSON string.
String clientID = "?"; // TENANT
String userID = "?"; // USER ID
String usertoken = "?"; // USER SECURE TOKEN
String tel = "?"; // CALLER PHONE NUMBER
/* (3) URL API */
String stringURL = "https://www.brandsmill.de/api";
/* (4) FORM FIELDS */
String formFieldsJSONarrayPart = "{\"telfrom\":\"" + tel + "\"}";
String formDataJSON = "{\"client\":\"" + clientID + "\",\"user\":\"" + userID + "\",\"token\":\"" + usertoken + "\",\"incomming\":[" + formFieldsJSONarrayPart + "]}";
try {
URL url = new URL(stringURL);
....