Files
fusionpbx/app
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
..
2016-10-22 21:26:39 -06:00
2016-11-11 13:55:11 -07:00
2016-10-14 08:32:15 -06:00
2016-08-04 20:00:23 -06:00
2016-10-23 10:58:51 -06:00
2016-11-20 14:01:59 -07:00
2016-10-22 23:34:26 -06:00
2016-11-11 13:19:52 -07:00
2016-10-22 22:44:01 -06:00
2016-10-23 10:44:35 -06:00
2016-04-25 20:30:23 -05:00
2016-05-26 13:08:53 -06:00
2016-08-22 20:04:23 -06:00
2016-08-13 14:09:02 -06:00
2016-06-22 13:49:54 -06:00
2016-11-12 20:48:16 -07:00
2016-09-22 19:25:43 -06:00
2016-10-23 13:00:31 -06:00
2016-09-08 17:27:34 -06:00
2016-05-23 21:37:21 -06:00
2016-06-30 14:51:56 -06:00
2016-07-27 22:26:02 -06:00
2016-10-22 22:36:16 -06:00
2016-09-03 20:32:19 -06:00
2016-10-14 09:18:42 -06:00
2016-10-25 18:06:34 -06:00