diff options
Diffstat (limited to 'res/stasis_http/resource_events.c')
-rw-r--r-- | res/stasis_http/resource_events.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/res/stasis_http/resource_events.c b/res/stasis_http/resource_events.c new file mode 100644 index 000000000..34563fe6e --- /dev/null +++ b/res/stasis_http/resource_events.c @@ -0,0 +1,40 @@ +/* -*- C -*- + * Asterisk -- An open source telephony toolkit. + * + * Copyright (C) 2012 - 2013, Digium, Inc. + * + * David M. Lee, II <dlee@digium.com> + * + * See http://www.asterisk.org for more information about + * the Asterisk project. Please do not directly contact + * any of the maintainers of this project for assistance; + * the project provides a web site, mailing lists and IRC + * channels for your use. + * + * This program is free software, distributed under the terms of + * the GNU General Public License Version 2. See the LICENSE file + * at the top of the source tree. + */ + +/*! \file + * + * \brief Implementation for stasis-http stubs. + * + * \author David M. Lee, II <dlee@digium.com> + */ + +/*** MODULEINFO + <support_level>core</support_level> + ***/ + +#include "asterisk.h" + +ASTERISK_FILE_VERSION(__FILE__, "$Revision$") + +#include "resource_events.h" + +void stasis_http_event_websocket(struct ast_variable *headers, struct ast_event_websocket_args *args, struct stasis_http_response *response) +{ + /* TODO: This should promote this socket to a websocket connection */ + ast_log(LOG_ERROR, "TODO: stasis_http_event_websocket\n"); +} |