Ticket #1976 (closed Bugs: fixed)

Opened 6 years ago

Last modified 6 years ago

Voicemail Issue

Reported by: schmooze Assigned to:
Priority: minor Milestone: 2.2
Component: Voicemail Version: 2.2.1
Keywords: Cc:
Confirmation: Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description (Last modified by p_lindheimer)

I noticed a glitch on the voicemail setting on FreePBX. A customer called us and said that they could not acces there voicemail that everytime that they entered the password it said invalid password. I did some digging and found out that when they were in there confereance room phone which is a Polycom 501 they would press the message button which would dial *97. Since the Conf phones does not have a voicemail box it would ask for the voicemail box number which they would add and then ask for the password but it would never work. I explained to them that they need to dial *98 which they replied was stupid. I guess I kind of agreed with them and wrote the following code which works great. My only problem is it keeps getting overwritten in the config files because I cant get it to stick. Every time I make a change in FreePBX and press the apply button it gets overwritten. I was hoping you could maybe incorporate it in a new release or tell me how I can make it as a permant fix. I know your a busy guy and I dont like to big people but my customer really wants this feature. Thank You

[app-vmmain]
include => app-vmmain-custom
exten => *97,1,Answer
exten => *97,2,Wait(1)
exten => *97,3,Macro(user-callerid,)
exten => *97,4,Macro(get-vmcontext,${CALLERID(num)})
exten => *97,5,MailboxExists(${CALLERID(num)}@${VMCONTEXT})
exten => *97,6,VoiceMailMain()
exten => *97,7,Macro(hangupcall,)
exten => *97,106,VoiceMailMain(${CALLERID(num)}@${VMCONTEXT})
exten => *97,107,Macro(hangupcall,)

Change History

06/06/07 03:52:03 changed by p_lindheimer

  • description changed.

06/07/07 17:40:17 changed by p_lindheimer

#4005 and #4006 add the MailBoxExists? class. As soon as 2.2.2 gets released I'll be able to update the voicemail module which will require this. The change is:

Index: functions.inc.php
===================================================================
--- functions.inc.php (revision 3984)
+++ functions.inc.php (working copy)
@@ -39,8 +39,11 @@
  $ext->add($id, $c, '', new ext_wait('1')); // $cmd,n,Wait(1)
  $ext->add($id, $c, '', new ext_macro('user-callerid')); // $cmd,n,Macro(user-callerid)
  $ext->add($id, $c, '', new ext_macro('get-vmcontext','${CALLERID(num)}'));
- $ext->add($id, $c, '', new ext_vmmain('${CALLERID(num)}@${VMCONTEXT}')); // n,VoiceMailMain(${VMCONTEXT})
+ $ext->add($id, $c, 'check', new ext_vmexists('${CALLERID(num)}@${VMCONTEXT}')); // n,VoiceMailMain(${VMCONTEXT})
+ $ext->add($id, $c, '', new ext_vmmain('')); // n,VoiceMailMain(${VMCONTEXT})
  $ext->add($id, $c, '', new ext_macro('hangupcall')); // $cmd,n,Macro(user-callerid)
+ $ext->add($id, $c, '', new ext_vmmain('${CALLERID(num)}@${VMCONTEXT}'),'check',101); // n,VoiceMailMain(${VMCONTEXT})
+ $ext->add($id, $c, '', new ext_macro('hangupcall')); // $cmd,n,Macro(user-callerid)
 }

 function voicemail_dialvoicemail($c) {

It would be great if you could try to test it.

06/08/07 20:37:22 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

voicemail module version 1.6.4 in 2.2