From e1387c8dc2cfbee843e4d160a84cbbaabcc1fb90 Mon Sep 17 00:00:00 2001
From: Simon Morlat <simon.morlat@linphone.org>
Date: Thu, 3 Feb 2011 14:43:07 +0100
Subject: [PATCH] last bug fixed (hopefully)

---
 coreapi/linphonecore.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c
index 81eb363d97..ef86bccbef 100644
--- a/coreapi/linphonecore.c
+++ b/coreapi/linphonecore.c
@@ -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;
-- 
GitLab