Jelajahi Sumber

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)
Daniel-Constantin Mierla 12 tahun lalu
induk
melakukan
f06c0421f2
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  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;