]> git.ipfire.org Git - thirdparty/asterisk.git/commit
func_presencestate: Return "not_set" when no data is set in AstDB 09/1409/1
authorIvan Poddubny <ivan.poddubny@gmail.com>
Wed, 7 Oct 2015 06:24:31 +0000 (09:24 +0300)
committerIvan Poddubny <ivan.poddubny@gmail.com>
Wed, 7 Oct 2015 06:46:36 +0000 (01:46 -0500)
commit3357678b949ebbc2f7aa00144d19bdbcfb1896b1
treee38194d13ea0f406ca3fd1de8e059a5bfa1a1778
parentb714b2152d2ee2f6599e9decbe927d4215b6169d
func_presencestate: Return "not_set" when no data is set in AstDB

Return AST_PRESENCE_NOT_SET when CustomPresence AstDB key does not
exist, i.e. when a new CustomPresence is added in the dialplan.

ASTERISK-25400 #close
Reported by: Andrew Nagy

Change-Id: I6fb17b16591b5a55fbffe96f3994ec26b1b1723a
funcs/func_presencestate.c