From 603413cb865d27f00f7a5ce4a8dbbb373c4246b6 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 1 Aug 2005 13:42:28 +0000 Subject: [PATCH] Added tablename for asterisk voicemail git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1036 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_config.inc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/include/class_config.inc b/include/class_config.inc index 5721b58aa..8dbf2f339 100644 --- a/include/class_config.inc +++ b/include/class_config.inc @@ -346,9 +346,14 @@ class config { $ldap->search ("(objectClass=goFonServer)"); if ($ldap->count()){ $attrs= $ldap->fetch(); - $this->data['SERVERS']['FON']= array( 'SERVER' => $attrs['cn'][0], - 'LOGIN' => $attrs['goFonAdmin'][0], - 'PASSWORD' => $attrs['goFonPassword'][0]); + $this->data['SERVERS']['FON']= array( + 'SERVER' => $attrs['cn'][0], + 'LOGIN' => $attrs['goFonAdmin'][0], + 'PASSWORD' => $attrs['goFonPassword'][0], + 'DB' => "gophone", + 'SIP_TABLE' => "sip_users", + 'EXT_TABLE' => "extensions", + 'VOICE_TABLE' => "voicemail_users"); } /* Get logdb server */ $ldap->cd ($this->current['BASE']); -- 2.30.2