Fixed bug: lock mutex to reset media when processing received BYE.
git-svn-id: http://voip.null.ro/svn/yate@5668 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
77246079a6
commit
2de3403cc9
|
@ -6657,7 +6657,9 @@ void YateSIPConnection::doBye(SIPTransaction* t)
|
|||
paramMutex().unlock();
|
||||
}
|
||||
}
|
||||
Lock mylock(driver());
|
||||
setMedia(0);
|
||||
mylock.drop();
|
||||
SIPMessage* m = new SIPMessage(t->initialMessage(),200);
|
||||
paramMutex().lock();
|
||||
copySipHeaders(parameters(),*msg);
|
||||
|
|
Loading…
Reference in New Issue