do not attempt to reject call if session had already ended. fixes #3798
This commit is contained in:
parent
fe68aff23c
commit
169ee99afa
|
@ -889,6 +889,10 @@ public class JingleRtpConnection extends AbstractJingleConnection implements Web
|
||||||
}
|
}
|
||||||
|
|
||||||
public synchronized void rejectCall() {
|
public synchronized void rejectCall() {
|
||||||
|
if (isTerminated()) {
|
||||||
|
Log.w(Config.LOGTAG,id.account.getJid().asBareJid()+": received rejectCall() when session has already been terminated. nothing to do");
|
||||||
|
return;
|
||||||
|
}
|
||||||
switch (this.state) {
|
switch (this.state) {
|
||||||
case PROPOSED:
|
case PROPOSED:
|
||||||
rejectCallFromProposed();
|
rejectCallFromProposed();
|
||||||
|
|
Loading…
Reference in New Issue