Module: sip-router
Branch: 4.1
Commit: f06c0421f2d08aa9ec15330dbe7c270b7c67eef4
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f06c042…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Nov 21 17:37:33 2013 +0100
tm: propagate reply/failure route indexes to local uac branch
- affects the updates done in event_route[tm:local-request]
- reported by Pawel Sternal, FS#371
(cherry picked from commit 715ba52de2031786fd9f05832d5bf73d17d46e47)
---
modules/tm/uac.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/tm/uac.c b/modules/tm/uac.c
index 8f54dbe..ecdc357 100644
--- a/modules/tm/uac.c
+++ b/modules/tm/uac.c
@@ -426,6 +426,9 @@ static inline int t_uac_prepare(uac_req_t *uac_r,
}
#endif
+ new_cell->uac[0].on_reply = new_cell->on_reply;
+ new_cell->uac[0].on_failure = new_cell->on_failure;
+
new_cell->method.s = buf;
new_cell->method.len = uac_r->method->len;