fusionpbx/app/ring_groups
jebsolutions c2dc99bdb9 [master] fix bug #2017 ring groups broken until re-save (#2108)
test case:
Create a new ring group with one extension.
Immediately dial the ring group number.

expected result:
Phone rings.  No errors in log.

actual result:
Call terminates and log has "0" as ring_group_uuid and a sql error.
Note: editing and re-saving the ring group works around the problem

The Problem:
Line 162: non-existent variable...being checked is returned as false  = 0

Line 278: Xml gets generated with bogus zero...

Line 298: Generate a new uuid...but too late.  We already generated the xml dial plan which will be invalid until we edit and resave this ring group.

fix:
Generate uuid before generating xml
2016-11-21 21:53:56 -07:00
..
app_config.php Update app_config.php 2016-08-05 08:41:13 -06:00
app_languages.php Add German indications (#2005) 2016-11-01 11:02:21 -06:00
app_menu.php Add latest translations 2015-08-02 23:42:11 +00:00
ring_group_delete.php fix orphan v_ring_group_users after deleting ring group (#2110) 2016-11-21 13:59:12 -07:00
ring_group_destination_delete.php Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
ring_group_destination_edit.php Visual adjustments. 2015-02-15 09:20:19 +00:00
ring_group_edit.php [master] fix bug #2017 ring groups broken until re-save (#2108) 2016-11-21 21:53:56 -07:00
ring_group_forward.php Update ring_group_forward.php 2016-05-28 19:50:20 -06:00
ring_groups.php Update ring_groups.php 2016-09-29 15:34:10 -06:00
root.php Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00