<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello<br>
<br>
i confirm that once enabled, xml files generations still working
for me with fusionpbx 4.2, i don't advise an older version.<br>
<br>
Fusionpbx uses sessions variables to store theses parameters, like
$_SESSION['switch']['dialplan']['dir'] <br>
<br>
resources/switch.php<br>
685 //if dialplan dir exists then build and save the
dialplan xml<br>
686 if
(is_dir($_SESSION['switch']['dialplan']['dir'])) {<br>
687 $sql = "select * from v_dialplans ";<br>
688 $sql .= "where dialplan_enabled = 'true' ";<br>
689 $prep_statement =
$db->prepare(check_sql($sql));<br>
690 if ($prep_statement) {<br>
691 $prep_statement->execute();<br>
692 $result =
$prep_statement->fetchAll(PDO::FETCH_ASSOC);<br>
693 foreach ($result as &$row) {<br>
<br>
<br>
I don't know when the $_SESSION array is updated. I think you may
logout from fusionpbx, reconnect and try again. If it stil not
work try to add a dirty print_r($_SESSION) in your page to debug
this array contents.<br>
<br>
<br>
<img src="cid:part1.FADA7324.4772E7BE@vfemail.net" alt=""><br>
<br>
On 21/10/2016 14:18, John Covici wrote:<br>
</div>
<blockquote cite="mid:m3zilxx5d2.wl-covici@ccs.covici.com"
type="cite">
<pre wrap="">Older versions of fusionpbx did write xml and that made it easier to
customize a bit, so if you really want that, go back in the svn to an
older one, not sure just when they stopped writing to xml, but I
thought there was a setting maybe look in the settings.
On Fri, 21 Oct 2016 08:05:15 -0400,
David Villasmil wrote:
</pre>
</blockquote>
<br>
</body>
</html>