diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2016-03-24 18:24:02 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2016-03-26 06:11:09 +0100 |
commit | e08887ec4e7196c322da84fa837cb47cf5c834ba (patch) | |
tree | 74129bf91484a84238f1d9d2c12882dfb42de0d9 | |
parent | 4f8cafa5b089ba0cab33afc7752fa54bd8e57d36 (diff) |
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.
-rw-r--r-- | src/app.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |