From 4de76993b278c7f66c187fd2907ac3668b105cc3 Mon Sep 17 00:00:00 2001 From: lazedo Date: Mon, 6 Jul 2020 14:59:05 +0000 Subject: [PATCH] use send_reply instead of sl_send_reply * send_reply checks if there's a ongoing transaction and will call proper function to send the reply (cherry picked from commit ff12d456b55814418a1d2e31add1b1a62e059010) --- kamailio/default.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kamailio/default.cfg b/kamailio/default.cfg index 637cc71..291d843 100644 --- a/kamailio/default.cfg +++ b/kamailio/default.cfg @@ -487,7 +487,7 @@ route[PREPARE_INITIAL_REQUESTS] if (t_check_trans()) { route(RELAY); } else { - sl_send_reply("481", "Call leg/transaction does not exist"); + send_reply("481", "Call leg/transaction does not exist"); } exit(); } else if (is_method("ACK")) {