[svn-commits] dlee: branch dlee/ari-url-shuffle r391767 - in /team/dlee/ari-url-shuffle: re...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jun 13 23:48:17 CDT 2013


Author: dlee
Date: Thu Jun 13 23:48:15 2013
New Revision: 391767

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=391767
Log:
Get rid of some unnecessary changes

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/res/stasis_http/resource_asterisk.h
    team/dlee/ari-url-shuffle/res/stasis_http/resource_bridges.h
    team/dlee/ari-url-shuffle/res/stasis_http/resource_channels.h
    team/dlee/ari-url-shuffle/res/stasis_http/resource_endpoints.h
    team/dlee/ari-url-shuffle/res/stasis_http/resource_playback.h
    team/dlee/ari-url-shuffle/res/stasis_http/resource_recordings.h
    team/dlee/ari-url-shuffle/res/stasis_http/resource_sounds.h
    team/dlee/ari-url-shuffle/rest-api-templates/res_stasis_http_resource.c.mustache
    team/dlee/ari-url-shuffle/rest-api-templates/rest_handler.mustache
    team/dlee/ari-url-shuffle/rest-api-templates/stasis_http_resource.h.mustache

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=391767&r1=391766&r2=391767
==============================================================================
--- 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 23:48:15 2013
@@ -52,7 +52,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void get_asterisk_info_cb(
+static void stasis_http_get_asterisk_info_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -72,7 +72,7 @@
 static struct stasis_rest_handlers asterisk_info = {
 	.path_segment = "info",
 	.callbacks = {
-		[AST_HTTP_GET] = get_asterisk_info_cb,
+		[AST_HTTP_GET] = stasis_http_get_asterisk_info_cb,
 	},
 	.num_children = 0,
 	.children = {  }

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=391767&r1=391766&r2=391767
==============================================================================
--- 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 23:48:15 2013
@@ -52,7 +52,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void get_bridges_cb(
+static void stasis_http_get_bridges_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -66,7 +66,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void new_bridge_cb(
+static void stasis_http_new_bridge_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -88,7 +88,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void get_bridge_cb(
+static void stasis_http_get_bridge_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -110,7 +110,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void delete_bridge_cb(
+static void stasis_http_delete_bridge_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -132,7 +132,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void add_channel_to_bridge_cb(
+static void stasis_http_add_channel_to_bridge_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -160,7 +160,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void remove_channel_from_bridge_cb(
+static void stasis_http_remove_channel_from_bridge_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -188,7 +188,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void record_bridge_cb(
+static void stasis_http_record_bridge_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -229,7 +229,7 @@
 static struct stasis_rest_handlers bridges_bridgeId_addChannel = {
 	.path_segment = "addChannel",
 	.callbacks = {
-		[AST_HTTP_POST] = add_channel_to_bridge_cb,
+		[AST_HTTP_POST] = stasis_http_add_channel_to_bridge_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -238,7 +238,7 @@
 static struct stasis_rest_handlers bridges_bridgeId_removeChannel = {
 	.path_segment = "removeChannel",
 	.callbacks = {
-		[AST_HTTP_POST] = remove_channel_from_bridge_cb,
+		[AST_HTTP_POST] = stasis_http_remove_channel_from_bridge_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -247,7 +247,7 @@
 static struct stasis_rest_handlers bridges_bridgeId_record = {
 	.path_segment = "record",
 	.callbacks = {
-		[AST_HTTP_POST] = record_bridge_cb,
+		[AST_HTTP_POST] = stasis_http_record_bridge_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -257,8 +257,8 @@
 	.path_segment = "bridgeId",
 	.is_wildcard = 1,
 	.callbacks = {
-		[AST_HTTP_GET] = get_bridge_cb,
-		[AST_HTTP_DELETE] = delete_bridge_cb,
+		[AST_HTTP_GET] = stasis_http_get_bridge_cb,
+		[AST_HTTP_DELETE] = stasis_http_delete_bridge_cb,
 	},
 	.num_children = 3,
 	.children = { &bridges_bridgeId_addChannel,&bridges_bridgeId_removeChannel,&bridges_bridgeId_record, }
@@ -267,8 +267,8 @@
 static struct stasis_rest_handlers bridges = {
 	.path_segment = "bridges",
 	.callbacks = {
-		[AST_HTTP_GET] = get_bridges_cb,
-		[AST_HTTP_POST] = new_bridge_cb,
+		[AST_HTTP_GET] = stasis_http_get_bridges_cb,
+		[AST_HTTP_POST] = stasis_http_new_bridge_cb,
 	},
 	.num_children = 1,
 	.children = { &bridges_bridgeId, }

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=391767&r1=391766&r2=391767
==============================================================================
--- 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 23:48:15 2013
@@ -52,7 +52,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void get_channels_cb(
+static void stasis_http_get_channels_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -66,7 +66,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void originate_cb(
+static void stasis_http_originate_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -106,7 +106,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void get_channel_cb(
+static void stasis_http_get_channel_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -128,7 +128,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void delete_channel_cb(
+static void stasis_http_delete_channel_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -150,7 +150,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void dial_cb(
+static void stasis_http_dial_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -184,7 +184,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void continue_in_dialplan_cb(
+static void stasis_http_continue_in_dialplan_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -206,7 +206,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void answer_channel_cb(
+static void stasis_http_answer_channel_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -228,7 +228,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void mute_channel_cb(
+static void stasis_http_mute_channel_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -256,7 +256,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void unmute_channel_cb(
+static void stasis_http_unmute_channel_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -284,7 +284,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void hold_channel_cb(
+static void stasis_http_hold_channel_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -306,7 +306,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void unhold_channel_cb(
+static void stasis_http_unhold_channel_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -328,7 +328,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void play_on_channel_cb(
+static void stasis_http_play_on_channel_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -365,7 +365,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void record_channel_cb(
+static void stasis_http_record_channel_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -409,7 +409,7 @@
 static struct stasis_rest_handlers channels_channelId_dial = {
 	.path_segment = "dial",
 	.callbacks = {
-		[AST_HTTP_POST] = dial_cb,
+		[AST_HTTP_POST] = stasis_http_dial_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -418,7 +418,7 @@
 static struct stasis_rest_handlers channels_channelId_continue = {
 	.path_segment = "continue",
 	.callbacks = {
-		[AST_HTTP_POST] = continue_in_dialplan_cb,
+		[AST_HTTP_POST] = stasis_http_continue_in_dialplan_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -427,7 +427,7 @@
 static struct stasis_rest_handlers channels_channelId_answer = {
 	.path_segment = "answer",
 	.callbacks = {
-		[AST_HTTP_POST] = answer_channel_cb,
+		[AST_HTTP_POST] = stasis_http_answer_channel_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -436,7 +436,7 @@
 static struct stasis_rest_handlers channels_channelId_mute = {
 	.path_segment = "mute",
 	.callbacks = {
-		[AST_HTTP_POST] = mute_channel_cb,
+		[AST_HTTP_POST] = stasis_http_mute_channel_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -445,7 +445,7 @@
 static struct stasis_rest_handlers channels_channelId_unmute = {
 	.path_segment = "unmute",
 	.callbacks = {
-		[AST_HTTP_POST] = unmute_channel_cb,
+		[AST_HTTP_POST] = stasis_http_unmute_channel_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -454,7 +454,7 @@
 static struct stasis_rest_handlers channels_channelId_hold = {
 	.path_segment = "hold",
 	.callbacks = {
-		[AST_HTTP_POST] = hold_channel_cb,
+		[AST_HTTP_POST] = stasis_http_hold_channel_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -463,7 +463,7 @@
 static struct stasis_rest_handlers channels_channelId_unhold = {
 	.path_segment = "unhold",
 	.callbacks = {
-		[AST_HTTP_POST] = unhold_channel_cb,
+		[AST_HTTP_POST] = stasis_http_unhold_channel_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -472,7 +472,7 @@
 static struct stasis_rest_handlers channels_channelId_play = {
 	.path_segment = "play",
 	.callbacks = {
-		[AST_HTTP_POST] = play_on_channel_cb,
+		[AST_HTTP_POST] = stasis_http_play_on_channel_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -481,7 +481,7 @@
 static struct stasis_rest_handlers channels_channelId_record = {
 	.path_segment = "record",
 	.callbacks = {
-		[AST_HTTP_POST] = record_channel_cb,
+		[AST_HTTP_POST] = stasis_http_record_channel_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -491,8 +491,8 @@
 	.path_segment = "channelId",
 	.is_wildcard = 1,
 	.callbacks = {
-		[AST_HTTP_GET] = get_channel_cb,
-		[AST_HTTP_DELETE] = delete_channel_cb,
+		[AST_HTTP_GET] = stasis_http_get_channel_cb,
+		[AST_HTTP_DELETE] = stasis_http_delete_channel_cb,
 	},
 	.num_children = 9,
 	.children = { &channels_channelId_dial,&channels_channelId_continue,&channels_channelId_answer,&channels_channelId_mute,&channels_channelId_unmute,&channels_channelId_hold,&channels_channelId_unhold,&channels_channelId_play,&channels_channelId_record, }
@@ -501,8 +501,8 @@
 static struct stasis_rest_handlers channels = {
 	.path_segment = "channels",
 	.callbacks = {
-		[AST_HTTP_GET] = get_channels_cb,
-		[AST_HTTP_POST] = originate_cb,
+		[AST_HTTP_GET] = stasis_http_get_channels_cb,
+		[AST_HTTP_POST] = stasis_http_originate_cb,
 	},
 	.num_children = 1,
 	.children = { &channels_channelId, }

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=391767&r1=391766&r2=391767
==============================================================================
--- 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 23:48:15 2013
@@ -52,7 +52,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void get_endpoints_cb(
+static void stasis_http_get_endpoints_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -66,7 +66,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void get_endpoints_by_tech_cb(
+static void stasis_http_get_endpoints_by_tech_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -88,7 +88,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void get_endpoint_cb(
+static void stasis_http_get_endpoint_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -112,7 +112,7 @@
 	.path_segment = "resource",
 	.is_wildcard = 1,
 	.callbacks = {
-		[AST_HTTP_GET] = get_endpoint_cb,
+		[AST_HTTP_GET] = stasis_http_get_endpoint_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -122,7 +122,7 @@
 	.path_segment = "tech",
 	.is_wildcard = 1,
 	.callbacks = {
-		[AST_HTTP_GET] = get_endpoints_by_tech_cb,
+		[AST_HTTP_GET] = stasis_http_get_endpoints_by_tech_cb,
 	},
 	.num_children = 1,
 	.children = { &endpoints_tech_resource, }
@@ -131,7 +131,7 @@
 static struct stasis_rest_handlers endpoints = {
 	.path_segment = "endpoints",
 	.callbacks = {
-		[AST_HTTP_GET] = get_endpoints_cb,
+		[AST_HTTP_GET] = stasis_http_get_endpoints_cb,
 	},
 	.num_children = 1,
 	.children = { &endpoints_tech, }

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=391767&r1=391766&r2=391767
==============================================================================
--- 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 23:48:15 2013
@@ -45,7 +45,7 @@
 #include "asterisk/stasis_app.h"
 #include "stasis_http/resource_events.h"
 
-static void event_websocket_ws_cb(struct ast_websocket *ws_session,
+static void stasis_http_event_websocket_ws_cb(struct ast_websocket *ws_session,
 	struct ast_variable *get_params, struct ast_variable *headers)
 {
 	RAII_VAR(struct ast_websocket *, s, ws_session, ast_websocket_unref);
@@ -84,7 +84,7 @@
 		return AST_MODULE_LOAD_FAILURE;
 	}
 	r |= ast_websocket_server_add_protocol(events.ws_server,
-		"ari", event_websocket_ws_cb);
+		"ari", stasis_http_event_websocket_ws_cb);
 	stasis_app_ref();
 	r |= stasis_http_add_handler(&events);
 	return r;

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=391767&r1=391766&r2=391767
==============================================================================
--- 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 23:48:15 2013
@@ -52,7 +52,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void get_playback_cb(
+static void stasis_http_get_playback_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -74,7 +74,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void stop_playback_cb(
+static void stasis_http_stop_playback_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -96,7 +96,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void control_playback_cb(
+static void stasis_http_control_playback_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -122,7 +122,7 @@
 static struct stasis_rest_handlers playback_playbackId_control = {
 	.path_segment = "control",
 	.callbacks = {
-		[AST_HTTP_POST] = control_playback_cb,
+		[AST_HTTP_POST] = stasis_http_control_playback_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -132,8 +132,8 @@
 	.path_segment = "playbackId",
 	.is_wildcard = 1,
 	.callbacks = {
-		[AST_HTTP_GET] = get_playback_cb,
-		[AST_HTTP_DELETE] = stop_playback_cb,
+		[AST_HTTP_GET] = stasis_http_get_playback_cb,
+		[AST_HTTP_DELETE] = stasis_http_stop_playback_cb,
 	},
 	.num_children = 1,
 	.children = { &playback_playbackId_control, }

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=391767&r1=391766&r2=391767
==============================================================================
--- 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 23:48:15 2013
@@ -52,7 +52,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void get_recordings_cb(
+static void stasis_http_get_recordings_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -66,7 +66,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void get_stored_recordings_cb(
+static void stasis_http_get_stored_recordings_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -80,7 +80,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void get_stored_recording_cb(
+static void stasis_http_get_stored_recording_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -102,7 +102,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void delete_stored_recording_cb(
+static void stasis_http_delete_stored_recording_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -124,7 +124,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void get_live_recordings_cb(
+static void stasis_http_get_live_recordings_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -138,7 +138,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void get_live_recording_cb(
+static void stasis_http_get_live_recording_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -160,7 +160,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void cancel_recording_cb(
+static void stasis_http_cancel_recording_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -182,7 +182,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void stop_recording_cb(
+static void stasis_http_stop_recording_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -204,7 +204,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void pause_recording_cb(
+static void stasis_http_pause_recording_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -226,7 +226,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void unpause_recording_cb(
+static void stasis_http_unpause_recording_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -248,7 +248,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void mute_recording_cb(
+static void stasis_http_mute_recording_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -270,7 +270,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void unmute_recording_cb(
+static void stasis_http_unmute_recording_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -291,8 +291,8 @@
 	.path_segment = "recordingId",
 	.is_wildcard = 1,
 	.callbacks = {
-		[AST_HTTP_GET] = get_stored_recording_cb,
-		[AST_HTTP_DELETE] = delete_stored_recording_cb,
+		[AST_HTTP_GET] = stasis_http_get_stored_recording_cb,
+		[AST_HTTP_DELETE] = stasis_http_delete_stored_recording_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -301,7 +301,7 @@
 static struct stasis_rest_handlers recordings_stored = {
 	.path_segment = "stored",
 	.callbacks = {
-		[AST_HTTP_GET] = get_stored_recordings_cb,
+		[AST_HTTP_GET] = stasis_http_get_stored_recordings_cb,
 	},
 	.num_children = 1,
 	.children = { &recordings_stored_recordingId, }
@@ -310,7 +310,7 @@
 static struct stasis_rest_handlers recordings_live_recordingId_stop = {
 	.path_segment = "stop",
 	.callbacks = {
-		[AST_HTTP_POST] = stop_recording_cb,
+		[AST_HTTP_POST] = stasis_http_stop_recording_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -319,7 +319,7 @@
 static struct stasis_rest_handlers recordings_live_recordingId_pause = {
 	.path_segment = "pause",
 	.callbacks = {
-		[AST_HTTP_POST] = pause_recording_cb,
+		[AST_HTTP_POST] = stasis_http_pause_recording_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -328,7 +328,7 @@
 static struct stasis_rest_handlers recordings_live_recordingId_unpause = {
 	.path_segment = "unpause",
 	.callbacks = {
-		[AST_HTTP_POST] = unpause_recording_cb,
+		[AST_HTTP_POST] = stasis_http_unpause_recording_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -337,7 +337,7 @@
 static struct stasis_rest_handlers recordings_live_recordingId_mute = {
 	.path_segment = "mute",
 	.callbacks = {
-		[AST_HTTP_POST] = mute_recording_cb,
+		[AST_HTTP_POST] = stasis_http_mute_recording_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -346,7 +346,7 @@
 static struct stasis_rest_handlers recordings_live_recordingId_unmute = {
 	.path_segment = "unmute",
 	.callbacks = {
-		[AST_HTTP_POST] = unmute_recording_cb,
+		[AST_HTTP_POST] = stasis_http_unmute_recording_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -356,8 +356,8 @@
 	.path_segment = "recordingId",
 	.is_wildcard = 1,
 	.callbacks = {
-		[AST_HTTP_GET] = get_live_recording_cb,
-		[AST_HTTP_DELETE] = cancel_recording_cb,
+		[AST_HTTP_GET] = stasis_http_get_live_recording_cb,
+		[AST_HTTP_DELETE] = stasis_http_cancel_recording_cb,
 	},
 	.num_children = 5,
 	.children = { &recordings_live_recordingId_stop,&recordings_live_recordingId_pause,&recordings_live_recordingId_unpause,&recordings_live_recordingId_mute,&recordings_live_recordingId_unmute, }
@@ -366,7 +366,7 @@
 static struct stasis_rest_handlers recordings_live = {
 	.path_segment = "live",
 	.callbacks = {
-		[AST_HTTP_GET] = get_live_recordings_cb,
+		[AST_HTTP_GET] = stasis_http_get_live_recordings_cb,
 	},
 	.num_children = 1,
 	.children = { &recordings_live_recordingId, }
@@ -375,7 +375,7 @@
 static struct stasis_rest_handlers recordings = {
 	.path_segment = "recordings",
 	.callbacks = {
-		[AST_HTTP_GET] = get_recordings_cb,
+		[AST_HTTP_GET] = stasis_http_get_recordings_cb,
 	},
 	.num_children = 2,
 	.children = { &recordings_stored,&recordings_live, }

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=391767&r1=391766&r2=391767
==============================================================================
--- 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 23:48:15 2013
@@ -52,7 +52,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void get_sounds_cb(
+static void stasis_http_get_sounds_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -77,7 +77,7 @@
  * \param headers HTTP headers.
  * \param[out] response Response to the HTTP request.
  */
-static void get_stored_sound_cb(
+static void stasis_http_get_stored_sound_cb(
     struct ast_variable *get_params, struct ast_variable *path_vars,
     struct ast_variable *headers, struct stasis_http_response *response)
 {
@@ -98,7 +98,7 @@
 	.path_segment = "soundId",
 	.is_wildcard = 1,
 	.callbacks = {
-		[AST_HTTP_GET] = get_stored_sound_cb,
+		[AST_HTTP_GET] = stasis_http_get_stored_sound_cb,
 	},
 	.num_children = 0,
 	.children = {  }
@@ -107,7 +107,7 @@
 static struct stasis_rest_handlers sounds = {
 	.path_segment = "sounds",
 	.callbacks = {
-		[AST_HTTP_GET] = get_sounds_cb,
+		[AST_HTTP_GET] = stasis_http_get_sounds_cb,
 	},
 	.num_children = 1,
 	.children = { &sounds_soundId, }

Modified: team/dlee/ari-url-shuffle/res/stasis_http/resource_asterisk.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-url-shuffle/res/stasis_http/resource_asterisk.h?view=diff&rev=391767&r1=391766&r2=391767
==============================================================================
--- team/dlee/ari-url-shuffle/res/stasis_http/resource_asterisk.h (original)
+++ team/dlee/ari-url-shuffle/res/stasis_http/resource_asterisk.h Thu Jun 13 23:48:15 2013
@@ -47,9 +47,9 @@
 /*!
  * \brief Gets Asterisk system information.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_get_asterisk_info(struct ast_variable *headers, struct ast_get_asterisk_info_args *args, struct stasis_http_response *response);
 

Modified: team/dlee/ari-url-shuffle/res/stasis_http/resource_bridges.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-url-shuffle/res/stasis_http/resource_bridges.h?view=diff&rev=391767&r1=391766&r2=391767
==============================================================================
--- team/dlee/ari-url-shuffle/res/stasis_http/resource_bridges.h (original)
+++ team/dlee/ari-url-shuffle/res/stasis_http/resource_bridges.h Thu Jun 13 23:48:15 2013
@@ -45,9 +45,9 @@
 /*!
  * \brief List active bridges.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_get_bridges(struct ast_variable *headers, struct ast_get_bridges_args *args, struct stasis_http_response *response);
 /*! \brief Argument struct for stasis_http_new_bridge() */
@@ -60,9 +60,9 @@
  *
  * This bridge persists until it has been shut down, or Asterisk has been shut down.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_new_bridge(struct ast_variable *headers, struct ast_new_bridge_args *args, struct stasis_http_response *response);
 /*! \brief Argument struct for stasis_http_get_bridge() */
@@ -73,9 +73,9 @@
 /*!
  * \brief Get bridge details.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_get_bridge(struct ast_variable *headers, struct ast_get_bridge_args *args, struct stasis_http_response *response);
 /*! \brief Argument struct for stasis_http_delete_bridge() */
@@ -88,9 +88,9 @@
  *
  * If any channels are in this bridge, they will be removed and resume whatever they were doing beforehand.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_delete_bridge(struct ast_variable *headers, struct ast_delete_bridge_args *args, struct stasis_http_response *response);
 /*! \brief Argument struct for stasis_http_add_channel_to_bridge() */
@@ -103,9 +103,9 @@
 /*!
  * \brief Add a channel to a bridge.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_add_channel_to_bridge(struct ast_variable *headers, struct ast_add_channel_to_bridge_args *args, struct stasis_http_response *response);
 /*! \brief Argument struct for stasis_http_remove_channel_from_bridge() */
@@ -118,9 +118,9 @@
 /*!
  * \brief Remove a channel from a bridge.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_remove_channel_from_bridge(struct ast_variable *headers, struct ast_remove_channel_from_bridge_args *args, struct stasis_http_response *response);
 /*! \brief Argument struct for stasis_http_record_bridge() */
@@ -145,9 +145,9 @@
  *
  * This records the mixed audio from all channels participating in this bridge.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_record_bridge(struct ast_variable *headers, struct ast_record_bridge_args *args, struct stasis_http_response *response);
 

Modified: team/dlee/ari-url-shuffle/res/stasis_http/resource_channels.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-url-shuffle/res/stasis_http/resource_channels.h?view=diff&rev=391767&r1=391766&r2=391767
==============================================================================
--- team/dlee/ari-url-shuffle/res/stasis_http/resource_channels.h (original)
+++ team/dlee/ari-url-shuffle/res/stasis_http/resource_channels.h Thu Jun 13 23:48:15 2013
@@ -45,9 +45,9 @@
 /*!
  * \brief List active channels.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_get_channels(struct ast_variable *headers, struct ast_get_channels_args *args, struct stasis_http_response *response);
 /*! \brief Argument struct for stasis_http_originate() */
@@ -70,9 +70,9 @@
 /*!
  * \brief Create a new channel (originate).
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_originate(struct ast_variable *headers, struct ast_originate_args *args, struct stasis_http_response *response);
 /*! \brief Argument struct for stasis_http_get_channel() */
@@ -83,9 +83,9 @@
 /*!
  * \brief Channel details.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_get_channel(struct ast_variable *headers, struct ast_get_channel_args *args, struct stasis_http_response *response);
 /*! \brief Argument struct for stasis_http_delete_channel() */
@@ -96,9 +96,9 @@
 /*!
  * \brief Delete (i.e. hangup) a channel.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_delete_channel(struct ast_variable *headers, struct ast_delete_channel_args *args, struct stasis_http_response *response);
 /*! \brief Argument struct for stasis_http_dial() */
@@ -115,9 +115,9 @@
 /*!
  * \brief Create a new channel (originate) and bridge to this channel.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_dial(struct ast_variable *headers, struct ast_dial_args *args, struct stasis_http_response *response);
 /*! \brief Argument struct for stasis_http_continue_in_dialplan() */
@@ -128,9 +128,9 @@
 /*!
  * \brief Exit application; continue execution in the dialplan.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_continue_in_dialplan(struct ast_variable *headers, struct ast_continue_in_dialplan_args *args, struct stasis_http_response *response);
 /*! \brief Argument struct for stasis_http_answer_channel() */
@@ -141,9 +141,9 @@
 /*!
  * \brief Answer a channel.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_answer_channel(struct ast_variable *headers, struct ast_answer_channel_args *args, struct stasis_http_response *response);
 /*! \brief Argument struct for stasis_http_mute_channel() */
@@ -156,9 +156,9 @@
 /*!
  * \brief Mute a channel.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_mute_channel(struct ast_variable *headers, struct ast_mute_channel_args *args, struct stasis_http_response *response);
 /*! \brief Argument struct for stasis_http_unmute_channel() */
@@ -171,9 +171,9 @@
 /*!
  * \brief Unmute a channel.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_unmute_channel(struct ast_variable *headers, struct ast_unmute_channel_args *args, struct stasis_http_response *response);
 /*! \brief Argument struct for stasis_http_hold_channel() */
@@ -184,9 +184,9 @@
 /*!
  * \brief Hold a channel.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers
+ * \param args Swagger parameters
+ * \param[out] response HTTP response
  */
 void stasis_http_hold_channel(struct ast_variable *headers, struct ast_hold_channel_args *args, struct stasis_http_response *response);
 /*! \brief Argument struct for stasis_http_unhold_channel() */
@@ -197,9 +197,9 @@
 /*!
  * \brief Remove a channel from hold.
  *
- * \param headers HTTP headers.
- * \param args Swagger parameters.
- * \param[out] response HTTP response.
+ * \param headers HTTP headers

[... 383 lines stripped ...]



More information about the svn-commits mailing list