aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-04 00:56:02 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-04 00:56:02 +0000
commit6336f21b68c4838da5270daf83683007ef6106e2 (patch)
tree47ba8de79203e96f227195406150f8cccc28c877 /apps/app_dial.c
parentc3b3bfc81b9cc8aa045c5db6f59ed15d38d20ed3 (diff)
complete previous commit.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47181 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r--apps/app_dial.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 4c6e68e42..231c5edb7 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -921,15 +921,8 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
struct ast_bridge_config config;
unsigned int calldurationlimit = 0;
- long timelimit = 0;
- long play_warning = 0;
- long warning_freq = 0;
- const char *warning_sound = NULL;
- const char *end_sound = NULL;
- const char *start_sound = NULL;
char *dtmfcalled = NULL, *dtmfcalling = NULL;
char status[256];
- int play_to_caller = 0, play_to_callee = 0;
int sentringing = 0, moh = 0;
const char *outbound_group = NULL;
int result = 0;
@@ -1603,13 +1596,6 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
}
if (!res) {
- struct ast_bridge_config config;
-
- memset(&config,0,sizeof(struct ast_bridge_config));
- if (play_to_caller)
- ast_set_flag(&(config.features_caller), AST_FEATURE_PLAY_WARNING);
- if (play_to_callee)
- ast_set_flag(&(config.features_callee), AST_FEATURE_PLAY_WARNING);
if (ast_test_flag(peerflags, OPT_CALLEE_TRANSFER))
ast_set_flag(&(config.features_callee), AST_FEATURE_REDIRECT);
if (ast_test_flag(peerflags, OPT_CALLER_TRANSFER))
@@ -1627,12 +1613,6 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
if (ast_test_flag(peerflags, OPT_CALLER_PARK))
ast_set_flag(&(config.features_caller), AST_FEATURE_PARKCALL);
- config.timelimit = timelimit;
- config.play_warning = play_warning;
- config.warning_freq = warning_freq;
- config.warning_sound = warning_sound;
- config.end_sound = end_sound;
- config.start_sound = start_sound;
if (moh) {
moh = 0;
ast_moh_stop(chan);