Asterisk-database

From 탱이의 잡동사니
Revision as of 15:43, 3 March 2017 by Pchero (talk | contribs) (Created page with "== Overview == Asterisk database 명령어 정리 == help == <pre> earth*CLI> help database database del -- Removes database key/value database deltree...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

Asterisk database 명령어 정리

help

earth*CLI> help database 
database del                   -- Removes database key/value
database deltree               -- Removes database keytree/values
database get                   -- Gets database value
database put                   -- Adds/updates database value
database query                 -- Run a user-specified query on the astdb
database show                  -- Shows database contents
database showkey               -- Shows database contents

get

지정한 family 와 key 에 설정된 값을 표시한다.

earth*CLI> help database get
Usage: database get <family> <key>
       Retrieves an entry in the Asterisk database for a given
       family and key.

Example

earth*CLI> database get dundi secretexpiry
Value: 1488557490