From 52d859172c80965d6582094e95a8fe9cc8896097 Mon Sep 17 00:00:00 2001 From: lazedo Date: Sat, 11 Jan 2020 11:26:16 +0000 Subject: [PATCH] pusher external fault fix * 408 should not be in the excluded reasons for sending the push --- kamailio/pusher-role.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kamailio/pusher-role.cfg b/kamailio/pusher-role.cfg index e1df1db..171a1cc 100644 --- a/kamailio/pusher-role.cfg +++ b/kamailio/pusher-role.cfg @@ -37,15 +37,15 @@ route[PUSHER_TO_EXTERNAL_RELAY] failure_route[PUSHER_EXTERNAL_FAULT] { - if (!t_check_status("408|486|487|603") && $avp(push_sent) != 1) { - send_reply(182, "waking the dead guy"); + if (!t_check_status("486|487|603") && $avp(push_sent) != 1) { + send_reply(182, "sending push notification"); route(PUSHER_SEND_PUSH_NOTIFICATION); } else if (t_check_status("487")) { xlog("L_INFO", "$ci|pusher|push transaction canceled\n"); - t_reply("$T_reply_code", "Pusher Canceled"); + t_reply("$T_reply_code", "pusher canceled"); } else { xlog("L_INFO", "$ci|pusher|push transaction result - $T_reply_code\n"); - t_reply("$T_reply_code", "Pusher Failed"); + t_reply("$T_reply_code", "pusher failed"); } }