[asterisk-commits] dlee: branch dlee/ari-url-shuffle r391764 - in /team/dlee/ari-url-shuffle: re...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jun 13 22:03:06 CDT 2013
Author: dlee
Date: Thu Jun 13 22:03:05 2013
New Revision: 391764
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=391764
Log:
Removed extra newline
Modified:
team/dlee/ari-url-shuffle/res/res_stasis_http_asterisk.c
team/dlee/ari-url-shuffle/res/res_stasis_http_bridges.c
team/dlee/ari-url-shuffle/res/res_stasis_http_channels.c
team/dlee/ari-url-shuffle/res/res_stasis_http_endpoints.c
team/dlee/ari-url-shuffle/res/res_stasis_http_events.c
team/dlee/ari-url-shuffle/res/res_stasis_http_playback.c
team/dlee/ari-url-shuffle/res/res_stasis_http_recordings.c
team/dlee/ari-url-shuffle/res/res_stasis_http_sounds.c
team/dlee/ari-url-shuffle/rest-api-templates/param_parsing.mustache
team/dlee/ari-url-shuffle/rest-api-templates/swagger_model.py
Modified: team/dlee/ari-url-shuffle/res/res_stasis_http_asterisk.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-url-shuffle/res/res_stasis_http_asterisk.c?view=diff&rev=391764&r1=391763&r2=391764
==============================================================================
--- team/dlee/ari-url-shuffle/res/res_stasis_http_asterisk.c (original)
+++ team/dlee/ari-url-shuffle/res/res_stasis_http_asterisk.c Thu Jun 13 22:03:05 2013
@@ -56,7 +56,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_get_asterisk_info_args args = {};
struct ast_variable *i;
Modified: team/dlee/ari-url-shuffle/res/res_stasis_http_bridges.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-url-shuffle/res/res_stasis_http_bridges.c?view=diff&rev=391764&r1=391763&r2=391764
==============================================================================
--- team/dlee/ari-url-shuffle/res/res_stasis_http_bridges.c (original)
+++ team/dlee/ari-url-shuffle/res/res_stasis_http_bridges.c Thu Jun 13 22:03:05 2013
@@ -56,7 +56,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_get_bridges_args args = {};
stasis_http_get_bridges(headers, &args, response);
}
@@ -71,7 +70,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_new_bridge_args args = {};
struct ast_variable *i;
@@ -94,7 +92,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_get_bridge_args args = {};
struct ast_variable *i;
@@ -117,7 +114,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_delete_bridge_args args = {};
struct ast_variable *i;
@@ -140,7 +136,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_add_channel_to_bridge_args args = {};
struct ast_variable *i;
@@ -169,7 +164,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_remove_channel_from_bridge_args args = {};
struct ast_variable *i;
@@ -198,7 +192,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_record_bridge_args args = {};
struct ast_variable *i;
Modified: team/dlee/ari-url-shuffle/res/res_stasis_http_channels.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-url-shuffle/res/res_stasis_http_channels.c?view=diff&rev=391764&r1=391763&r2=391764
==============================================================================
--- team/dlee/ari-url-shuffle/res/res_stasis_http_channels.c (original)
+++ team/dlee/ari-url-shuffle/res/res_stasis_http_channels.c Thu Jun 13 22:03:05 2013
@@ -56,7 +56,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_get_channels_args args = {};
stasis_http_get_channels(headers, &args, response);
}
@@ -71,7 +70,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_originate_args args = {};
struct ast_variable *i;
@@ -112,7 +110,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_get_channel_args args = {};
struct ast_variable *i;
@@ -135,7 +132,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_delete_channel_args args = {};
struct ast_variable *i;
@@ -158,7 +154,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_dial_args args = {};
struct ast_variable *i;
@@ -193,7 +188,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_continue_in_dialplan_args args = {};
struct ast_variable *i;
@@ -216,7 +210,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_answer_channel_args args = {};
struct ast_variable *i;
@@ -239,7 +232,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_mute_channel_args args = {};
struct ast_variable *i;
@@ -268,7 +260,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_unmute_channel_args args = {};
struct ast_variable *i;
@@ -297,7 +288,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_hold_channel_args args = {};
struct ast_variable *i;
@@ -320,7 +310,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_unhold_channel_args args = {};
struct ast_variable *i;
@@ -343,7 +332,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_play_on_channel_args args = {};
struct ast_variable *i;
@@ -381,7 +369,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_record_channel_args args = {};
struct ast_variable *i;
Modified: team/dlee/ari-url-shuffle/res/res_stasis_http_endpoints.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-url-shuffle/res/res_stasis_http_endpoints.c?view=diff&rev=391764&r1=391763&r2=391764
==============================================================================
--- team/dlee/ari-url-shuffle/res/res_stasis_http_endpoints.c (original)
+++ team/dlee/ari-url-shuffle/res/res_stasis_http_endpoints.c Thu Jun 13 22:03:05 2013
@@ -56,7 +56,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_get_endpoints_args args = {};
stasis_http_get_endpoints(headers, &args, response);
}
@@ -71,7 +70,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_get_endpoints_by_tech_args args = {};
struct ast_variable *i;
@@ -94,7 +92,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_get_endpoint_args args = {};
struct ast_variable *i;
Modified: team/dlee/ari-url-shuffle/res/res_stasis_http_events.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-url-shuffle/res/res_stasis_http_events.c?view=diff&rev=391764&r1=391763&r2=391764
==============================================================================
--- team/dlee/ari-url-shuffle/res/res_stasis_http_events.c (original)
+++ team/dlee/ari-url-shuffle/res/res_stasis_http_events.c Thu Jun 13 22:03:05 2013
@@ -50,7 +50,6 @@
{
RAII_VAR(struct ast_websocket *, s, ws_session, ast_websocket_unref);
RAII_VAR(struct ari_websocket_session *, session, NULL, ao2_cleanup);
-
struct ast_event_websocket_args args = {};
struct ast_variable *i;
Modified: team/dlee/ari-url-shuffle/res/res_stasis_http_playback.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-url-shuffle/res/res_stasis_http_playback.c?view=diff&rev=391764&r1=391763&r2=391764
==============================================================================
--- team/dlee/ari-url-shuffle/res/res_stasis_http_playback.c (original)
+++ team/dlee/ari-url-shuffle/res/res_stasis_http_playback.c Thu Jun 13 22:03:05 2013
@@ -56,7 +56,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_get_playback_args args = {};
struct ast_variable *i;
@@ -79,7 +78,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_stop_playback_args args = {};
struct ast_variable *i;
@@ -102,7 +100,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_control_playback_args args = {};
struct ast_variable *i;
Modified: team/dlee/ari-url-shuffle/res/res_stasis_http_recordings.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-url-shuffle/res/res_stasis_http_recordings.c?view=diff&rev=391764&r1=391763&r2=391764
==============================================================================
--- team/dlee/ari-url-shuffle/res/res_stasis_http_recordings.c (original)
+++ team/dlee/ari-url-shuffle/res/res_stasis_http_recordings.c Thu Jun 13 22:03:05 2013
@@ -56,7 +56,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_get_recordings_args args = {};
stasis_http_get_recordings(headers, &args, response);
}
@@ -71,7 +70,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_get_stored_recordings_args args = {};
stasis_http_get_stored_recordings(headers, &args, response);
}
@@ -86,7 +84,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_get_stored_recording_args args = {};
struct ast_variable *i;
@@ -109,7 +106,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_delete_stored_recording_args args = {};
struct ast_variable *i;
@@ -132,7 +128,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_get_live_recordings_args args = {};
stasis_http_get_live_recordings(headers, &args, response);
}
@@ -147,7 +142,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_get_live_recording_args args = {};
struct ast_variable *i;
@@ -170,7 +164,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_cancel_recording_args args = {};
struct ast_variable *i;
@@ -193,7 +186,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_stop_recording_args args = {};
struct ast_variable *i;
@@ -216,7 +208,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_pause_recording_args args = {};
struct ast_variable *i;
@@ -239,7 +230,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_unpause_recording_args args = {};
struct ast_variable *i;
@@ -262,7 +252,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_mute_recording_args args = {};
struct ast_variable *i;
@@ -285,7 +274,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_unmute_recording_args args = {};
struct ast_variable *i;
Modified: team/dlee/ari-url-shuffle/res/res_stasis_http_sounds.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-url-shuffle/res/res_stasis_http_sounds.c?view=diff&rev=391764&r1=391763&r2=391764
==============================================================================
--- team/dlee/ari-url-shuffle/res/res_stasis_http_sounds.c (original)
+++ team/dlee/ari-url-shuffle/res/res_stasis_http_sounds.c Thu Jun 13 22:03:05 2013
@@ -56,7 +56,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_get_sounds_args args = {};
struct ast_variable *i;
@@ -82,7 +81,6 @@
struct ast_variable *get_params, struct ast_variable *path_vars,
struct ast_variable *headers, struct stasis_http_response *response)
{
-
struct ast_get_stored_sound_args args = {};
struct ast_variable *i;
Modified: team/dlee/ari-url-shuffle/rest-api-templates/param_parsing.mustache
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-url-shuffle/rest-api-templates/param_parsing.mustache?view=diff&rev=391764&r1=391763&r2=391764
==============================================================================
--- team/dlee/ari-url-shuffle/rest-api-templates/param_parsing.mustache (original)
+++ team/dlee/ari-url-shuffle/rest-api-templates/param_parsing.mustache Thu Jun 13 22:03:05 2013
@@ -18,7 +18,6 @@
{{!
* Snippet for decoding parameters into an _args struct.
}}
-
struct ast_{{c_nickname}}_args args = {};
{{#has_parameters}}
struct ast_variable *i;
Modified: team/dlee/ari-url-shuffle/rest-api-templates/swagger_model.py
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-url-shuffle/rest-api-templates/swagger_model.py?view=diff&rev=391764&r1=391763&r2=391764
==============================================================================
--- team/dlee/ari-url-shuffle/rest-api-templates/swagger_model.py (original)
+++ team/dlee/ari-url-shuffle/rest-api-templates/swagger_model.py Thu Jun 13 22:03:05 2013
@@ -218,6 +218,7 @@
self.http_method = op_json.get('httpMethod')
self.nickname = op_json.get('nickname')
self.response_class = op_json.get('responseClass')
+ # Specifying WebSocket URL's is our own extension
self.is_websocket = op_json.get('upgrade') == 'websocket'
self.is_req = not self.is_websocket
More information about the asterisk-commits
mailing list