Asterisk-database: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Overview == Asterisk database 명령어 정리 == help == <pre> earth*CLI> help database database del -- Removes database key/value database deltree...") |
(→show) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 28: | Line 28: | ||
Value: 1488557490 | Value: 1488557490 | ||
</pre> | </pre> | ||
== show == | |||
현재 database 에 설정되어 있는 key 와 value 를 보여준다. | |||
<pre> | |||
Usage: database show [family [keytree]] | |||
OR: database show [family[/keytree]] | |||
Shows Asterisk database contents, optionally restricted | |||
to a given family, or family and keytree. The two arguments | |||
may be separated either by a space or by a slash. | |||
</pre> | |||
[[category: Asterisk]] |
Latest revision as of 14:13, 4 March 2017
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
show
현재 database 에 설정되어 있는 key 와 value 를 보여준다.
Usage: database show [family [keytree]] OR: database show [family[/keytree]] Shows Asterisk database contents, optionally restricted to a given family, or family and keytree. The two arguments may be separated either by a space or by a slash.