Lines Matching refs:index
62 this.index = 0;
163 this.getCall = function(index) { argument
166 c = calls[index];
209 c.index = i;
225 this.removeCall = function(index) { argument
228 && (index < calls.length)
229 && (typeof calls[index] != 'undefined')) {
230 c = calls[index];
231 delete calls[index];
249 print('c[' + c.index + ']: index=' + c.index + ' state=' + c.state +
404 'callIndex' : newCall.index,
412 'callIndex' : newCall.index,
418 'callIndex': newCall.index,
794 var index = req.data.index;
801 var separateConn = this.getCall(req.data.index);
812 if (index != i) {
1072 var index = this.getCallIdByState(CALLSTATE_DIALING);
1073 if ((dialingCalls == 1) && (index != null)) {
1074 calls[index].state = CALLSTATE_ALERTING;
1106 var index = this.getCallIdByState(CALLSTATE_ALERTING);
1107 if ((alertingCalls == 1) && (index != null)) {
1108 calls[index].state = CALLSTATE_ACTIVE;