From 3e1a0348cb8cec63584dea8751d570b6f80898bb Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Wed, 12 May 2010 14:49:10 +0200 Subject: [PATCH] set a reference to the call in the ping_op --- coreapi/linphonecore.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 6bb231242..1bed57f2c 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -2002,6 +2002,7 @@ int linphone_core_invite_address(LinphoneCore *lc, const LinphoneAddress *real_p call->state=LCStatePreEstablishing; call->ping_op=sal_op_new(lc->sal); sal_ping(call->ping_op,from,real_url); + sal_op_set_user_pointer(call->ping_op,call); call->start_time=time(NULL); }