From e08887ec4e7196c322da84fa837cb47cf5c834ba Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 24 Mar 2016 18:24:02 +0100 Subject: app: Release the call by releasing the initial request This will then go through the release procedure of the relevant call instead of letting it timeout on the initial leg. --- src/app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/app.c') diff --git a/src/app.c b/src/app.c index 6ec60ed..38a935e 100644 --- a/src/app.c +++ b/src/app.c @@ -59,7 +59,7 @@ void app_setup(struct app_config *cfg) static void route_to_sip(struct call *call, const char *source, const char *dest) { LOGP(DAPP, LOGL_ERROR, "Can not route call(%u) to SIP yet\n", call->id); - call_leg_release(call->initial); + call->initial->release_call(call->initial); } void app_route_call(struct call *call, const char *source, const char *dest) -- cgit v1.2.3