QueueStatusAction(Asterisk-Java 1.0.0.final)

时间:2017-07-04 23:26:05

标签: java grails groovy asterisk asteriskami

我遇到了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]

0 个答案:

没有答案