diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2011-09-07 00:54:36 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2011-09-07 00:54:36 +0000 |
commit | f03bccdb4dcc1893acd2139f5a420c80ebdbecea (patch) | |
tree | f063176117468e13fcb3c769e9aae086a8663084 /contrib/realtime/postgresql | |
parent | f090651138a50f0d1f974f1223c48e2ccfd50850 (diff) |
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
Diffstat (limited to 'contrib/realtime/postgresql')
-rw-r--r-- | contrib/realtime/postgresql/realtime.sql | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/realtime/postgresql/realtime.sql b/contrib/realtime/postgresql/realtime.sql index 74b895738..fb474ebbe 100644 --- a/contrib/realtime/postgresql/realtime.sql +++ b/contrib/realtime/postgresql/realtime.sql @@ -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, |