'prim' mode will not ring subsequent extensions when the primary has freepbx DND enabled or is otherwise occupied. Non-prim mode strategies should ring the others and this is not happening.
This is broken in 2.2.1 and 2.3.
The fix should be the following but I need to test several modes before comitting this:
Version 2.2.1:
Index: dialparties.agi
===================================================================
--- dialparties.agi (revision 3896)
+++ dialparties.agi (working copy)
@@ -185,7 +185,7 @@
$AGI->set_variable('DIALSTATUS','BUSY');
// if this is primary set dndprimary and figure out if needed below
//
- if ($count == 0)
+ if ($count == 0 && $mastermode)
{
$dndprimary = 1;
debug("Primary extension is DND, so if mastermode, all should be dnd", 4);
And version 2.3:
Index: dialparties.agi
===================================================================
--- dialparties.agi (revision 3903)
+++ dialparties.agi (working copy)
@@ -239,12 +239,15 @@
$AGI->set_variable('DIALSTATUS','BUSY');
// if this is primary set dndprimary and figure out if needed below
//
- if ($count == 0)
+ if ($count == 0 && $mastermode)
{
$dndprimary = 1;
- $fmgrp_primaryremoved = 1;
debug("Primary extension is DND, so if mastermode, all should be dnd", 4);
}
+ if ($count == 0)
+ {
+ $fmgrp_primaryremoved = 1;
+ }
}
else
debug("Extension $k do not disturb is disabled", 3);