# Asterisk Integration Policy

When developing the product, we adhered to the principle of not interfering with the client’s Asterisk configuration.

This means that when implementing our product:

* The dialplan doesn't change: all call routes remain the same;
* The settings for Extensions or Trunks remain unchanged;
* There are no requirements regarding the stream encoding scheme;
* The structure of the tables in your database does not change; the module does not generate any new data.

This policy allows us to ensure that your PBX continues to operate according to your settings, following the same rules and maintaining the same level of quality as before our solution was installed.

The module works with Asterisk:

1. Using simple read queries on your database (you can restrict access as needed);
2. Using ORIGINATE requests via AMI by the user you created in manager.conf with the parameters specified in the application configuration file;
3. A number of other read requests to Asterisk that do not affect calls;
4. If you need automatic call routing, you can modify your dialplan yourself; Asterisk will then send requests to our application to determine which agent should handle the call (no actions can take place without your approval).
