set a reference to the call in the ping_op

This commit is contained in:
Simon Morlat 2010-05-12 14:49:10 +02:00
parent 9f6b1ce513
commit 3e1a0348cb

View file

@ -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);
}