mirror of https://github.com/sipwise/kamailio.git
Change-Id: I3557b664eb1f57e1839b8fe7923e19986d8d66dc
(cherry picked from commit 4ec8815a50)
changes/30/17030/1
parent
5515e8c734
commit
e9e3fd2d4b
@ -0,0 +1,14 @@
|
|||||||
|
--- a/modules/tm/t_reply.c
|
||||||
|
+++ b/modules/tm/t_reply.c
|
||||||
|
@@ -1965,8 +1965,10 @@ enum rps relay_reply( struct cell *t, st
|
||||||
|
if (SEND_PR_BUFFER( uas_rb, buf, res_len ) >= 0){
|
||||||
|
if (unlikely(!totag_retr && has_tran_tmcbs(t, TMCB_RESPONSE_OUT))){
|
||||||
|
LOCK_REPLIES( t );
|
||||||
|
- run_trans_callbacks_with_buf( TMCB_RESPONSE_OUT, uas_rb, t->uas.request,
|
||||||
|
+ if(relayed_code==uas_rb->activ_type) {
|
||||||
|
+ run_trans_callbacks_with_buf( TMCB_RESPONSE_OUT, uas_rb, t->uas.request,
|
||||||
|
relayed_msg, relayed_code);
|
||||||
|
+ }
|
||||||
|
UNLOCK_REPLIES( t );
|
||||||
|
}
|
||||||
|
if (unlikely(has_tran_tmcbs(t, TMCB_RESPONSE_SENT))){
|
||||||
Loading…
Reference in new issue