]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Revert code that changed SSRC for DTMF.
authorJeff Peeler <jpeeler@digium.com>
Tue, 7 Dec 2010 22:57:48 +0000 (22:57 +0000)
committerJeff Peeler <jpeeler@digium.com>
Tue, 7 Dec 2010 22:57:48 +0000 (22:57 +0000)
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@297823 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 0e3c315fd83343ddb41bec7bde831c6b080e003a..c96de9104f9a5b4857610f7742b965d6b857069a 100644 (file)
@@ -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, };