浏览代码

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
Daniel-Constantin Mierla 11 年之前
父节点
当前提交
715ba52de2
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      modules/tm/uac.c

+ 3 - 0
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;