Browse Source

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 years ago
parent
commit
715ba52de2
1 changed files with 3 additions and 0 deletions
  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
 #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.s = buf;
 	new_cell->method.len = uac_r->method->len;
 	new_cell->method.len = uac_r->method->len;