If for some reason the Itgrix module has been disabled, or if during the first installation there is a desire to process already passed calls, you can use a special request /pbx/read_call in the API of the Itgrix module. It can be used to trigger the processing of certain calls.
For example, you can make a query using curl (here <Asterisk> is the address of the server where the Itgrix module is installed, login:password is the login:password for the integration module's admin panel):
specify the start_date and (optionally) end_date (in this case the module finds all CEL records in the specified dates and processes calls by ID) (in this case the module finds all CEL records in the specified dates, takes linkedid from them and processes calls by ID).
The period's boundaries are defined by the start_date and end_date . The end_date parameter is optional; that is, it does not have to be specified, in which case the module will process all calls starting from the start_date.
Parameters can be specified in three ways:
Date and time inYYYY-MM-DD hh:mm:ssformat . When sending a GET request with this parameter, you must replace the space with the special sequence %20 when sending a POST request with parameters in JSON format, this is not required. For example, let's process the calls from May 25, 2021, from 10:30 a.m. to 10:00 p.m.:
Timestamp in UNIX time format (can be obtained from the call ID - it is the number before the decimal point; for example, in the call 1267568856.11, the number 1267568856 is the timestamp). For example, let's process calls from May 27, 2021, at 06:01:59 GMT, i.e., UNIX time 1622138519: