diff --git a/line.c b/line.c index 84841ade7a60898cedc85fc13f7109bc31266c83..08db84ddb52f053aac6a81d8c2d24485e0ec68a7 100644 --- a/line.c +++ b/line.c @@ -683,7 +683,8 @@ int line_close_connection_by_dect(int line, int pcm, struct voice_ubus_req_t *ub } } voice_line_simulate_hook(line, VOICE_EVT_ONHOOK); - return -1; + return send_reply_dectmngr(ubus_req, line + 1, // +1 Dectmngr lines starting from 1 + pcm, UBUS_STATUS_OK); } if(pcm == CALL_DEFAULT0 || pcm == CALL_DEFAULT1)