ASTERISK DATABASE

• astdb - simple database forms part of Asterisk

• Dial plan and CLI can insert and remove data

• Data stored in a file, so is retained across Asterisk reloads and server reboots

• Data stored in groupings of families containing keys

• Applications

• DBdel: Delete a key from the database

• DBdeltree: Delete a family or keytree from the database

• DBget: Retrieve a value from the database

• DBput: Store a value in the database
; start counting and store count progress in astdb
exten => 510,1,Set(COUNT=${DB(test/count)})
exten => 510,2,SayNumber(${COUNT})
exten => 510,3,SetVar(COUNT=$[${COUNT} + 1]
exten => 510,4,Set(DB(test/count)=${COUNT})
exten => 510,5,Goto(1)
exten => 510,102,Set(DB(test/count)=1)
exten => 510,103,Goto(1)

• Scaling Asterisk normally involves multiple boxes

• Split off functionality

• Conference server

• SIP registration server

• Use a central SIP proxy allow individual Asterisk boxes to query each other
























__________________________________________________
Free Web Hosting