Ticket #1664 (closed Patches: fixed)

Opened 6 years ago

Last modified 6 years ago

Patch for Queue Blocking voicemail even for the voice menu options

Reported by: naftali5 Assigned to: phillipel
Priority: blocker Milestone: 2.2
Component: IVR Version: 2.2
Keywords: Cc:
Confirmation: Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

the only way i see how to solve this problem, yet maintain the new BLKVM functionality is to unlock the block on each IVR option. so this patch is for IVR.

Index: functions.inc.php
===================================================================
--- functions.inc.php   (revision 3562)
+++ functions.inc.php   (working copy)
@@ -165,6 +165,8 @@
                                                foreach($dests as $dest) {
                                                        if ($dest['selection'] == 't') $timeout=true;
                                                        if ($dest['selection'] == 'i') $invalid=true;
+                                                       $ext->add($id, $dest['selection'],'', new ext_dbdel('${BLKVM_OVERRIDE}'));
+                                                       $ext->add($id, $dest['selection'],'', new ext_setvar('__NODEST', ''));
                                                        $ext->add($id, $dest['selection'],'', new ext_goto($dest['dest']));
                                                }
                                        }

choosing major, because I had my queue set up to a voice menu of "dial 1 to leave a message or continue holding" and didn't even know that they could not leave a message!!! Milestone 2.2 because this is a module only patch and can get out right away.

Change History

01/10/07 06:54:45 changed by mbrevda

Thanks. works great. fixed: http://www.freepbx.org/trac/ticket/1651

01/10/07 11:10:49 changed by mbrevda

if it works this is probably a better patch in the long run: http://freepbx.org/trac/changeset/3318

01/10/07 13:06:54 changed by naftali5

Sorry, that one is applied already, and does nothing to fix this problem. I am considerably sure that mine is the only way of fixing this problem without losing functionality.

by the way... you can just type #1651 or r3318 and trac does the rest for you, including keeping trck of the status and displaying the description.

01/10/07 15:49:42 changed by gregmac

  • owner set to phillipel.
  • priority changed from major to blocker.

01/10/07 22:35:09 changed by p_lindheimer

  • engine set to Asterisk <1.2.
  • status changed from new to closed.
  • resolution set to fixed.
  • engine_version changed.
  • svn_rev changed.

patch applied in r3564, r3565, r3566