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:
parent
59182efdd3
commit
074d84e6de
|
@ -147,12 +147,12 @@
|
||||||
; Queries for registering as client to other servers
|
; Queries for registering as client to other servers
|
||||||
|
|
||||||
; query executed only once to create client registrations at startup
|
; 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
|
; poll on timer to update registrations if database was changed externally
|
||||||
;timerquery=BEGIN; \
|
;timerquery=BEGIN; \
|
||||||
; SELECT (CASE WHEN enabled IS FALSE THEN 'logout' ELSE 'login' END) AS operation,\
|
; 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; \
|
; UPDATE accounts SET modified=FALSE; \
|
||||||
; COMMIT
|
; COMMIT
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue