Module: kamailio
Branch: master
Commit: 5e48786aef8e8d46ef936fc111d6b926acf79635
URL:
https://github.com/kamailio/kamailio/commit/5e48786aef8e8d46ef936fc111d6b92…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2019-03-13T14:28:13+01:00
Merge pull request #1890 from ionutionita92/issue-1871
tm: remove unnecessary TMCB_ACK_NEG_IN callback call
---
Modified: src/modules/tm/t_reply.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5e48786aef8e8d46ef936fc111d6b92…
Patch:
https://github.com/kamailio/kamailio/commit/5e48786aef8e8d46ef936fc111d6b92…
---
diff --git a/src/modules/tm/t_reply.c b/src/modules/tm/t_reply.c
index 33910e1f8c..202b8d826f 100644
--- a/src/modules/tm/t_reply.c
+++ b/src/modules/tm/t_reply.c
@@ -2303,14 +2303,6 @@ int reply_received( struct sip_msg *p_msg )
t, &onsend_params);
}
}
- if (unlikely(has_tran_tmcbs(t, TMCB_ACK_NEG_IN))){
- INIT_TMCB_ONSEND_PARAMS(onsend_params,
- t->uas.request, p_msg, &uac->request,
- &uac->request.dst, ack, ack_len,
- TMCB_LOCAL_F, branch, TYPE_LOCAL_ACK);
- run_trans_callbacks_off_params(TMCB_ACK_NEG_IN,
- t, &onsend_params);
- }
shm_free(ack);
}
} else if (is_local(t) /*&& 200 <= msg_status < 300*/) {