Asterisk-dialplan: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Overview == Asterisk dialplan 명령어 정리 == help == <pre> pluto*CLI> help dialplan dialplan add extension -- Add new extension into context dialplan add igno...") |
No edit summary |
||
Line 22: | Line 22: | ||
dialplan show chanvar -- Show channel variables | dialplan show chanvar -- Show channel variables | ||
dialplan show globals -- Show global dialplan variables | dialplan show globals -- Show global dialplan variables | ||
</pre> | |||
== show == | |||
설정된 dialplan 의 내용을 보여준다. | |||
<pre> | |||
pluto*CLI> help dialplan show | |||
Usage: dialplan show [[exten@]context] | |||
Show dialplan | |||
</pre> | |||
Example | |||
<pre> | |||
pluto*CLI> dialplan show public | |||
[ Context 'public' created by 'pbx_config' ] | |||
Include => 'demo' [pbx_config] | |||
pluto*CLI> dialplan show demo | |||
[ Context 'demo' created by 'pbx_config' ] | |||
'#' => 1. Playback(demo-thanks) [pbx_config] | |||
2. Hangup() [pbx_config] | |||
'1000' => 1. Goto(default,s,1) [pbx_config] | |||
'1234' => 1. Playback(transfer,skip) [pbx_config] | |||
2. Gosub(${EXTEN},stdexten(${GLOBAL(CONSOLE)})) [pbx_config] | |||
3. Goto(default,s,1) [pbx_config] | |||
... | |||
-= 16 extensions (36 priorities) in 1 context. =- | |||
</pre> | </pre> | ||
[[category:asterisk]] | [[category:asterisk]] |
Revision as of 08:34, 12 October 2016
Overview
Asterisk dialplan 명령어 정리
help
pluto*CLI> help dialplan dialplan add extension -- Add new extension into context dialplan add ignorepat -- Add new ignore pattern dialplan add include -- Include context in other context dialplan debug -- Show fast extension pattern matching data structures dialplan reload -- Reload extensions and *only* extensions dialplan remove context -- Remove a specified context dialplan remove extension -- Remove a specified extension dialplan remove ignorepat -- Remove ignore pattern from context dialplan remove include -- Remove a specified include from context dialplan save -- Save current dialplan into a file dialplan set chanvar -- Set a channel variable dialplan set extenpatternmatchnew false -- Use the Old extension pattern matching algorithm. dialplan set extenpatternmatchnew true -- Use the New extension pattern matching algorithm. dialplan set global -- Set global dialplan variable dialplan show -- Show dialplan dialplan show chanvar -- Show channel variables dialplan show globals -- Show global dialplan variables
show
설정된 dialplan 의 내용을 보여준다.
pluto*CLI> help dialplan show Usage: dialplan show [[exten@]context] Show dialplan
Example
pluto*CLI> dialplan show public [ Context 'public' created by 'pbx_config' ] Include => 'demo' [pbx_config] pluto*CLI> dialplan show demo [ Context 'demo' created by 'pbx_config' ] '#' => 1. Playback(demo-thanks) [pbx_config] 2. Hangup() [pbx_config] '1000' => 1. Goto(default,s,1) [pbx_config] '1234' => 1. Playback(transfer,skip) [pbx_config] 2. Gosub(${EXTEN},stdexten(${GLOBAL(CONSOLE)})) [pbx_config] 3. Goto(default,s,1) [pbx_config] ... -= 16 extensions (36 priorities) in 1 context. =-