瀏覽代碼

tmx: handle branch_route for $T_reply_code

- use latest sent reply code
- related to the log message reported in FS#445
Daniel-Constantin Mierla 11 年之前
父節點
當前提交
2e28163f2f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      modules/tmx/t_var.c

+ 1 - 0
modules/tmx/t_var.c

@@ -487,6 +487,7 @@ int pv_get_tm_reply_code(struct sip_msg *msg, pv_param_t *param,
 	} else {
 		switch (get_route_type()) {
 			case REQUEST_ROUTE:
+			case BRANCH_ROUTE:
 				/* use the status of the last sent reply */
 				code = t->uas.status;
 				break;