Fixed bad naming of queries.

git-svn-id: http://yate.null.ro/svn/yate/trunk@1492 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2007-11-26 15:49:34 +00:00
parent 5a14ffe404
commit f3c6f29dfd
1 changed files with 3 additions and 3 deletions

View File

@ -135,13 +135,13 @@ cdr_finalize=UPDATE users SET inuse=(CASE WHEN inuse>0 THEN inuse-1 ELSE 0 END)
; Queries for registering as client to other servers
; query executed only once to create client registrations at startup
queryinit=SELECT enabled,protocol,username,password,server FROM accounts WHERE enabled IS TRUE
initquery=SELECT enabled,protocol,username,password,server FROM accounts WHERE enabled IS TRUE
; poll on timer to update registrations if database was changed externally
querytimer=BEGIN; SELECT enabled,protocol,username,password,server FROM accounts WHERE modified IS TRUE; UPDATE accounts SET modified=FALSE; COMMIT
timerquery=BEGIN; SELECT enabled,protocol,username,password,server FROM accounts WHERE modified IS TRUE; UPDATE accounts SET modified=FALSE; COMMIT
; update account status after receiving an user.notify
querystatus=UPDATE accounts SET status='${status}' WHERE account='${internalaccount}'
statusquery=UPDATE accounts SET status='${status}' WHERE account='${internalaccount}'
[resource.subscribe]