mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Implement the '!' negation element to negate codecs directly in the allow keyword.
This permits the list of codecs to be specified in one configuration line, instead of two or more, generally with the aim of either allowing all codecs with the exception of a few or disallowing most but permitting a few. Review: https://reviewboard.asterisk.org/r/1411/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@334574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -37,8 +37,7 @@ CREATE TABLE `iaxfriends` (
|
||||
`transfer` varchar(10) NULL, -- mediaonly/yes/no
|
||||
`jitterbuffer` varchar(3) NULL, -- yes/no
|
||||
`forcejitterbuffer` varchar(3) NULL, -- yes/no
|
||||
`disallow` varchar(40) NULL, -- all/{list-of-codecs}
|
||||
`allow` varchar(40) NULL, -- all/{list-of-codecs}
|
||||
`allow` varchar(200) NULL, -- all/{list-of-codecs}
|
||||
`codecpriority` varchar(40) NULL,
|
||||
`qualify` varchar(10) NULL, -- yes/no/{number of milliseconds}
|
||||
`qualifysmoothing` varchar(10) NULL, -- yes/no
|
||||
|
@@ -28,8 +28,7 @@ CREATE TABLE IF NOT EXISTS `sipfriends` (
|
||||
`callgroup` varchar(40) DEFAULT NULL,
|
||||
`pickupgroup` varchar(40) DEFAULT NULL,
|
||||
`language` varchar(40) DEFAULT NULL,
|
||||
`allow` varchar(40) DEFAULT NULL,
|
||||
`disallow` varchar(40) DEFAULT NULL,
|
||||
`allow` varchar(200) DEFAULT NULL,
|
||||
`insecure` varchar(40) DEFAULT NULL,
|
||||
`trustrpid` enum('yes','no') DEFAULT NULL,
|
||||
`progressinband` enum('yes','no','never') DEFAULT NULL,
|
||||
|
@@ -61,8 +61,7 @@ rtpholdtimeout character varying(3),
|
||||
secret character varying(80),
|
||||
"type" character varying DEFAULT 'friend' NOT NULL,
|
||||
username character varying(80) DEFAULT '' NOT NULL,
|
||||
disallow character varying(100) DEFAULT 'all',
|
||||
allow character varying(100) DEFAULT 'g729;ilbc;gsm;ulaw;alaw',
|
||||
allow character varying(200) DEFAULT '!all,g729,ilbc,gsm,ulaw,alaw',
|
||||
musiconhold character varying(100),
|
||||
regseconds bigint DEFAULT 0::bigint NOT NULL,
|
||||
ipaddr character varying(40) DEFAULT '' NOT NULL,
|
||||
|
Reference in New Issue
Block a user