Satoshi Hirose | The dn assigned dual-line. And the two lines are in use. (one is hold, one is talking) I tried in this code on the address.
CMECall[] calls = cmeAddress.getCalls(); if (calls!=null) { for (int i=0;i<calls.length;i++) { CMECall call = calls; if (call != null) { System.out.printf(" GlobalCallId = %s\n", call.getGlobalCallId()); System.out.printf(" State = %s\n", CMECall.State.toString(call.getState())); System.out.printf(" Type = %s\n", CMECall.Type.toString(call.getType())); } } }
But getCalls method returned a call. (only HOLD) I'm not sure I understand the problem. Could you explain in more detail? Thanks |
| Please sign in to flag this as inappropriate. |