我遇到了JAVA ASTERISK Asterisk管理器界面的一些问题,这是我的错误。
List < State > states = JsonConvert.DeserializeObject < List < State >> (json);
if(!states.Any())
return;
State state;
foreach(State i in states) {
if (i.StateID == Convert.ToInt32(extendedProperties["WFState"])) {
state = i;
}
else {}
}
try {
btnApprove.Visible = state.Actions.Approved.NextStateID != null ? true : false;
btnApprove.Text = state.Actions.Approved.Title.ToString();
}
catch (Exception ex) {
btnApprove.Visible = false;
}
这是我的控制器
groovy.lang.MissingMethodException: No signature of method: org.asteriskjava.manager.action.QueueStatusAction.setChannel() is applicable for argument types: (java.lang.String) values: [SIP/200]