Code

Updated phone queue language usage
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 12 Oct 2009 12:34:09 +0000 (12:34 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 12 Oct 2009 12:34:09 +0000 (12:34 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14583 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofon/admin/ogroups/gofon/class_phonequeue.inc

index 30a89c8889a3894a82ea97df253334b7b7f8cae9..4f7e26600f717ce237aa24a09b19758689e2e626 100644 (file)
@@ -627,8 +627,8 @@ class phonequeue extends plugin
           $a_ext[$i]['context']  = 'GOsa';
           $a_ext[$i]['exten']    = $num;
           $a_ext[$i]['priority'] = 1;
-          $a_ext[$i]['app']      = "SetLanguage";
-          $a_ext[$i]['appdata']  = "de";
+          $a_ext[$i]['app']      = "Set";
+          $a_ext[$i]['appdata']  = "CHANNEL(language)=".$this->goFonQueueLanguage;
           $i ++ ; 
 
           $a_ext[$i]['context']  = 'GOsa';
@@ -661,8 +661,8 @@ class phonequeue extends plugin
           $a_ext[$i]['context']  = 'GOsa';
           $a_ext[$i]['exten']    = $num;
           $a_ext[$i]['priority'] = 2;
-          $a_ext[$i]['app']      = "SetLanguage";
-          $a_ext[$i]['appdata']  = $this->goFonQueueLanguage;
+          $a_ext[$i]['app']      = "Set";
+          $a_ext[$i]['appdata']  = "CHANNEL(language)=".$this->goFonQueueLanguage;
           $i ++ ; 
   
           /* Play welcome sound file */