| Код: |
| [Oct 22 16:51:56] WARNING[2097] res_phoneprov.c: Unable to load users.conf [Oct 22 16:51:56] WARNING[2097] app_festival.c: No such configuration file festival.conf [Oct 22 16:51:56] WARNING[2097] res_snmp.c: Could not load res_snmp.conf [Oct 22 17:23:18] WARNING[2971] app_dial.c: Unable to create channel of type 'IAX2' (cause 20 - Unknown) [Oct 22 17:25:01] WARNING[3092] app_dial.c: Unable to create channel of type 'IAX2' (cause 20 - Unknown) [Oct 22 17:28:03] WARNING[3156] app_dial.c: Unable to create channel of type 'IAX2' (cause 20 - Unknown) [Oct 22 18:00:54] WARNING[3332] app_dial.c: Unable to create channel of type 'IAX2' (cause 20 - Unknown) [Oct 22 21:01:56] WARNING[3698] app_dial.c: Unable to create channel of type 'IAX2' (cause 20 - Unknown) [Oct 22 21:02:05] WARNING[3709] app_dial.c: Unable to create channel of type 'IAX2' (cause 20 - Unknown) [Oct 23 11:34:46] WARNING[2110] indications.c: Can't find indications config file indications.conf. [Oct 23 11:34:46] WARNING[2110] res_odbc.c: Unable to load config file res_odbc.conf [Oct 23 11:34:46] WARNING[2110] res_jabber.c: No such configuration file jabber.conf [Oct 23 11:34:46] WARNING[2110] res_config_pgsql.c: Unable to load config res_pgsql.conf [Oct 23 11:34:47] WARNING[2110] cdr_sqlite3_custom.c: Failed to load configuration file. Module not activated. [Oct 23 11:34:47] WARNING[2110] cel_tds.c: cel_tds module had config problems; declining load [Oct 23 11:34:47] WARNING[2110] cdr_manager.c: Failed to load configuration file. Module not activated. [Oct 23 11:34:47] WARNING[2110] cdr_adaptive_odbc.c: Unable to load cdr_adaptive_odbc.conf. No adaptive ODBC CDRs. [Oct 23 11:34:47] WARNING[2110] cdr_pgsql.c: Unable to load config for PostgreSQL CDR's: cdr_pgsql.conf [Oct 23 11:34:47] WARNING[2110] cel_pgsql.c: CEL pgsql config file missing global section. [Oct 23 11:34:47] WARNING[2110] cdr_odbc.c: cdr_odbc: Unable to load config for ODBC CDR's: cdr_odbc.conf [Oct 23 11:34:47] WARNING[2110] app_followme.c: No follow me config file (followme.conf), so no follow me [Oct 23 11:34:47] WARNING[2110] app_minivm.c: Failed to load configuration file. Module activated with default settings. [Oct 23 11:34:47] WARNING[2110] res_phoneprov.c: Unable to load users.conf [Oct 23 11:34:47] WARNING[2110] app_festival.c: No such configuration file festival.conf [Oct 23 11:34:47] WARNING[2110] res_snmp.c: Could not load res_snmp.conf |
| Код: |
| TGGW*CLI> iax2 show peers Name/Username Host Mask Port Status office/gostinni 192.168.253.90 (S) 255.255.255.255 4569 (T) OK (19 ms) 1 iax2 peers [1 online, 0 offline, 0 unmonitored] TGGW*CLI> |
Соответственно звонки не проходят. Во время попытки позвонить выскакивает
| Код: |
| app_dial.c: Unable to create channel of type 'IAX2' (cause 20 - Unknown) |
Added after 19 minutes:
Со стороны другого сервера
| Код: |
| magaz/offic 192.168.7.254 (S) 255.255.255.255 4569 (T) UNREACHABLE |
При таких логах я бы перекрестился, сказал бы "Свят-Свят" и посмотрел есть ли действительно все перечисленные конфигурационные файлы в папке /etc/asterisk
Смотрите /var/log/syslog
Так же неплохо посмотреть SMARTCTL
Спасибо.
_________________
Мы всегда можем уметь...
| Код: |
| cat syslog | grep WARNING Oct 23 11:34:46 TGGW asterisk[2110]: WARNING[2110]: indications.c:1057 in load_indications: Can't find indications config file indications.conf. Oct 23 11:34:46 TGGW asterisk[2110]: WARNING[2110]: res_odbc.c:782 in load_odbc_config: Unable to load config file res_odbc.conf Oct 23 11:34:46 TGGW asterisk[2110]: WARNING[2110]: res_jabber.c:4553 in aji_load_config: No such configuration file jabber.conf Oct 23 11:34:46 TGGW asterisk[2110]: WARNING[2110]: res_config_pgsql.c:1425 in parse_config: Unable to load config res_pgsql.conf Oct 23 11:34:47 TGGW asterisk[2110]: WARNING[2110]: cdr_sqlite3_custom.c:163 in load_config: Failed to load configuration file. Module not activated. Oct 23 11:34:47 TGGW asterisk[2110]: WARNING[2110]: cel_tds.c:557 in load_module: cel_tds module had config problems; declining load Oct 23 11:34:47 TGGW asterisk[2110]: WARNING[2110]: cdr_manager.c:79 in load_config: Failed to load configuration file. Module not activated. Oct 23 11:34:47 TGGW asterisk[2110]: WARNING[2110]: cdr_adaptive_odbc.c:100 in load_config: Unable to load cdr_adaptive_odbc.conf. No adaptive ODBC CDRs. Oct 23 11:34:47 TGGW asterisk[2110]: WARNING[2110]: cdr_pgsql.c:379 in config_module: Unable to load config for PostgreSQL CDR's: cdr_pgsql.conf Oct 23 11:34:47 TGGW asterisk[2110]: WARNING[2110]: cel_pgsql.c:390 in process_my_load_module: CEL pgsql config file missing global section. Oct 23 11:34:47 TGGW asterisk[2110]: WARNING[2110]: cdr_odbc.c:178 in odbc_load_module: cdr_odbc: Unable to load config for ODBC CDR's: cdr_odbc.conf Oct 23 11:34:47 TGGW asterisk[2110]: WARNING[2110]: app_followme.c:340 in reload_followme: No follow me config file (followme.conf), so no follow me Oct 23 11:34:47 TGGW asterisk[2110]: WARNING[2110]: app_minivm.c:2876 in load_config: Failed to load configuration file. Module activated with default settings. Oct 23 11:34:47 TGGW asterisk[2110]: WARNING[2110]: res_phoneprov.c:922 in set_config: Unable to load users.conf Oct 23 11:34:47 TGGW asterisk[2110]: WARNING[2110]: app_festival.c:544 in load_module: No such configuration file festival.conf Oct 23 11:34:47 TGGW asterisk[2110]: WARNING[2110]: res_snmp.c:57 in load_config: Could not load res_snmp.conf Oct 23 13:40:13 TGGW asterisk[3641]: WARNING[3641]: indications.c:1057 in load_indications: Can't find indications config file indications.conf. Oct 23 13:40:13 TGGW asterisk[3641]: WARNING[3641]: res_odbc.c:782 in load_odbc_config: Unable to load config file res_odbc.conf Oct 23 13:40:13 TGGW asterisk[3641]: WARNING[3641]: res_jabber.c:4553 in aji_load_config: No such configuration file jabber.conf Oct 23 13:40:13 TGGW asterisk[3641]: WARNING[3641]: res_config_pgsql.c:1425 in parse_config: Unable to load config res_pgsql.conf Oct 23 13:40:13 TGGW asterisk[3641]: WARNING[3641]: cdr_sqlite3_custom.c:163 in load_config: Failed to load configuration file. Module not activated. Oct 23 13:40:13 TGGW asterisk[3641]: WARNING[3641]: cel_tds.c:557 in load_module: cel_tds module had config problems; declining load Oct 23 13:40:13 TGGW asterisk[3641]: WARNING[3641]: cdr_manager.c:79 in load_config: Failed to load configuration file. Module not activated. Oct 23 13:40:13 TGGW asterisk[3641]: WARNING[3641]: cdr_adaptive_odbc.c:100 in load_config: Unable to load cdr_adaptive_odbc.conf. No adaptive ODBC CDRs. Oct 23 13:40:13 TGGW asterisk[3641]: WARNING[3641]: cdr_pgsql.c:379 in config_module: Unable to load config for PostgreSQL CDR's: cdr_pgsql.conf Oct 23 13:40:13 TGGW asterisk[3641]: WARNING[3641]: cel_pgsql.c:390 in process_my_load_module: CEL pgsql config file missing global section. Oct 23 13:40:13 TGGW asterisk[3641]: WARNING[3641]: cdr_odbc.c:178 in odbc_load_module: cdr_odbc: Unable to load config for ODBC CDR's: cdr_odbc.conf Oct 23 13:40:13 TGGW asterisk[3641]: WARNING[3641]: app_followme.c:340 in reload_followme: No follow me config file (followme.conf), so no follow me Oct 23 13:40:13 TGGW asterisk[3641]: WARNING[3641]: app_minivm.c:2876 in load_config: Failed to load configuration file. Module activated with default settings. Oct 23 13:40:13 TGGW asterisk[3641]: WARNING[3641]: res_phoneprov.c:922 in set_config: Unable to load users.conf Oct 23 13:40:13 TGGW asterisk[3641]: WARNING[3641]: app_festival.c:544 in load_module: No such configuration file festival.conf Oct 23 13:40:13 TGGW asterisk[3641]: WARNING[3641]: res_snmp.c:57 in load_config: Could not load res_snmp.conf |
Added after 1 minutes:
Я так понимаю, по русски это как "Ничего у тебя не работает" ?
А вот клиенты по SIP вроде как регятся..
на иакс это не влийяет, смотрите (на обеих машинах):
iax2 show peers
iax2 show registry
iax2 set debug on
iax2 show peers
| Код: |
| *CLI> iax2 show peers Name/Username Host Mask Port Status makarenko/offic 192.168.8.254 (S) 255.255.255.255 4569 (T) UNREACHABLE sh/sh 192.168.253.3 (S) 255.255.255.255 4569 UNREACHABLE gostinniy/offic 192.168.7.254 (S) 255.255.255.255 4569 (T) UNREACHABLE sunlink/tutanho 87.244.0.21 (S) 255.255.255.255 4569 (T) OK (2 ms) sovetskaya/offi 192.168.6.254 (S) 255.255.255.255 4569 (T) OK (2 ms) intersity/offic 192.168.4.254 (S) 255.255.255.255 4569 (T) OK (2 ms) oktyabrskaya/of 192.168.2.254 (S) 255.255.255.255 4569 (T) OK (2 ms) lenina/office 192.168.5.254 (S) 255.255.255.255 4569 (T) OK (13 ms) 8 iax2 peers [5 online, 3 offline, 0 unmonitored] |
| Код: |
| *CLI> iax2 show registry Host dnsmgr Username Perceived Refresh State 0 IAX2 registrations. |
В том магазине где ничего не работает
| Код: |
| *CLI> iax2 show peers Name/Username Host Mask Port Status office/gostinni 192.168.253.90 (S) 255.255.255.255 4569 (T) OK (17 ms) 1 iax2 peers [1 online, 0 offline, 0 unmonitored] |
*192.168.253.90 - как раз центральная атс. Получается у них связь-то установленна?
| Код: |
| *CLI> iax2 show registry Host dnsmgr Username Perceived Refresh State 0 IAX2 registrations. |
| Код: |
| gostinniy/offic 192.168.7.254 (S) 255.255.255.255 4569 (T) UNREACHABLE office/gostinni 192.168.253.90 (S) 255.255.255.255 4569 (T) OK (17 ms) |
и еще, включите дебаг на обеих машинах, звоните туда и обратно и смотрите на логи.
| Код: |
| Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00005ms SCall: 05302 DCall: 00000 [192.168.7.254:4569] Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00005ms SCall: 05302 DCall: 00000 [192.168.7.254:4569] |
С магазина
| Код: |
| Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00003ms SCall: 12031 DCall: 00000 [192.168.253.90:1976] Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG Timestamp: 00003ms SCall: 00001 DCall: 12031 [192.168.253.90:1976] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00003ms SCall: 12031 DCall: 00000 [192.168.253.90:1976] Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG Timestamp: 00003ms SCall: 00001 DCall: 12031 [192.168.253.90:1976] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00002ms SCall: 06078 DCall: 00000 [192.168.253.90:1976] Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG Timestamp: 00002ms SCall: 00001 DCall: 06078 [192.168.253.90:1976] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00002ms SCall: 06078 DCall: 00000 [192.168.253.90:1976] Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG Timestamp: 00002ms SCall: 00001 DCall: 06078 [192.168.253.90:1976] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00002ms SCall: 06761 DCall: 00000 [192.168.253.90:1976] Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG Timestamp: 00002ms SCall: 00001 DCall: 06761 [192.168.253.90:1976] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00002ms SCall: 06761 DCall: 00000 [192.168.253.90:1976] Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG Timestamp: 00002ms SCall: 00001 DCall: 06761 [192.168.253.90:1976] Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00011ms SCall: 00315 DCall: 00000 [192.168.253.90:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG Timestamp: 00011ms SCall: 00001 DCall: 00315 [192.168.253.90:4569] Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 00011ms SCall: 00315 DCall: 00001 [192.168.253.90:4569] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00001ms SCall: 10772 DCall: 00000 [192.168.253.90:1976] Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG Timestamp: 00001ms SCall: 00001 DCall: 10772 [192.168.253.90:1976] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00001ms SCall: 10772 DCall: 00000 [192.168.253.90:1976] Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG Timestamp: 00001ms SCall: 00001 DCall: 10772 [192.168.253.90:1976] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00002ms SCall: 08057 DCall: 00000 [192.168.253.90:1976] Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG Timestamp: 00002ms SCall: 00001 DCall: 08057 [192.168.253.90:1976] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00002ms SCall: 08057 DCall: 00000 [192.168.253.90:1976] Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG Timestamp: 00002ms SCall: 00001 DCall: 08057 [192.168.253.90:1976] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00001ms SCall: 03688 DCall: 00000 [192.168.253.90:1976] Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG Timestamp: 00001ms SCall: 00001 DCall: 03688 [192.168.253.90:1976] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00001ms SCall: 03688 DCall: 00000 [192.168.253.90:1976] Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG Timestamp: 00001ms SCall: 00001 DCall: 03688 [192.168.253.90:1976] Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00010ms SCall: 00857 DCall: 00000 [192.168.253.90:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG Timestamp: 00010ms SCall: 00001 DCall: 00857 [192.168.253.90:4569] Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 00010ms SCall: 00857 DCall: 00001 [192.168.253.90:4569] |