@@ -340,6 +340,10 @@ static int ki_send_reply_error(sip_msg_t *msg)
LM_INFO("message marked with final-reply flag\n");
return -2;
}
+ if(msg->msg_flags & FL_DELAYED_REPLY) {
+ LM_INFO("message marked with delayed-reply flag\n");
+ return -3;
+ }
if(sl_bind_tm != 0 && tmb.t_reply_error != NULL) {
ret = tmb.t_reply_error(msg);
@@ -416,6 +416,10 @@ int sl_reply_error(struct sip_msg *msg)
ret = err2reason_phrase(
prev_ser_error, &sip_error, err_buf, sizeof(err_buf), "SL");