Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description of variables:

Line numberApplicationDescription
3ringbackRBT -  sets the tone for beeps.
15httpRequestPass authorization in CRM Creatio and receive cookies for further requests.
29string"Expand" the phone number for a request in  CRM Creatio.
36stringGet the value of the token from the cookie into the BPMCSRF variable.
47httpRequest  Execute the request and save the value of the number of the responsible person to the variable  "owner_caller_id_number".
133IFIf the variable is not empty then...
137bridgeCall to the responsible agent in charge for 10 seconds.
153bridgeCall the secretary's number.



Warning
title You need to change the following values ​​from the example:

urlinstead of "https: //example.bpmonline.com ....." indicate a link to your CRM Creatio;
UserName  - username with administrator rights;
UserPassword
password for this user with administrator rights.


Warning
title Important!

Please note that if the user password is changed in CRM Creatio, the new password must be specified in the request as well. Otherwise, authorization will not take place and Webitel will not be able to receive data from CRM Creatio.

...