Displaying 5 results from an estimated 5 matches for "parse_ini_file".
2020 Jul 31
1
pgbouncer.pid Permissions on CentOS 7
I?ve installed pgbouncer on CentOS7 and it?s reliant upon a .pid file:
2020-07-31 04:58:34.082 EDT [3682] DEBUG parse_ini_file: 'logfile' = '/var/log/pgbouncer/pgbouncer.log'
2020-07-31 04:58:34.082 EDT [3682] DEBUG parse_ini_file: 'logfile' = '/var/log/pgbouncer/pgbouncer.log' ok:1
2020-07-31 04:58:34.082 EDT [3682] DEBUG parse_ini_file: 'pidfile' = '/var/run/pgbouncer/pgbou...
2008 Jan 25
0
Script for seeding polycom phones with an extension directory
...tname >
/home/polycom/000000000000-directory.xml.
<?
header("Content-type: text/xml");
header("Connection: close");
header("Expires: -1");
// location of asterisk config files
$location = "/etc/asterisk/";
// parse sip.conf
$sip_array = parse_ini_file($location."sip.conf", true);
while ($v = current($sip_array))
{ if (isset($v['name']))
{ $directory[] = "<fn>". $v['name']."</fn>\n".
"<ct>".key($sip_array)."</ct>\n";
}
next($sip_array);
}
sort...
2007 Jul 12
0
No subject
...hp.txt
<?
header("Content-type: text/xml");
header("Connection: close");
header("Expires: -1");
=20
// location of asterisk config files
$location =3D "/etc/asterisk/";
$dirname =3D "System Speed Dial";
=20
// parse speeddials.conf
$ssd_array =3D parse_ini_file($location."speeddials.conf", true);
while ($v =3D current($ssd_array))
{ if (isset($v['name']))
{ $directory[] =3D "<Name>". $v['name']."</Name>\n".
"<Telephone>".key($ssd_array)."</Telephone>\n";
}
next($...
2005 Jan 24
1
.call file creation
I am curious partly because it has occurred randomly in my asterisk
system. How does one go about creating a .call file for placing a call
between two extensions/phones? I know this has been mentioned and is
probably in one of the wikis somewhere, but I am unsure exactally how to
go about doing it. Can anyone point me in the right direction.
Dan
2007 Jul 12
0
No subject
...quot;Expires: -1");<br>
<br>
// location of asterisk config files<br>
$location =3D "/etc/asterisk/";<br>
$dirname =3D "System Speed Dial";<br>
<br>
// parse speeddials.conf<br>
$ssd_array =3D parse_ini_file($location."speeddials.conf", =
true);<br>
while ($v =3D current($ssd_array))<br>
{ if (isset($v['name']))<br>
{ $directory[] =3D "<Name>". =
$v['name']."</Name>\n".<br>
&nbs...