]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Turning off premature media by default
authorOlle Johansson <oej@edvina.net>
Mon, 7 Sep 2009 11:55:00 +0000 (11:55 +0000)
committerOlle Johansson <oej@edvina.net>
Mon, 7 Sep 2009 11:55:00 +0000 (11:55 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216653 65c4cc65-6c06-0410-ace0-fbb531ad65f3

CHANGES
channels/chan_sip.c

diff --git a/CHANGES b/CHANGES
index f441ea0a8a60ac07d19b908fcca8fbe6ceafee2d..4d456895b4582ea65c8bc008e541f49c63f92b3c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -8,6 +8,12 @@
 ===
 ======================================================================
 
+SIP changes
+-----------
+ * Added a new option "prematuremedia" that defaults to "no". If you turn this
+   option on, chan_sip will not automatically initiate early media if it receives
+   audio from the incoming channel before there's been a progress indication.
+
 ----------------------------------------------------------------------------------
 --- Functionality changes from Asterisk 1.6.1.1 to Asterisk 1.6.1.2  -------------
 ----------------------------------------------------------------------------------
index e2848bbd1773490f6c8ba28f1e4cab0f4729963f..62d2e8a04c59e7392b966d27e31ef0879e94c2a0 100644 (file)
@@ -18705,7 +18705,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int
                                        st_interval = uac_max_se;
                                }
                        } else {
-                               st_interval = uac_min_se;
+                               st_interval = global_max_se;
                        }
                        break;
 
@@ -22721,7 +22721,7 @@ static int reload_config(enum channelreloadreason reason)
        snprintf(global_useragent, sizeof(global_useragent), "%s %s", DEFAULT_USERAGENT, ast_get_version());
        snprintf(global_sdpsession, sizeof(global_sdpsession), "%s %s", DEFAULT_SDPSESSION, ast_get_version());
        snprintf(global_sdpowner, sizeof(global_sdpowner), "%s", DEFAULT_SDPOWNER);
-       global_prematuremediafilter = TRUE;
+       global_prematuremediafilter = FALSE;
        ast_copy_string(default_notifymime, DEFAULT_NOTIFYMIME, sizeof(default_notifymime));
        ast_copy_string(global_realm, S_OR(ast_config_AST_SYSTEM_NAME, DEFAULT_REALM), sizeof(global_realm));
        ast_copy_string(default_callerid, DEFAULT_CALLERID, sizeof(default_callerid));