Ticket #1921 (closed Bugs: fixed)

Opened 5 years ago

Last modified 5 years ago

voicemail module is not working

Reported by: diego_iastrubni Assigned to:
Priority: minor Milestone: 2.3
Component: Core Version: 2.3-branch
Keywords: Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

When you upgrade to the module version 1.6.2, you will not be able to add new extensions to the PBX. This is due to changeset:3899, which modified the hardcoded dir /etc/astrisk/ and uses $amp_conf['ASTETCDIR'] to get the directory.

However this variable is not defined in /etc/amportal.conf and thus the module hooks will _always_ fail, as they try to write to /voicemail.conf instead of /etc/asterisk/voicemail.conf.

The workarrond is to modify amportal.conf to include:

ASTETCDIR=/etc/asterisk/

The real solution is in the branch (commited at changeset:3903, but not yet released)

Change History

06/25/07 07:26:42 changed by p_lindheimer

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

so assuming r3903 is now release, I'm closing this????

06/26/07 02:51:12 changed by diego_iastrubni

  • status changed from closed to reopened.
  • resolution deleted.
  • component changed from Voicemail Module to Core.

Re-openning, as we forgot about retreive_conf (tested on stocke 2.2.2)

Now this means that on some setups ASTECTDIR is defined (in the GUI) and in some not. (retrieve_conf, module_admin, archive_recordings, callback, install_amp).

Re-assigning it to the core.

07/26/07 10:35:25 changed by p_lindheimer

  • status changed from reopened to closed.
  • version changed from 2.2.1 to 2.3-branch.
  • resolution set to fixed.

the 2.3 parser assures defaults are set for all critical conf settings. The workaround in previous releases is to add the proper settings in amportal.conf.