Bug option list and with multiple registartions. (#4012)

de-ring was not in the option list.

If multiple devices are registered with the same extension, only on device was ringing. (And this was not the device in front of you :) )
The Call UUID was 'duplicated'
The fix is to remove the origination_uuid. Then all devices rings simultaniously.
This commit is contained in:
ednt
2019-03-05 20:19:10 +01:00
committed by FusionPBX
parent 28c8c69843
commit b1faf1cf83

View File

@@ -136,8 +136,7 @@
//define a leg - set source to display the defined caller id name and number
$source_common = "{";
$source_common .= "origination_uuid=".$origination_uuid;
$source_common .= ",click_to_call=true";
$source_common .= "click_to_call=true";
$source_common .= ",origination_caller_id_name='".$src_cid_name."'";
$source_common .= ",origination_caller_id_number=".$src_cid_number;
$source_common .= ",instant_ringback=true";
@@ -406,6 +405,12 @@
else {
echo " <option value='it-ring'>".$text['opt-itring']."</option>\n";
}
if ($ringback == "de-ring") {
echo " <option value='de-ring' selected='selected'>".$text['opt-dering']."</option>\n";
}
else {
echo " <option value='de-ring'>".$text['opt-dering']."</option>\n";
}
if ($ringback == "music") {
echo " <option value='music' selected='selected'>".$text['opt-moh']."</option>\n";
}