Browse code

tmx: handle branch_route for $T_reply_code

- use latest sent reply code
- related to the log message reported in FS#445

(cherry picked from commit 2e28163f2f3e756c89f8cc43df0644be38c5e06f)

Daniel-Constantin Mierla authored on 30/06/2014 12:37:40
Showing 1 changed files
... ...
@@ -472,6 +472,7 @@ int pv_get_tm_reply_code(struct sip_msg *msg, pv_param_t *param,
472 472
 	} else {
473 473
 		switch (get_route_type()) {
474 474
 			case REQUEST_ROUTE:
475
+			case BRANCH_ROUTE:
475 476
 				/* use the status of the last sent reply */
476 477
 				code = t->uas.status;
477 478
 				break;