[asterisk-users] Problem loading AstDB into variable on restart

Yuan LIU yliu11 at hotmail.com
Sun Feb 4 15:27:27 MST 2007


I define

[globals]
myvar = ${DB(store/myvar)}

---
But when I want to use ${myvar} in the dial plan, I found that the variable 
is null when Asterisk is restarted.  Only a reload would force globals to 
read AstDB.  Other variables in globals loads fine.

Any idea? (Asterisk 1.2.13)

Yuan Liu




More information about the asterisk-users mailing list