Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Change the ${domain} to ${domain_name}

git-svn-id: http://fusionpbx.googlecode.com/svn/trunk/fusionpbx@2568 e2954ef0-caed-11de-bd98-e341d93cc3cc
  • Loading branch information...
commit 398b8f2ef9a738e611ec29e0465a14525cd57260 1 parent bae50f8
authored May 21, 2012

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. 10  includes/lib_switch.php
10  includes/lib_switch.php
@@ -1326,21 +1326,21 @@ function switch_select_destination($select_type, $select_label, $select_name, $s
1326 1326
 			$extension = $row["extension"];
1327 1327
 			$context = $row["user_context"]; 
1328 1328
 			$description = $row["description"];
1329  
-			if ("voicemail default \${domain} ".$extension == $select_value || "voicemail:default \${domain} ".$extension == $select_value) {
  1329
+			if ("voicemail default \${domain_name} ".$extension == $select_value || "voicemail:default \${domain_name} ".$extension == $select_value) {
1330 1330
 				if ($select_type == "ivr") {
1331  
-					echo "		<option value='menu-exec-app:voicemail default \${domain} $extension' selected='selected'>".$extension." ".$description."</option>\n";
  1331
+					echo "		<option value='menu-exec-app:voicemail default \${domain_name} $extension' selected='selected'>".$extension." ".$description."</option>\n";
1332 1332
 				}
1333 1333
 				if ($select_type == "dialplan") {
1334  
-					echo "		<option value='voicemail:default \${domain} $extension' selected='selected'>".$extension." ".$description."</option>\n";
  1334
+					echo "		<option value='voicemail:default \${domain_name} $extension' selected='selected'>".$extension." ".$description."</option>\n";
1335 1335
 				}
1336 1336
 				$selection_found = true;
1337 1337
 			}
1338 1338
 			else {
1339 1339
 				if ($select_type == "ivr") {
1340  
-					echo "		<option value='menu-exec-app:voicemail default \${domain} $extension'>".$extension." ".$description."</option>\n";
  1340
+					echo "		<option value='menu-exec-app:voicemail default \${domain_name} $extension'>".$extension." ".$description."</option>\n";
1341 1341
 				}
1342 1342
 				if ($select_type == "dialplan") {
1343  
-					echo "		<option value='voicemail:default \${domain} $extension'>".$extension." ".$description."</option>\n";
  1343
+					echo "		<option value='voicemail:default \${domain_name} $extension'>".$extension." ".$description."</option>\n";
1344 1344
 				}
1345 1345
 			}
1346 1346
 		}

0 notes on commit 398b8f2

Please sign in to comment.
Something went wrong with that request. Please try again.