Module: sip-router Branch: master Commit: 715ba52de2031786fd9f05832d5bf73d17d46e47 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=715ba52d...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@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
---
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;