cdr odbc mysql
Есть настроенный коннект в mysql через odbc. Логи складываются,выполняются func_odbc функции, все хорошо. Но как только захожу в консоль и говорю:
*CLI> odbc show all
ODBC DSN Settings
-----------------
Name: asterisk
DSN: mysql-asterisk
Pooled: Yes
Limit: 50
Connections in use: 54
- Connection 1: connected
- Connection 2: connected
- Connection 3: connected
- Connection 4: connected
- Connection 5: connected
- Connection 6: connected
- Connection 7: connected
- Connection 8: connected
- Connection 9: connected
- Connection 10: connected
- Connection 11: connected
- Connection 12: connected
- Connection 13: connected
- Connection 14: connected
- Connection 15: connected
- Connection 16: connected
- Connection 17: connected
- Connection 18: connected
- Connection 19: connected
- Connection 20: connected
- Connection 21: connected
- Connection 22: connected
- Connection 23: connected
- Connection 24: connected
- Connection 25: connected
- Connection 26: connected
- Connection 27: connected
- Connection 28: connected
- Connection 29: connected
- Connection 30: connected
- Connection 31: connected
- Connection 32: connected
- Connection 33: connected
- Connection 34: connected
- Connection 35: connected
- Connection 36: connected
- Connection 37: connected
- Connection 38: connected
- Connection 39: connected
- Connection 40: connected
- Connection 41: connected
- Connection 42: connected
- Connection 43: connected
- Connection 44: connected
- Connection 45: connected
- Connection 46: connected
- Connection 47: connected
- Connection 48: connected
- Connection 49: connected
- Connection 50: connected
- Connection 51: connected
- Connection 52: connected
- Connection 53: connected
- Connection 54: connected
[Sep 21 12:22:49] WARNING[21491]: res_odbc.c:723 ast_odbc_sanity_check: Connection is down attempting to reconnect... <- вот таких мессаг по количеству коннектов
[Sep 21 12:22:49] NOTICE[21491]: res_odbc.c:1427 odbc_obj_connect: Connecting asterisk
[Sep 21 12:22:49] NOTICE[21491]: res_odbc.c:1455 odbc_obj_connect: res_odbc: Connected to asterisk [mysql-asterisk]
...
Вопросы:
1. Почему он мне реконнектит все коннекшены, если у меня все пишется ?
2. Почему он вышел за границу ?
|