]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_sorcery_astdb: Filter fields to only the registered ones. 79/2879/1
authorJoshua Colp <jcolp@digium.com>
Thu, 19 May 2016 16:41:45 +0000 (13:41 -0300)
committerJoshua Colp <jcolp@digium.com>
Thu, 19 May 2016 22:47:21 +0000 (19:47 -0300)
commitddcf983e392c6eeeb925109961697992f341e5d5
treed4a07e01e93480309b3a9f63cc180a6132b8bdab
parent3296d2d194a3ed7d6ffefcd719b72e900aa4c850
res_sorcery_astdb: Filter fields to only the registered ones.

This change introduces the same filtering that is done in res_sorcery_realtime
to the res_sorcery_astdb module. This allows persisted sorcery objects
that may contain unknown fields to still be read in from the AstDB
and used. This is particularly useful when switching between different
versions of Asterisk that may have introduced additional fields.

ASTERISK-26014 #close

Change-Id: Ib655130485a3ccfd635b7ed5546010ca14690fb2
res/res_sorcery_astdb.c