From 9f6b1ce513656d6340823737374d787dd03eb7eb Mon Sep 17 00:00:00 2001
From: Simon Morlat <simon.morlat@linphone.org>
Date: Wed, 12 May 2010 09:53:07 +0200
Subject: [PATCH] fix ping_op with no back reference

---
 coreapi/linphonecore.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c
index 4f1d367c5f..6bb231242e 100644
--- a/coreapi/linphonecore.c
+++ b/coreapi/linphonecore.c
@@ -168,6 +168,7 @@ LinphoneCall * linphone_call_new_incoming(LinphoneCore *lc, LinphoneAddress *fro
 		to_str=linphone_address_as_string(to);
 		from_str=linphone_address_as_string(from);
 		sal_op_set_route(call->ping_op,sal_op_get_network_origin(call->op));
+		sal_op_set_user_pointer(call->ping_op,call);
 		sal_ping(call->ping_op,to_str,from_str);
 		ms_free(to_str);
 		ms_free(from_str);
-- 
GitLab