aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2010-12-07 22:57:48 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2010-12-07 22:57:48 +0000
commit329ee1b112ba71f6c204b8dab7b7bb0cda3f8c95 (patch)
tree4645a9f73a0d7cc9c8e4a71ed61b30eb8c0f133f
parent19bef8da3fab640310e39614fdfb0082449c6dc5 (diff)
Revert code that changed SSRC for DTMF.
Some previous behavior was attempted to be restored, but mistakingly I did not realize that the previous behavior was incorrect. This fixes DTMF not being detected since DTMF shouldn't cause the SSRC to change. (related to issue #17404) (closes issue #18189) (closes issue #18352) Reported by: marcbou Tested by: cmbaker82 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@297823 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--main/channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/channel.c b/main/channel.c
index 0e3c315fd..c96de9104 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -4790,8 +4790,8 @@ enum ast_bridge_result ast_channel_bridge(struct ast_channel *c0, struct ast_cha
ast_set_flag(c0, AST_FLAG_END_DTMF_ONLY);
/* Before we enter in and bridge these two together tell them both the source of audio has changed */
- ast_indicate(c0, AST_CONTROL_SRCCHANGE);
- ast_indicate(c1, AST_CONTROL_SRCCHANGE);
+ ast_indicate(c0, AST_CONTROL_SRCUPDATE);
+ ast_indicate(c1, AST_CONTROL_SRCUPDATE);
for (/* ever */;;) {
struct timeval now = { 0, };