소스 검색

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;