chown -R asterisk:asterisk /var/lib/asterisk/sounds/ru/
port 2194
proto tcp
dev tun
ca privnet/ca.crt
cert privnet/server.crt
key privnet/server.key
dh privnet/dh1024.pem
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
verb 5
log-append /var/log/openvpn.log
duplicate-cn
client
dev tun
dev-type tun
proto tcp
remote 213.XYZ.ABC.DEF 2194
resolv-retry infinite
nobind
persist-key
persist-tun
ca /config/openvpn/keys/ca.crt
cert /config/openvpn/keys/client2.crt
key /config/openvpn/keys/client2.key
;ns-cert-type server
;tls-auth ta.key 1
;cipher x
comp-lzo
verb 3
$EXTEN = "102";
//Getting a list of voicemail numbers
${dir} = "/var/spool/asterisk/voicemail/default/${EXTEN}/INBOX";
//File List
$cur_dir = scandir(${dir});
$filelist = array();
//File list *.txt
foreach($cur_dir as $entry) {
if (strrpos("${entry}", ".txt") == 7) {
$filelist[] = "$entry";
}
}
//List Numbers Voicemail
foreach($filelist as $vm_file) {
$cur_array = parse_ini_file("${dir}/${vm_file}");
$cid = substr("$cur_array[callerid]", -12, -1);
print_r($cid);
print_r("<br>");
}
addresses
(sequence of scalars and mappings)
Add static addresses to the interface in addition to the ones received
through DHCP or RA. Each sequence entry is in CIDR notation, i. e. of the
form addr/prefixlen. addr is an IPv4 or IPv6 address as recognized
by inet_pton(3) and prefixlen the number of bits of the subnet.
mysql> SHOW CREATE TABLE oper_survey;
+-------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Table | Create Table |
+-------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| oper_survey | CREATE TABLE `oper_survey` (
`num` varchar(20) DEFAULT NULL,
`operator` varchar(20) DEFAULT NULL,
`queue` varchar(20) DEFAULT NULL,
`valuation` varchar(20) DEFAULT NULL,
`date` datetime DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 |
+-------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
Тут нам так же поможет утилита puttygen. Извлекаем приватный ключ:
puttygen putty_key_ed25519.ppk -O private-openssh -o openssh_key_ed25519