From 30838c99859c26468a705b17ae59ffa2bda381db Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Sun, 18 Oct 2015 22:03:14 +0200 Subject: [PATCH] fix bug made visible by previous commit --- coreapi/bellesip_sal/sal_op_call.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/coreapi/bellesip_sal/sal_op_call.c b/coreapi/bellesip_sal/sal_op_call.c index 224a802b5..86cac8ad1 100644 --- a/coreapi/bellesip_sal/sal_op_call.c +++ b/coreapi/bellesip_sal/sal_op_call.c @@ -871,6 +871,9 @@ int sal_call_accept(SalOp*h){ belle_sip_object_unref(h->pending_update_server_trans); h->pending_update_server_trans=NULL; } + if (h->state == SalOpStateEarly){ + h->state = SalOpStateActive; + } return 0; }