Permalink
Browse files

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...
markjcrane@gmail.com
markjcrane@gmail.com committed May 21, 2012
1 parent bae50f8 commit 398b8f2ef9a738e611ec29e0465a14525cd57260
Showing with 5 additions and 5 deletions.
  1. +5 −5 includes/lib_switch.php
View
@@ -1326,21 +1326,21 @@ function switch_select_destination($select_type, $select_label, $select_name, $s
$extension = $row["extension"];
$context = $row["user_context"];
$description = $row["description"];
- if ("voicemail default \${domain} ".$extension == $select_value || "voicemail:default \${domain} ".$extension == $select_value) {
+ if ("voicemail default \${domain_name} ".$extension == $select_value || "voicemail:default \${domain_name} ".$extension == $select_value) {
if ($select_type == "ivr") {
- echo " <option value='menu-exec-app:voicemail default \${domain} $extension' selected='selected'>".$extension." ".$description."</option>\n";
+ echo " <option value='menu-exec-app:voicemail default \${domain_name} $extension' selected='selected'>".$extension." ".$description."</option>\n";
}
if ($select_type == "dialplan") {
- echo " <option value='voicemail:default \${domain} $extension' selected='selected'>".$extension." ".$description."</option>\n";
+ echo " <option value='voicemail:default \${domain_name} $extension' selected='selected'>".$extension." ".$description."</option>\n";
}
$selection_found = true;
}
else {
if ($select_type == "ivr") {
- echo " <option value='menu-exec-app:voicemail default \${domain} $extension'>".$extension." ".$description."</option>\n";
+ echo " <option value='menu-exec-app:voicemail default \${domain_name} $extension'>".$extension." ".$description."</option>\n";
}
if ($select_type == "dialplan") {
- echo " <option value='voicemail:default \${domain} $extension'>".$extension." ".$description."</option>\n";
+ echo " <option value='voicemail:default \${domain_name} $extension'>".$extension." ".$description."</option>\n";
}
}
}

0 comments on commit 398b8f2

Please sign in to comment.