aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-03-30 13:22:51 +0200
committerTimo Teräs <timo.teras@iki.fi>2013-03-30 13:22:51 +0200
commit7a10513cfb710ee3ebbe4fc5564669a800955f10 (patch)
tree5f9fc15ecb43fdeb985230db0b9286e2d7600e33 /main
parentf7e2057441cb0d5c9d80186adc124b5426d86b70 (diff)
downloadaports-7a10513cfb710ee3ebbe4fc5564669a800955f10.tar.bz2
aports-7a10513cfb710ee3ebbe4fc5564669a800955f10.tar.xz
main/asterisk: remove upstreamed patch
Diffstat (limited to 'main')
-rw-r--r--main/asterisk/APKBUILD1
-rw-r--r--main/asterisk/ASTERISK-20938.patch104
2 files changed, 0 insertions, 105 deletions
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD
index eaf56c76aa..85d20f88f9 100644
--- a/main/asterisk/APKBUILD
+++ b/main/asterisk/APKBUILD
@@ -36,7 +36,6 @@ source="$_download/asterisk-$_xy.0.tar.gz
ASTERISK-18995.patch
ASTERISK-19109.patch
ASTERISK-20527.patch
- ASTERISK-20938.patch
asterisk.initd
asterisk.confd
asterisk.logrotate"
diff --git a/main/asterisk/ASTERISK-20938.patch b/main/asterisk/ASTERISK-20938.patch
deleted file mode 100644
index 0b7b1664df..0000000000
--- a/main/asterisk/ASTERISK-20938.patch
+++ /dev/null
@@ -1,104 +0,0 @@
-diff --git a/apps/app_confbridge.c b/apps/app_confbridge.c
-index 687830b..e848cdc 100644
---- a/apps/app_confbridge.c
-+++ b/apps/app_confbridge.c
-@@ -2092,6 +2092,16 @@ static char *handle_cli_confbridge_kick(struct ast_cli_entry *e, int cmd, struct
- return CLI_SUCCESS;
- }
-
-+static void handle_cli_confbridge_list_item(struct ast_cli_args *a, struct conference_bridge_user *participant)
-+{
-+ ast_cli(a->fd, "%-29s ", ast_channel_name(participant->chan));
-+ ast_cli(a->fd, "%-17s", participant->u_profile.name);
-+ ast_cli(a->fd, "%-17s", participant->b_profile.name);
-+ ast_cli(a->fd, "%-17s", participant->menu_name);
-+ ast_cli(a->fd, "%-17s", S_COR(ast_channel_caller(participant->chan)->id.number.valid, ast_channel_caller(participant->chan)->id.number.str, "<unknown>"));
-+ ast_cli(a->fd, "\n");
-+}
-+
- static char *handle_cli_confbridge_list(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
- {
- struct ao2_iterator i;
-@@ -2118,7 +2128,7 @@ static char *handle_cli_confbridge_list(struct ast_cli_entry *e, int cmd, struct
- ast_cli(a->fd, "================================ ====== ====== ========\n");
- i = ao2_iterator_init(conference_bridges, 0);
- while ((bridge = ao2_iterator_next(&i))) {
-- ast_cli(a->fd, "%-32s %6i %6i %s\n", bridge->name, bridge->activeusers, bridge->markedusers, (bridge->locked ? "locked" : "unlocked"));
-+ ast_cli(a->fd, "%-32s %6i %6i %s\n", bridge->name, bridge->activeusers + bridge->waitingusers, bridge->markedusers, (bridge->locked ? "locked" : "unlocked"));
- ao2_ref(bridge, -1);
- }
- ao2_iterator_destroy(&i);
-@@ -2136,12 +2146,10 @@ static char *handle_cli_confbridge_list(struct ast_cli_entry *e, int cmd, struct
- ast_cli(a->fd, "============================= ================ ================ ================ ================\n");
- ao2_lock(bridge);
- AST_LIST_TRAVERSE(&bridge->active_list, participant, list) {
-- ast_cli(a->fd, "%-29s ", ast_channel_name(participant->chan));
-- ast_cli(a->fd, "%-17s", participant->u_profile.name);
-- ast_cli(a->fd, "%-17s", participant->b_profile.name);
-- ast_cli(a->fd, "%-17s", participant->menu_name);
-- ast_cli(a->fd, "%-17s", S_COR(ast_channel_caller(participant->chan)->id.number.valid, ast_channel_caller(participant->chan)->id.number.str, "<unknown>"));
-- ast_cli(a->fd, "\n");
-+ handle_cli_confbridge_list_item(a, participant);
-+ }
-+ AST_LIST_TRAVERSE(&bridge->waiting_list, participant, list) {
-+ handle_cli_confbridge_list_item(a, participant);
- }
- ao2_unlock(bridge);
- ao2_ref(bridge, -1);
-@@ -2440,6 +2448,27 @@ static struct ast_custom_function confbridge_info_function = {
- .read = func_confbridge_info,
- };
-
-+static void action_confbridgelist_item(struct mansession *s, const char *id_text, struct conference_bridge *bridge, struct conference_bridge_user *participant)
-+{
-+ astman_append(s,
-+ "Event: ConfbridgeList\r\n"
-+ "%s"
-+ "Conference: %s\r\n"
-+ "CallerIDNum: %s\r\n"
-+ "CallerIDName: %s\r\n"
-+ "Channel: %s\r\n"
-+ "Admin: %s\r\n"
-+ "MarkedUser: %s\r\n"
-+ "\r\n",
-+ id_text,
-+ bridge->name,
-+ S_COR(ast_channel_caller(participant->chan)->id.number.valid, ast_channel_caller(participant->chan)->id.number.str, "<unknown>"),
-+ S_COR(ast_channel_caller(participant->chan)->id.name.valid, ast_channel_caller(participant->chan)->id.name.str, "<no name>"),
-+ ast_channel_name(participant->chan),
-+ ast_test_flag(&participant->u_profile, USER_OPT_ADMIN) ? "Yes" : "No",
-+ ast_test_flag(&participant->u_profile, USER_OPT_MARKEDUSER) ? "Yes" : "No");
-+}
-+
- static int action_confbridgelist(struct mansession *s, const struct message *m)
- {
- const char *actionid = astman_get_header(m, "ActionID");
-@@ -2473,23 +2502,11 @@ static int action_confbridgelist(struct mansession *s, const struct message *m)
- ao2_lock(bridge);
- AST_LIST_TRAVERSE(&bridge->active_list, participant, list) {
- total++;
-- astman_append(s,
-- "Event: ConfbridgeList\r\n"
-- "%s"
-- "Conference: %s\r\n"
-- "CallerIDNum: %s\r\n"
-- "CallerIDName: %s\r\n"
-- "Channel: %s\r\n"
-- "Admin: %s\r\n"
-- "MarkedUser: %s\r\n"
-- "\r\n",
-- id_text,
-- bridge->name,
-- S_COR(ast_channel_caller(participant->chan)->id.number.valid, ast_channel_caller(participant->chan)->id.number.str, "<unknown>"),
-- S_COR(ast_channel_caller(participant->chan)->id.name.valid, ast_channel_caller(participant->chan)->id.name.str, "<no name>"),
-- ast_channel_name(participant->chan),
-- ast_test_flag(&participant->u_profile, USER_OPT_ADMIN) ? "Yes" : "No",
-- ast_test_flag(&participant->u_profile, USER_OPT_MARKEDUSER) ? "Yes" : "No");
-+ action_confbridgelist_item(s, id_text, bridge, participant);
-+ }
-+ AST_LIST_TRAVERSE(&bridge->waiting_list, participant, list) {
-+ total++;
-+ action_confbridgelist_item(s, id_text, bridge, participant);
- }
- ao2_unlock(bridge);
- ao2_ref(bridge, -1);