fusionpbx/resources/install/scripts
nostikj 72f2dbab31 Corrects some cases where dialplan conditions were not fully handled (#1850)
* Remove unsed variable

* Fix cases where time condition are lost

When processing a new condition statement and condition_tag_status == "open",
then there has been a previous condition statement that is in one of three
possible states:
  (1) a previous condition of type default has been saved into the
      'condition' string and will need to be output as XML with either '>' or '/>'
  (2) one or more time conditions have been saved into the
      'condition_attribute' string.  More time conditions may be added.
      After the last time condition it will need to be output as XML with either '>' or '/>'
  (3) a previous <condition ....> start tag has already been output as XML
      and needs to be closed with a </condition> statement.

The change here checks for all three above situations at the places where
pending condition statements need to be finalized.

Note that when processing condition new statements and we are finalizing
a previous time condition, the XML statement uses the 'condition_break'
value from the previous loop, therefore setting condition_break for the
new condition must be after previous conditions are finalized.

At the start of each new extension, initialize 'condition' and
'condition_attribute'.

* Remove unused variables

* Indent one block to match surrounding code at same level

* Prevent two dialplans uuids being merged into single extension

If a dialplan manager entry ended with an action statement NOT inside
a condition, the generated XML would combine this dialplan uuid with the next
uuid by not closing and reopening a new extension.  This change ensures
each dialplan uuid is enclosed in it own <extension></extension>.
2016-08-25 08:50:54 -06:00
..
app Corrects some cases where dialplan conditions were not fully handled (#1850) 2016-08-25 08:50:54 -06:00
resources Fixed scripts to get multiserver memcache working (#1795) 2016-08-04 11:40:36 -06:00
app.lua Revert "Revert "Change. Use `require "resources.functions.config"` to load co…" 2015-08-11 05:06:33 +03:00
call_flow.lua Update call_flow.lua 2016-06-12 14:14:52 -06:00
call_flow_monitor.lua Fix. `call_flow_monitor` use new field call_flow_alternate_label instead old `call_flow_anti_label` (#1730) 2016-07-04 09:32:22 -06:00
call_flow_subscribe.lua Change. Use `service::control` event to control services (#1790) 2016-08-02 14:00:49 -06:00
call_forward.lua Update call_forward.lua 2016-08-21 14:30:35 -06:00
cidlookup.lua WhitespaceClean-resources/install/scripts 2016-03-11 13:21:52 +00:00
confirm.lua Fix. Include config file. 2015-08-11 14:40:02 +04:00
destination_caller_id.lua Revert "Revert "Change. Use `require "resources.functions.config"` to load co…" 2015-08-11 05:06:33 +03:00
dial_string.lua Revert "Revert "Change. Use `require "resources.functions.config"` to load co…" 2015-08-11 05:06:33 +03:00
directory.lua Update directory.lua 2016-07-22 11:48:29 -06:00
disa.callback.loopback.lua WhitespaceClean-resources/install/scripts 2016-03-11 13:21:52 +00:00
disa.callback.lua WhitespaceClean-resources/install/scripts 2016-03-11 13:21:52 +00:00
disa.lua Update the disa.lua to prevent errors when caller hangs up before the destination is called. 2016-03-23 11:42:20 -06:00
disa.plus.lua WhitespaceClean-resources/install/scripts 2016-03-11 13:21:52 +00:00
do_not_disturb.lua Show when we are clearing the cache for *78 or *79. 2016-01-12 19:34:57 -07:00
eavesdrop.lua Remove an extra line and change the console message. 2015-08-14 09:47:00 -06:00
email.lua Wrong variable in freeswitch.email 2016-02-24 19:59:54 -05:00
extension_queue.lua WhitespaceClean-resources/install/scripts 2016-03-11 13:21:52 +00:00
fax_retry.lua WhitespaceClean-resources/install/scripts 2016-03-11 13:21:52 +00:00
fifo_member.lua After removing domain name from the default recordings dir path need to add the domain name every where the recordings directory is currently used. 2015-12-06 13:37:35 -07:00
follow_me.lua Update follow_me.lua 2015-11-05 18:02:08 +03:00
ha_monitor.lua Fixed scripts to get multiserver memcache working (#1795) 2016-08-04 11:40:36 -06:00
intercept.lua Update intercept.lua 2016-05-12 23:06:45 -06:00
intercept_group.lua Add. optional intercept only inbound/outbound calls. 2016-04-18 16:06:27 +03:00
ivr_menu.lua WhitespaceClean-resources/install/scripts 2016-03-11 13:21:52 +00:00
mkdir.lua Fix. `event_socket_mkdir` for Windows system. (#1724) 2016-06-30 08:11:52 -06:00
monitor.lua Revert "Revert "Change. Use `require "resources.functions.config"` to load co…" 2015-08-11 05:06:33 +03:00
page.lua Update page.lua 2016-07-06 14:48:00 -06:00
park.lua Revert "Revert "Change. Use `require "resources.functions.config"` to load co…" 2015-08-11 05:06:33 +03:00
park_monitor.lua Revert "Revert "Change. Use `require "resources.functions.config"` to load co…" 2015-08-11 05:06:33 +03:00
pin_number.lua Add sip_h_X- prefix to the accountcode in pin_number.lua. 2016-06-22 15:05:33 -06:00
recordings.lua Add record_ext to the recordings.lua. 2015-12-23 12:02:14 -07:00
roku.lua svn diff 2014-07-31 08:40:15 +00:00
service Change. Use `service::control` event to control services (#1790) 2016-08-02 14:00:49 -06:00
streamfile.lua BugFix-Support spaces in streamfile.lua (#1811) 2016-08-13 08:59:37 -06:00
wakeup.lua Revert "Revert "Change. Use `require "resources.functions.config"` to load co…" 2015-08-11 05:06:33 +03:00