提交 104bab6b authored 作者: Anthony Minessale's avatar Anthony Minessale 提交者: Brian West

tdd fix

上级 784fcf08
...@@ -403,7 +403,7 @@ SWITCH_STANDARD_API(start_send_tdd_api) ...@@ -403,7 +403,7 @@ SWITCH_STANDARD_API(start_send_tdd_api)
} }
if (!(psession = switch_core_session_locate(cmd))) { if (!(psession = switch_core_session_locate(puuid))) {
stream->write_function(stream, "-ERR Cannot locate session\n"); stream->write_function(stream, "-ERR Cannot locate session\n");
goto end; goto end;
} }
...@@ -736,6 +736,8 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_spandsp_init) ...@@ -736,6 +736,8 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_spandsp_init)
SWITCH_ADD_API(api_interface, "uuid_send_tdd", "send tdd data to a uuid", start_send_tdd_api, "<uuid> <text>"); SWITCH_ADD_API(api_interface, "uuid_send_tdd", "send tdd data to a uuid", start_send_tdd_api, "<uuid> <text>");
switch_console_set_complete("add uuid_send_tdd ::console::list_uuid");
if ((switch_event_bind(modname, SWITCH_EVENT_RELOADXML, NULL, event_handler, NULL) != SWITCH_STATUS_SUCCESS)) { if ((switch_event_bind(modname, SWITCH_EVENT_RELOADXML, NULL, event_handler, NULL) != SWITCH_STATUS_SUCCESS)) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论