Bug #159

Requires Default database name (asterisk) - needs to use value parsed from amportal.conf

Added by tshif over 2 years ago. Updated over 2 years ago.

Status:Closed Start:06/26/2009
Priority:High Due date:07/09/2009
Assigned to:tshif % Done:

100%

Category:-
Target version:Caller ID Superfecta v 2.1.X Maintenance Releases Estimated time:0.50 hour

Description

Attempts to use the module were throwing up DB error insufficient privileges error messages. Tracing down the error exposed that the module was trying to connect to the asterisk database. In the subject pbx configuration the database name is freepbx. I believe that the issue is the following:

'database' => $amp_conf['AMPDBENGINE']

this should be

'database=>$amp_conf['AMPDBNAME']

This change resolves the problem for the reporting party.

These changes need to be made in the sources.php and bin/callerid.php files.

These changes need to be tested against a pbx that does use the standard db name.

Reported by Shane (hobiga at pbxiaf forums) here


Related issues

related to Hotel Style Wakeup Calls - Bug #163: amportal.conf parsing grabs wrong data for dbname Closed 07/02/2009 07/10/2009

History

Updated by tshif over 2 years ago

  • Status changed from Reviewed to Resolved
  • Assigned to set to tshif
  • % Done changed from 0 to 80

Deployed shanes correction. present in r111.

Now awaiting software test.

Updated by tshif over 2 years ago

  • Due date set to 07/09/2009
  • Status changed from Resolved to Closed
  • % Done changed from 80 to 100

QS: Pass. Modification appear to perform as expected without negative consequence.

Also available in: Atom PDF