Lines Matching defs:call

58     // A call that is ringing or (call) waiting
107 // FIXME: is it true that we cannot take any incoming call if
119 if (DBG) log("takeIncomingCall: taking call from: "
127 // Peer cancelled the call!
128 if (DBG) log(" takeIncomingCall: call cancelled !!");
135 // Peer may cancel the call at any time during the time we hook
152 // Always unmute when answering a new call
330 loge("call waiting not supported");
501 if (SC_DBG) log("hangup: call " + getState()
514 if (SC_DBG) log("hangup: dead call " + getState()
541 throw new CallStateException("acceptCall() in a non-ringing call");
544 throw new CallStateException("acceptCall() in a conf call");
629 SipCall call = conn.getCall();
630 if (call == this) return;
631 if (call != null) call.mConnections.remove(conn);
685 // this can be called back when a conf call is formed
760 public void onCallEstablished(SipAudioCall call) {
761 onChanged(call);
763 if (mState == Call.State.ACTIVE) call.startAudio();
767 public void onCallHeld(SipAudioCall call) {
768 onChanged(call);
770 if (mState == Call.State.HOLDING) call.startAudio();
774 public void onChanged(SipAudioCall call) {
776 Call.State newState = getCallStateFrom(call);
786 // disconnect the call.
836 sipAudioCall.setListener(mAdapter); // call back to set state
957 SipCall call = (getPhone() == SipPhone.this)
960 if (call.getState() != Call.State.IDLE) {
962 "cannot put conn back to a call in non-idle state: "
963 + call.getState());
967 + call);
969 // separate the AudioGroup and connection from the original call
971 AudioGroup audioGroup = call.getAudioGroup(); // may be null
972 call.add(this);
975 // put the original call to bg; and the separated call becomes
980 call = (SipCall) getForegroundCall();
982 call.onConnectionStateChanged(this);
1000 public void onCallEnded(SipAudioCall call) {
1001 if (SACA_DBG) log("onCallEnded: call=" + call);
1002 onCallEnded(call.isInCall()
1008 public void onCallBusy(SipAudioCall call) {
1009 if (SACA_DBG) log("onCallBusy: call=" + call);
1014 public void onError(SipAudioCall call, int errorCode,
1017 log("onError: call=" + call + " code="+ SipErrorCode.toString(errorCode)