Fixed conference transfer command syntax for getCommandArgs method.

This commit is contained in:
Ghazi Triki 2016-01-28 20:12:10 +01:00
parent edef66357c
commit 2968f69939

View File

@ -37,11 +37,9 @@ public class TransferUsetToMeetingCommand extends FreeswitchCommand {
public String getCommandArgs() {
String action = "";
if (forward)
action = "conference" + SPACE + room + SPACE + "transfer" + SPACE
+ targetRoom;
action = room + SPACE + "transfer" + SPACE + targetRoom;
else {
action = "conference" + SPACE + targetRoom + SPACE + "transfer"
+ SPACE + room;
action = targetRoom + SPACE + "transfer" + SPACE + room;
}
return action + SPACE + participant;