From: hickert Date: Mon, 1 Aug 2005 13:42:28 +0000 (+0000) Subject: Added tablename for asterisk voicemail X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=603413cb865d27f00f7a5ce4a8dbbb373c4246b6;p=gosa.git Added tablename for asterisk voicemail git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1036 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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']);