summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 54cbf58)
raw | patch | inline | side by side (parent: 54cbf58)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 May 2010 13:15:46 +0000 (13:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 May 2010 13:15:46 +0000 (13:15 +0000) |
-Some extension applications are outdated and hat to be replaced
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@18381 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@18381 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 1895d9c0c1783a4514591d8cd17dd6511f8f14e5..d3fb0dcb18fea195ed51ab975a370a4a6a022673 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>","");