Fixed sample account registration query: account name was missing.

git-svn-id: http://yate.null.ro/svn/yate/trunk@4602 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2011-09-14 13:34:50 +00:00
parent 59182efdd3
commit 074d84e6de
1 changed files with 2 additions and 2 deletions

View File

@ -147,12 +147,12 @@
; Queries for registering as client to other servers
; query executed only once to create client registrations at startup
;initquery=SELECT protocol,username,password,server FROM accounts WHERE enabled IS TRUE
;initquery=SELECT account,protocol,username,password,server FROM accounts WHERE enabled IS TRUE
; poll on timer to update registrations if database was changed externally
;timerquery=BEGIN; \
; SELECT (CASE WHEN enabled IS FALSE THEN 'logout' ELSE 'login' END) AS operation,\
; protocol,username,password,server FROM accounts WHERE modified IS TRUE; \
; account,protocol,username,password,server FROM accounts WHERE modified IS TRUE; \
; UPDATE accounts SET modified=FALSE; \
; COMMIT