# Useful commands

## Contact us instead of reading the instructions

If you don't want to go into details, contact us. We will quickly help you and answer all questions!\
[Contact us](/contacts.md) in any convenient way.

## Main connector files

* Configuration file\
  `less /etc/itgrix_bx/config.json`
* Customization folder\
  `/opt/itgrix_bx/customizer/actions/`
* Current day log. Logs are stored for the last 5 days, rotation occurs around 3 o’clock in the morning.\
  `less /var/log/itgrix_bx.log`

### Useful Commands

**OS version**\
`uname -a`\
`cat /etc/redhat-release`

In some other OS\
`cat /etc/os-release`

**Checking** the connector **version** through the console\
`/opt/itgrix_bx/itgrix_bx -v`

**Reset handlers** (including c2c)\
`/opt/itgrix_bx/itgrix_bx -c`

**Connector restart**\
`service restart itgrix_bx systemctl restart itgrix_bx`

**Stop / start**\
`service itgrix_bx stop systemctl stop itgrix_bx`\
`service itgrix_bx start systemctl start itgrix_bx`

**Connector's configuration interface**\
`http://<Asterisk IP>:8077/config`\
\<Asterisk IP> - is the address of Asterisk server.\
The username and password for accessing are set when the module is installed and is written in configuration file.

**Connector update**\
`/opt/itgrix_bx/update.sh`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.itgrix.com/for-admins/useful-commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
