mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 15:29:05 +00:00
Rename 'canreinvite' option to 'directmedia', with backwards compatibility.
It is clear from multiple mailing list, forum, wiki and other sorts of posts
that users don't really understand the effects that the 'canreinvite' config
option actually has, and that in some cases they think that setting it to 'no'
will actually cause various other features (T.38, MOH, etc.) to not work properly,
when in fact this is not the case. This patch changes the proper name of the
option to what it should have been from the beginning ('directmedia'), but
preserves backwards compatibility for existing configurations.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -58,7 +58,7 @@ type=friend
|
||||
context=test11
|
||||
host=192.168.134.240 ;; the address of the host you will be running sipp on
|
||||
user=sipp
|
||||
canreinvite=no
|
||||
directmedia=no
|
||||
disallow=all
|
||||
allow=ulaw
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ CREATE TABLE ast_sip (
|
||||
callgroup VARCHAR(10) DEFAULT NULL,
|
||||
callerid VARCHAR(80) DEFAULT NULL,
|
||||
cancallforward CHAR(3) DEFAULT 'yes',
|
||||
canreinvite CHAR(3) DEFAULT 'yes',
|
||||
directmedia CHAR(3) DEFAULT 'yes',
|
||||
context VARCHAR(80) DEFAULT NULL,
|
||||
defaultip VARCHAR(15) DEFAULT NULL,
|
||||
dtmfmode VARCHAR(7) DEFAULT NULL,
|
||||
|
||||
@@ -146,7 +146,7 @@ threewaycalling = yes
|
||||
deletevoicemail = no
|
||||
autoprov = yes
|
||||
profile = polycom
|
||||
canreinvite = no
|
||||
directmedia = no
|
||||
nat = no
|
||||
fullname = User Two ; ${DISPLAY_NAME}
|
||||
secret = test ; ${SECRET}
|
||||
|
||||
Reference in New Issue
Block a user