提交 4efff5c4 authored 作者: Anthony Minessale's avatar Anthony Minessale

fix small bug, init this value to success so you can record without playing a file first

上级 716f4c06
......@@ -887,7 +887,7 @@ static switch_status_t parse_record(const char *tag_name, client_t *client, swit
const char *digit_timeout_ = switch_xml_attr(tag, "digit-timeout");
char *loops_ = (char *) switch_xml_attr(tag, "loops");
int loops = 0;
switch_status_t status = SWITCH_STATUS_FALSE;
switch_status_t status = SWITCH_STATUS_SUCCESS;
switch_ivr_dmachine_t *dmachine = NULL;
switch_input_args_t *args = NULL, myargs = { 0 };
long digit_timeout = 1500;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论