search for: function_db_read

Displaying 2 results from an estimated 2 matches for "function_db_read".

2007 May 14
1
function_db_read: DB requires an argument, DB(<family>/<key>)
from extensions.conf: exten = _X.,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})}) I basically try to lookup the CLIP and attach a name for each inbound call. This works fine, except when I have just restarted asterisk - at which time I've more than once seen the message from the subject. As far as I can tell, with my Set(CALLERID), I should always have an argument in the DB
2005 May 15
1
Old DBGet/DBPut vs. new Set(var=${DB(...
...DB(family/key)}=${foo}) I fail to see how DBGet and DBPut can be replaced by those two commands If I want to create a new database entry: DBPut(CFIM/200=300) I will create the entry if it doesn't exist With the new Set(${DB(CFIM/200)}=300) I get: May 16 12:39:39 WARNING[11111]: func_db.c:54 function_db_read: DB: CFIM/200 not found in database. -- Executing Set("SIP/ipp100-1d45", "=300") in new stack -- Executing Playback("SIP/ipp100-1d45", "auth-thankyou") in new stack as abviously DB(CFIM/200) always get replaced by its value which in this inst...