forked from mirrors/linphone-iphone
last bug fixed (hopefully)
This commit is contained in:
parent
236335de1b
commit
e1387c8dc2
1 changed files with 2 additions and 2 deletions
|
|
@ -2441,8 +2441,8 @@ int linphone_core_pause_call(LinphoneCore *lc, LinphoneCall *the_call)
|
|||
sal_media_description_set_dir(call->localdesc,SalStreamSendOnly);
|
||||
subject="Call on hold";
|
||||
}else if (sal_media_description_has_dir(call->resultdesc,SalStreamRecvOnly)){
|
||||
sal_media_description_set_dir(call->localdesc,SalStreamInactive);
|
||||
subject="Call inactive";
|
||||
sal_media_description_set_dir(call->localdesc,SalStreamSendOnly);
|
||||
subject="Call on hold for me too";
|
||||
}else{
|
||||
ms_error("No reason to pause this call, it is already paused or inactive.");
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue