summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fd86a6a)
raw | patch | inline | side by side (parent: fd86a6a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 May 2010 13:17:39 +0000 (13:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 May 2010 13:17:39 +0000 (13:17 +0000) |
-Some applications were outdated and had to be replace
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18383 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18383 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofon/gofon/conference/class_phoneConferenceGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/gofon/gofon/conference/class_phoneConferenceGeneric.inc b/gosa-plugins/gofon/gofon/conference/class_phoneConferenceGeneric.inc
index 399a3aef8fe5e8ac341a34e397ea9a00633f4373..910d2587b73254d898fb260105c1c88e8977be82 100644 (file)
$EXT[$i]['context'] = $context;
$EXT[$i]['priority']= $i;
$EXT[$i]['app'] ="Set";
- $EXT[$i]['appdata'] ="LANGUAGE()=".$this->language;
+ $EXT[$i]['appdata'] ="CHANNEL(language)=".$this->language;
$i++;
// Recordingformat for conference
$EXT[$i]['exten'] =$this->telephoneNumber;
$EXT[$i]['context'] =$context;
$EXT[$i]['priority']= $i;
- $EXT[$i]['app'] ="Setvar";
+ $EXT[$i]['app'] ="Set";
$EXT[$i]['appdata'] ="MEETME_RECORDINGFORMAT=".$this->goFonConferenceOptionFormat;
$i++;
}
}
$i++;
- // Hanup command
+ // Hangup command
$EXT[$i]['exten'] =$this->telephoneNumber;
$EXT[$i]['context'] =$context;
$EXT[$i]['priority']=$i;
$i++;
// Map name to number
- $EXT[$i]['exten'] =$this->cn;
- $EXT[$i]['context'] =$context;
- $EXT[$i]['priority']=1;
- $EXT[$i]['app'] ="Goto";
- $EXT[$i]['appdata'] =$this->telephoneNumber."|1";
-
+ if($this->cn != $this->telephoneNumber){
+ $EXT[$i]['exten'] =$this->cn;
+ $EXT[$i]['context'] =$context;
+ $EXT[$i]['priority']=1;
+ $EXT[$i]['app'] ="Goto";
+ $EXT[$i]['appdata'] =$this->telephoneNumber."|1";
+ }
foreach($EXT as $keytop => $valtop){
$s_keys = "";
$SQL[]="INSERT INTO ".$cfg_Current['EXT_TABLE']." (".$s_keys.") VALUES (".$s_values.");";
}
-
-
/* Start transaction, to be able to rollback
*/
@DEBUG (DEBUG_MYSQL, __LINE__, __FUNCTION__, __FILE__,"<b>---Updating/Inserting entries---</b>","");