Open GoogleCodeExporter opened 9 years ago
Temporary fix:
In app/call_center/call_center_queue_edit.php around line: 651
Change the section
if ($queue_moh_sound == "\${us-ring}" || $queue_moh_sound == "us-ring") {
$select_options .= " <option value='\${us-ring}' selected='selected'>".$text['option-usring']."</option>\n";
}
else {
$select_options .= " <option value='\${us-ring}'>".$text['option-usring']."</option>\n";
}
if ($queue_moh_sound == "\${pt-ring}" || $queue_moh_sound == "pt-ring") {
$select_options .= " <option value='\${pt-ring}' selected='selected'>".$text['option-ptring']."</option>\n";
}
else {
$select_options .= " <option value='\${pt-ring}'>".$text['option-ptring']."</option>\n";
}
if ($queue_moh_sound == "\${fr-ring}" || $queue_moh_sound == "fr-ring") {
$select_options .= " <option value='\${fr-ring}' selected='selected'>".$text['option-frring']."</option>\n";
}
else {
$select_options .= " <option value='\${fr-ring}'>".$text['option-frring']."</option>\n";
}
if ($queue_moh_sound == "\${uk-ring}" || $queue_moh_sound == "uk-ring") {
$select_options .= " <option value='\${uk-ring}' selected='selected'>".$text['option-ukring']."</option>\n";
}
else {
$select_options .= " <option value='\${uk-ring}'>".$text['option-ukring']."</option>\n";
}
if ($queue_moh_sound == "\${rs-ring}" || $queue_moh_sound == "rs-ring") {
$select_options .= " <option value='\${rs-ring}' selected='selected'>".$text['option-rsring']."</option>\n";
}
else {
$select_options .= " <option value='\${rs-ring}'>".$text['option-rsring']."</option>\n";
}
To
if ($queue_moh_sound == "\$\${us-ring}" || $queue_moh_sound == "us-ring") {
$select_options .= " <option value='\$\${us-ring}' selected='selected'>".$text['option-usring']."</option>\n";
}
else {
$select_options .= " <option value='\$\${us-ring}'>".$text['option-usring']."</option>\n";
}
if ($queue_moh_sound == "\$\${pt-ring}" || $queue_moh_sound == "pt-ring") {
$select_options .= " <option value='\$\${pt-ring}' selected='selected'>".$text['option-ptring']."</option>\n";
}
else {
$select_options .= " <option value='\$\${pt-ring}'>".$text['option-ptring']."</option>\n";
}
if ($queue_moh_sound == "\$\${fr-ring}" || $queue_moh_sound == "fr-ring") {
$select_options .= " <option value='\$\${fr-ring}' selected='selected'>".$text['option-frring']."</option>\n";
}
else {
$select_options .= " <option value='\$\${fr-ring}'>".$text['option-frring']."</option>\n";
}
if ($queue_moh_sound == "\$\${uk-ring}" || $queue_moh_sound == "uk-ring") {
$select_options .= " <option value='\$\${uk-ring}' selected='selected'>".$text['option-ukring']."</option>\n";
}
else {
$select_options .= " <option value='\$\${uk-ring}'>".$text['option-ukring']."</option>\n";
}
if ($queue_moh_sound == "\$\${rs-ring}" || $queue_moh_sound == "rs-ring") {
$select_options .= " <option value='\$\${rs-ring}' selected='selected'>".$text['option-rsring']."</option>\n";
}
else {
$select_options .= " <option value='\$\${rs-ring}'>".$text['option-rsring']."</option>\n";
}
In resources/switch.php around line: 2792
Change
elseif (substr($queue_moh_sound, 0, 2) == '${' && substr($queue_moh_sound, -5) == 'ring}') {
To
elseif (substr($queue_moh_sound, 0, 3) == '$${' && substr($queue_moh_sound, -5) == 'ring}') {
Original comment by Digitald...@gmail.com
on 15 Sep 2014 at 9:34
PS Anything I post is completely unofficial and may break your system
Original comment by Digitald...@gmail.com
on 15 Sep 2014 at 9:38
Original issue reported on code.google.com by
voipcall...@gmail.com
on 15 Sep 2014 at 8:31