Asterisk-devstate: Difference between revisions

From 탱이의 잡동사니
Jump to navigation Jump to search
No edit summary
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 ==
== change ==

Revision as of 09:15, 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.

See also