浏览代码

tm: support mode=start for rpc tm.t_uac_attrs

- complete the variants of t_uac commands
Daniel-Constantin Mierla 2 月之前
父节点
当前提交
9af589867e
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/modules/tm/rpc_uac.c

+ 3 - 0
src/modules/tm/rpc_uac.c

@@ -1038,6 +1038,9 @@ void rpc_t_uac_attrs(rpc_t *rpc, void *c)
 				if(pit->body.len == 4
 						&& strncasecmp(pit->name.s, "wait", 4) == 0) {
 					tattrs.reply_wait = 1;
+				} else if(pit->body.len == 5
+						  && strncasecmp(pit->name.s, "start", 5) == 0) {
+					tattrs.reply_wait = 0;
 				} else if(pit->body.len == 5
 						  && strncasecmp(pit->name.s, "block", 5) == 0) {
 					tattrs.reply_wait = 2;