From df59cbb3227e75106e99b33bd28960cc1acf9873 Mon Sep 17 00:00:00 2001 From: lazedo Date: Wed, 27 Jun 2018 18:48:40 +0100 Subject: [PATCH] do not send 100 twice --- kamailio/pusher-role.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kamailio/pusher-role.cfg b/kamailio/pusher-role.cfg index 4944365..8bcef14 100644 --- a/kamailio/pusher-role.cfg +++ b/kamailio/pusher-role.cfg @@ -17,7 +17,7 @@ route[PUSHER_ROUTE] } xlog("L_INFO", "$ci|pusher received request to wakeup $(tu{s.tolower})\n"); - sl_send_reply(100, "waking the dead guy"); + send_reply(100, "waking the dead guy"); t_set_fr(0, 20000); if (t_newtran()) { route(SEND_PUSH_NOTIFICATION); @@ -25,6 +25,7 @@ route[PUSHER_ROUTE] t_on_reply("EXTERNAL_REPLY"); t_save_lumps(); ts_store("$(tu{s.tolower})"); + t_set_auto_inv_100(0); t_suspend(); } else { sl_send_reply(500, "error creating transaction for waking the dead guy");