FSCORE-274

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11315 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2009-01-20 18:36:02 +00:00
1 parent dc8762b02a
commit f71c5ae4c3
2 files changed
+19 -25

No files matched your search

@@ -1455,7 +1455,7 @@ static switch_status_t answer_call(char **argv, int argc, switch_stream_handle_t
} else {
switch_channel_t *channel = switch_core_session_get_channel(tp->session);
switch_set_flag_locked(tp, TFLAG_ANSWER);
switch_channel_answer(channel);
switch_channel_mark_answered(channel);
add_pvt(tp, PA_MASTER);
}
} else {
@@ -1469,7 +1469,7 @@ static switch_status_t answer_call(char **argv, int argc, switch_stream_handle_t
if (!switch_test_flag(tp, TFLAG_ANSWER)) {
switch_channel_t *channel = switch_core_session_get_channel(tp->session);
switch_set_flag_locked(tp, TFLAG_ANSWER);
switch_channel_answer(channel);
switch_channel_mark_answered(channel);
add_pvt(tp, PA_MASTER);
x++;
break;