search for: parse_ini_file

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&quot;);<br> &nbsp;<br> // location of asterisk config files<br> $location =3D &quot;/etc/asterisk/&quot;;<br> $dirname =3D &quot;System Speed Dial&quot;;<br> &nbsp;<br> // parse speeddials.conf<br> $ssd_array =3D parse_ini_file($location.&quot;speeddials.conf&quot;, = true);<br> while ($v =3D current($ssd_array))<br> { if (isset($v['name']))<br> { $directory[] =3D &quot;&lt;Name&gt;&quot;. = $v['name'].&quot;&lt;/Name&gt;\n&quot;.<br> &nbs...