Asterisk-core: Difference between revisions
Jump to navigation
Jump to search
Line 64: | Line 64: | ||
=== channels === | === channels === | ||
현재 설정된 채널들의 목록을 보여준다. | |||
<pre> | <pre> | ||
pchero*CLI> help core show channels | |||
Usage: core show channels [concise|verbose|count] | Usage: core show channels [concise|verbose|count] | ||
Lists currently defined channels and some information about them. If | Lists currently defined channels and some information about them. If | ||
Line 77: | Line 77: | ||
</pre> | </pre> | ||
Example | |||
<pre> | <pre> | ||
pchero*CLI> core show channels verbose | |||
Channel Context Extension Prio State Application Data CallerID Duration Accountcode PeerAccount BridgedTo | Channel Context Extension Prio State Application Data CallerID Duration Accountcode PeerAccount BridgedTo | ||
Local/200-pcherosoft DialLine 200-pcherosoftph 88 Up Dial SIP/200-pcherosoftphone20 600 00:03:08 SIP/200-pcherosoftph | Local/200-pcherosoft DialLine 200-pcherosoftph 88 Up Dial SIP/200-pcherosoftphone20 600 00:03:08 SIP/200-pcherosoftph |
Revision as of 15:12, 26 September 2016
Overview
Asterisk core 명령어 내용 정리
show
Asterisk 에 설정된 설정값을 확인한다.
saturn*CLI> core show application applications calls channel channels channeltype channeltypes codec codecs config device2extenstate file function functions hanguphandlers help hint hints image license profile settings sound sounds switches sysinfo taskprocessors threads translation uptime version warranty
settings
Example
PBX Core settings ----------------- Version: GIT-13-14b4111 Build Options: AST_DEVMODE, LOADABLE_MODULES, BUILD_NATIVE, OPTIONAL_API Maximum calls: Not set Maximum open file handles: Not set Root console verbosity: 0 Current console verbosity: 0 Debug level: 0 Maximum load average: 0.000000 Minimum free memory: 0 MB Startup time: 00:39:41 Last reload time: 06:29:11 System: Linux/3.16.0-4-amd64 built by pchero on x86_64 2015-12-08 11:42:30 UTC System name: Entity ID: 08:00:27:1f:0a:4b Default language: en Language prefix: Enabled User name and group: / Executable includes: Disabled Transcode via SLIN: Enabled Transmit silence during rec: Disabled Generic PLC: Enabled Min DTMF duration:: 80 * Subsystems ------------- Manager (AMI): Enabled Web Manager (AMI/HTTP): Disabled Call data records: Enabled Realtime Architecture (ARA): Disabled * Directories ------------- Configuration file: Configuration directory: /etc/asterisk Module directory: /usr/lib/asterisk/modules Spool directory: /var/spool/asterisk Log directory: /var/log/asterisk Run/Sockets directory: /var/run/asterisk PID file: /var/run/asterisk/asterisk.pid VarLib directory: /var/lib/asterisk Data directory: /var/lib/asterisk ASTDB: /var/lib/asterisk/astdb IAX2 Keys directory: /var/lib/asterisk/keys AGI Scripts directory: /var/lib/asterisk/agi-bin
channels
현재 설정된 채널들의 목록을 보여준다.
pchero*CLI> help core show channels Usage: core show channels [concise|verbose|count] Lists currently defined channels and some information about them. If 'concise' is specified, the format is abridged and in a more easily machine parsable format. If 'verbose' is specified, the output includes more and longer fields. If 'count' is specified only the channel and call count is output. The 'concise' option is deprecated and will be removed from future versions of Asterisk.
Example
pchero*CLI> core show channels verbose Channel Context Extension Prio State Application Data CallerID Duration Accountcode PeerAccount BridgedTo Local/200-pcherosoft DialLine 200-pcherosoftph 88 Up Dial SIP/200-pcherosoftphone20 600 00:03:08 SIP/200-pcherosoftph Local/200-pcherosoft DialLine 1 Up AppDial (Outgoing Line) 200 00:03:08 Local/200@DialAccoun Local/200@DuetNumber DuetNumber 1 Up AppDial (Outgoing Line) 200 00:03:08 Local/200@CallFromIn Local/200@DuetNumber DuetNumber s 12 Up Dial Local/200@DialAccount,360 600 00:03:08 Local/200@DialAccoun SIP/600-pchero-softp CallFromSipDevice s 43 Up Dial Local/200@CallFromInterna 600 00:03:08 Local/200@CallFromIn Local/200@CallFromIn pcheroDialDirect s 7 Up Dial Local/200@DuetNumber,30, 600 00:03:08 Local/200@DuetNumber Local/200@CallFromIn CallFromInternal 1 Up AppDial (Outgoing Line) 200 00:03:08 SIP/600-pchero-softp Local/200@DialAccoun DialAccount s 12 Up Dial Local/200-fake00085d13c6a 600 00:03:08 Local/200-pcherosoft Local/200@DialAccoun DialAccount 1 Up AppDial (Outgoing Line) 200 00:03:08 Local/200@DuetNumber SIP/200-pcherosoftph app_dial_gosub_virtu s 2 Up AppDial (Outgoing Line) 200 00:03:08 Local/200-pcherosoft 10 active channels 5 active calls 1242 calls processed vpbx120*CLI>
References
<references />