Asterisk-devstate: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Overview == Asterisk cli command devstate 내용 정리 == See also == category:asterisk") |
(→list) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
Asterisk cli command devstate 내용 정리 | Asterisk cli command devstate 내용 정리 | ||
== help == | |||
<pre> | |||
pluto*CLI> help devstate | |||
devstate change -- Change a custom device state | |||
devstate list -- List currently known custom device states | |||
</pre> | |||
== change == | |||
Custom device 의 상태 정보를 변경한다. | |||
<pre> | |||
asterisk*CLI> devstate change help | |||
Usage: devstate change <device> <state> | |||
Change a custom device to a new state. | |||
The possible values for the state are: | |||
UNKNOWN | NOT_INUSE | INUSE | BUSY | INVALID | UNAVAILABLE | RINGING | RINGINUSE | ONHOLD | |||
Examples: | |||
devstate change Custom:mystate1 INUSE | |||
devstate change Custom:mystate1 NOT_INUSE | |||
</pre> | |||
== list == | |||
현재 등록된 custom device의 상태 정보를 출력한다. | |||
<pre> | |||
asterisk*CLI> devstate list help | |||
Usage: devstate list | |||
List all custom device states that have been set by using | |||
the DEVICE_STATE dialplan function. | |||
</pre> | |||
=== Example === | |||
<pre> | |||
pluto*CLI> devstate list | |||
--------------------------------------------------------------------- | |||
--- Custom Device States -------------------------------------------- | |||
--------------------------------------------------------------------- | |||
--- | |||
--- Name: 'Custom:pluto' State: 'INUSE' | |||
--- | |||
--- Name: 'Custom:givemeasuperpower-244Queue' State: 'NOT_INUSE' | |||
--- | |||
--- Name: 'Custom:givemeasuperpower-600Queue' State: 'NOT_INUSE' | |||
</pre> | |||
== See also == | == See also == | ||
[[category:asterisk]] | [[category:asterisk]] |
Latest revision as of 09:16, 18 October 2016
Overview
Asterisk cli command devstate 내용 정리
help
pluto*CLI> help devstate devstate change -- Change a custom device state devstate list -- List currently known custom device states
change
Custom device 의 상태 정보를 변경한다.
asterisk*CLI> devstate change help Usage: devstate change <device> <state> Change a custom device to a new state. The possible values for the state are: UNKNOWN | NOT_INUSE | INUSE | BUSY | INVALID | UNAVAILABLE | RINGING | RINGINUSE | ONHOLD Examples: devstate change Custom:mystate1 INUSE devstate change Custom:mystate1 NOT_INUSE
list
현재 등록된 custom device의 상태 정보를 출력한다.
asterisk*CLI> devstate list help Usage: devstate list List all custom device states that have been set by using the DEVICE_STATE dialplan function.
Example
pluto*CLI> devstate list --------------------------------------------------------------------- --- Custom Device States -------------------------------------------- --------------------------------------------------------------------- --- --- Name: 'Custom:pluto' State: 'INUSE' --- --- Name: 'Custom:givemeasuperpower-244Queue' State: 'NOT_INUSE' --- --- Name: 'Custom:givemeasuperpower-600Queue' State: 'NOT_INUSE'