iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
RUN cp -r /etc/exim4/ /etc/exim4_tmp/
[2024-04-11 08:43:08] WARNING[2587]: chan_sip.c:4167 retrans_pkt: Hanging up call SDfs6f101-cb91d337b6572b63d41abb7e7504791f000@127.0.0.1 - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Ret...).
[2024-04-11 08:27:20] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 1717 sip:1717@91.197.190.62' failed for '188.165.1.202:5147' - Wrong password
[2024-04-11 08:27:22] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 1472 sip:1472@91.197.190.62' failed for '188.165.1.202:5150' - Wrong password
[2024-04-11 08:27:31] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 406 sip:406@91.197.190.62' failed for '188.165.1.202:5091' - Wrong password
[2024-04-11 08:27:33] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 1313 sip:1313@91.197.190.62' failed for '188.165.1.202:5171' - Wrong password
[2024-04-11 08:27:35] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 3883 sip:3883@91.197.190.62' failed for '188.165.1.202:5091' - Wrong password
[2024-04-11 08:27:37] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 167 sip:167@91.197.190.62' failed for '188.165.1.202:5132' - Wrong password
[2024-04-11 08:27:42] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 646 sip:646@91.197.190.62' failed for '188.165.1.202:5078' - Wrong password
[2024-04-11 08:27:43] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 3026 sip:3026@91.197.190.62' failed for '188.165.1.202:5140' - Wrong password
[2024-04-11 08:27:54] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 4286 sip:4286@91.197.190.62' failed for '188.165.1.202:5141' - Wrong password
[2024-04-11 08:27:55] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 606 sip:606@91.197.190.62' failed for '188.165.1.202:5128' - Wrong password
[2024-04-11 08:27:55] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 6819 sip:6819@91.197.190.62' failed for '188.165.1.202:5164' - Wrong password
[2024-04-11 08:27:56] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 8133 sip:8133@91.197.190.62' failed for '188.165.1.202:5111' - Wrong password
[2024-04-11 08:27:56] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 252 sip:252@91.197.190.62' failed for '188.165.1.202:5159' - Wrong password
[2024-04-11 08:28:01] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 2759 sip:2759@91.197.190.62' failed for '188.165.1.202:5064' - Wrong password
[2024-04-11 08:28:01] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 330 sip:330@91.197.190.62' failed for '188.165.1.202:5063' - Wrong password
[2024-04-11 08:28:02] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 5966 sip:5966@91.197.190.62' failed for '188.165.1.202:5104' - Wrong password
[2024-04-11 08:28:06] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 90 sip:90@91.197.190.62' failed for '188.165.1.202:5141' - Wrong password
[2024-04-11 08:28:12] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 2903 sip:2903@91.197.190.62' failed for '188.165.1.202:5172' - Wrong password
[2024-04-11 08:28:15] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 126 sip:126@91.197.190.62' failed for '188.165.1.202:5146' - Wrong password
[2024-04-11 08:28:17] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 2448 sip:2448@91.197.190.62' failed for '188.165.1.202:5178' - Wrong password
[2024-04-11 08:28:18] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 1381 sip:1381@91.197.190.62' failed for '188.165.1.202:5158' - Wrong password
[2024-04-11 08:28:19] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 966 sip:966@91.197.190.62' failed for '188.165.1.202:5169' - Wrong password
[2024-04-11 08:28:20] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 4712 sip:4712@91.197.190.62' failed for '188.165.1.202:5131' - Wrong password
[2024-04-11 08:28:21] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 766 sip:766@91.197.190.62' failed for '188.165.1.202:5172' - Wrong password
[2024-04-11 08:28:22] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 1562 sip:1562@91.197.190.62' failed for '188.165.1.202:5156' - Wrong password
[2024-04-11 08:28:27] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 373 sip:373@91.197.190.62' failed for '188.165.1.202:5178' - Wrong password
[2024-04-11 08:28:35] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 1050 sip:1050@91.197.190.62' failed for '188.165.1.202:5091' - Wrong password
[2024-04-11 08:28:36] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 7243 sip:7243@91.197.190.62' failed for '188.165.1.202:5114' - Wrong password
[2024-04-11 08:28:37] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 734 sip:734@91.197.190.62' failed for '188.165.1.202:5105' - Wrong password
[2024-04-11 08:28:38] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 134 sip:134@91.197.190.62' failed for '188.165.1.202:5082' - Wrong password
[2024-04-11 08:28:39] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 2339 sip:2339@91.197.190.62' failed for '188.165.1.202:5149' - Wrong password
[2024-04-11 08:28:47] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 571 sip:571@91.197.190.62' failed for '188.165.1.202:5125' - Wrong password
[2024-04-11 08:28:48] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 2228 sip:2228@91.197.190.62' failed for '188.165.1.202:5113' - Wrong password
[2024-04-11 08:28:49] NOTICE[2587]: chan_sip.c:29044 handle_request_register: Registration from 1986 sip:1986@91.197.190.62' failed for '188.165.1.202:5166' - Wrong password
Какой тип регистрачии транка?
Не забыл указать список локальных сетей?
Уверен что регистрация транка всегда идет через один и тот же внешний адрес?
$ldaphost = "10.10.10.10";
$ldapport = '389';
$login = "openfire";
$password = "P@ssw0rd";
$base = "DC=myDomain, DC=local";
$ldap = ldap_connect($ldaphost, $ldapport) or die('Connection to LDAP failed!');
$filter="(sAMAccountName=$username)";
$array = array("telephoneNumber", "otherTelephone", "givenname", "mail");
ldap_set_option($ldap, LDAP_OPT_PROTOCOL_VERSION, 3);
$bind = ldap_bind($ldap,$login,$password) or die('Invalid credentials');
if($ldap && $bind){
$result = ldap_search($ldap,$base,$filter,$array) or die('Unable to search LDAP server');
}
А по второму вопросу не подскажете? устройство внутри организации получает адрес 10.3.х.х и при попытке подключиться по впн клиент говорит:
"Не удалось подключиться к серверу. Проверьте, имеется ли доступ к интернету и уточните адрес сервера."
Прокси отсутствует, доступ в интернет есть, внешний адрес dns пингуется.