Asterisk-devstate
Jump to navigation
Jump to search
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.