Commit 8a23ea59 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix 2 call-related crashes.

parent ca159350
......@@ -1049,7 +1049,7 @@ LinphoneCallState CallSession::getState () const {
string CallSession::getRemoteUserAgent () const {
L_D();
if (d->op)
if (d->op && d->op->get_remote_ua())
return d->op->get_remote_ua();
return string();
}
......
......@@ -4317,7 +4317,7 @@ LinphoneStatus MediaSession::update (const MediaSessionParams *msp, const string
if (d->currentParams == msp)
lWarning() << "CallSession::update() is given the current params, this is probably not what you intend to do!";
d->iceAgent->checkSession(IR_Controlling, true);
if (d->params) {
if (msp) {
#if 0
call->broken = FALSE;
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment