Asterisk-devstate: Difference between revisions

From 탱이의 잡동사니
Jump to navigation Jump to search
(Created page with "== Overview == Asterisk cli command devstate 내용 정리 == See also == category:asterisk")
 
No edit summary
Line 1: Line 1:
== Overview ==
== Overview ==
Asterisk cli command devstate 내용 정리
Asterisk cli command devstate 내용 정리
== 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>


== See also ==
== See also ==


[[category:asterisk]]
[[category:asterisk]]

Revision as of 13:55, 28 April 2016

Overview

Asterisk cli command devstate 내용 정리

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.

See also