elastix82*CLI> core show application  SoftHangup

-= Info about application 'SoftHangup' =-

[Synopsis]
Hangs up the requested channel.

[Description]
Hangs up the requested channel.  If there are no channels to  hangup, the
application will report it.

[Syntax]
SoftHangup(Technology/Resource[,options])

[Arguments]
options
    a: Hang up all channels on a specified device instead of a single
    resource

===========================================
elastix82*CLI> core show application  ImportVar

-= Info about application 'ImportVar' =-

[Synopsis]
Import a variable from a channel into a new variable.

[Description]
This application imports a <variable> from the specified <channel> (as opposed
to the current one) and stores it as a variable (<newvar>) in the current
channel (the channel that is calling this application). Variables created
by this application have the same inheritance properties as those created
with the 'Set' application.

[Syntax]
ImportVar(newvar=channelname,variable)

[Arguments]
Not available

[See Also]
Set()

================
elastix82*CLI> core show application  TrySystem

-= Info about application 'TrySystem' =-

[Synopsis]
Try executing a system command.

[Description]
Executes a command  by  using  system().
Result of execution is returned in the ${SYSTEMSTATUS} channel variable:
${SYSTEMSTATUS}:
    FAILURE: Could not execute the specified command.
    SUCCESS: Specified command successfully executed.
    APPERROR: Specified command successfully executed, but returned error
    code.

[Syntax]
TrySystem(command)

[Arguments]
command
    Command to execute

[See Also]
Not available
elastix82*CLI>

===============
elastix82*CLI> core show application  Verbose

-= Info about application 'Verbose' =-

[Synopsis]
Send arbitrary text to verbose output.

[Description]
Sends an arbitrary text message to verbose output.

[Syntax]
Verbose([level,]message)

[Arguments]
level
    Must be an integer value.  If not specified, defaults to 0.
message
    Output text message.

[See Also]
Not available
============
elastix82*CLI> core show application ExternalIVR

-= Info about application 'ExternalIVR' =-

[Synopsis]
Interfaces with an external IVR application.

[Description]
Either forks a process to run given command or makes a socket to connect to
given host and starts a generator on the channel. The generator's play list
is controlled by the external application, which can add and clear entries
via simple commands issued over its stdout. The external application will
receive all DTMF events received on the channel, and notification if the
channel is hung up. The received on the channel, and notification if the
channel is hung up. The application will not be forcibly terminated when the
channel is hung up. For more information see "doc/AST.pdf".

[Syntax]
ExternalIVR(command|ivr://host([arg1][,arg2[,...]])[,options])

[Arguments]
options
    n: Tells ExternalIVR() not to answer the channel.

i: Tells ExternalIVR() not to send a hangup and exit when the channel
    receives a hangup, instead it sends an 'I' informative message meaning
    that the external application MUST hang up the call with an 'H' command.

d: Tells ExternalIVR() to run on a channel that has been hung up
    and will not look for hangups. The external application must exit with
    an 'E' command.

[See Also]
Not available

================
elastix82*CLI> core show application SetMusicOnHold

-= Info about application 'SetMusicOnHold' =-

[Synopsis]
Set default Music On Hold class.

[Description]
!!! DEPRECATED. USe Set(CHANNEL(musicclass)=...) instead !!!
Sets the default class for music on hold for a given channel. When music
on hold is activated, this class will be used to select which music is played.
!!! DEPRECATED. USe Set(CHANNEL(musicclass)=...) instead !!!

[Syntax]
SetMusicOnHold(class)

[Arguments]
Not available

[See Also]
Not available
elastix82*CLI>

============
elastix82*CLI> core show application MusicOnHold

-= Info about application 'MusicOnHold' =-

[Synopsis]
Play Music On Hold indefinitely.

[Description]
Plays hold music specified by class. If omitted, the default music source
for the channel will be used. Change the default class with Set(CHANNEL(m
usicclass)=...). If duration is given, hold music will be played specified
number of seconds. If duration is ommited, music plays indefinitely. Returns
'0' when done, '-1' on hangup.
This application does not automatically answer and should be preceeded by
an application such as Answer() or Progress().

[Syntax]
MusicOnHold(class[,duration])

[Arguments]
Not available

[See Also]
Not available
elastix82*CLI>

=========
ParkedCall
PickupChan

=========
elastix82*CLI> core show application RetryDial

-= Info about application 'RetryDial' =-

[Synopsis]
Place a call, retrying on failure allowing an optional exit extension.

[Description]
This application will attempt to place a call using the normal Dial
application. If no channel can be reached, the <announce> file will be played.
Then, it will wait <sleep> number of seconds before retrying the call. After
<retries> number of attempts, the calling channel will continue at the next
priority in the dialplan. If the <retries> setting is set to 0, this
application will retry endlessly. While waiting to retry a call, a 1 digit
extension may be dialed. If that extension exists in either the context defined
in ${EXITCONTEXT} or the current one, The call will jump to that extension
immediately. The <dialargs> are specified in the same format that arguments
are provided to the Dial application.

[Syntax]
RetryDial(announce,sleep,retries,dialargs)

[Arguments]
announce
    Filename of sound that will be played when no channel can be reached
sleep
    Number of seconds to wait after a dial attempt failed before a new
    attempt is made
retries
    Number of retries
    When this is reached flow will continue at the next priority in the
    dialplan
dialargs
    Same format as arguments provided to the Dial application

[See Also]
Not available

==========
elastix82*CLI> core show application BackgroundDetect

-= Info about application 'BackgroundDetect' =-

[Synopsis]
Background a file with talk detect.

[Description]
Plays back <filename>, waiting for interruption from a given digit (the digit
must start the beginning of a valid extension, or it will be ignored). During
the playback of the file, audio is monitored in the receive direction, and
if a period of non-silence which is greater than <min> ms yet less than <max>
ms is followed by silence for at least <sil> ms, which occurs during the first
<analysistime> ms, then the audio playback is aborted and processing jumps
to the <talk> extension, if available.

[Syntax]
BackgroundDetect(filename[,sil[,min[,max[,analysistime]]]])

[Arguments]
sil
    If not specified, defaults to '1000'.
min
    If not specified, defaults to '100'.
max
    If not specified, defaults to 'infinity'.
analysistime
    If not specified, defaults to 'infinity'.

[See Also]
Not available

=============
lastix82*CLI> core show application ChanIsAvail

-= Info about application 'ChanIsAvail' =-

[Synopsis]
Check channel availability

[Description]
This application will check to see if any of the specified channels are
available.
This application sets the following channel variables:
${AVAILCHAN}: The name of the available channel, if one exists
${AVAILORIGCHAN}: The canonical channel name that was used to create the
channel
${AVAILSTATUS}: The device state for the device
${AVAILCAUSECODE}: The cause code returned when requesting the channel

[Syntax]
ChanIsAvail([Technology2/Resource2[&...]][,options])

[Arguments]
Technology2/Resource2
    Optional extra devices to check
    If you need more then one enter them as Technology2/Resource2&Te
    chnology3/Resourse3&.....
Technology/Resource
    Specification of the device(s) to check.  These must be in the format
    of  'Technology/Resource', where <Technology> represents a particular
    channel driver, and <Resource> represents a resource available to that
    particular channel driver.
options
    a: Check for all available channels, not only the first one

s: Consider the channel unavailable if the channel is in use at all

t: Simply checks if specified channels exist in the channel list

[See Also]
Not available
elastix82*CLI>

=========
ConfBridge

=========
DBdeltree

==========
lastix82*CLI> core show application Directory

-= Info about application 'Directory' =-

[Synopsis]
Provide directory of voicemail extensions.

[Description]
This application will present the calling channel with a directory of
extensions from which they can search by name. The list of names and
corresponding extensions is retrieved from the voicemail configuration file,
"voicemail.conf".
This application will immediately exit if one of the following DTMF digits
are received and the extension to jump to exists:
'0' - Jump to the 'o' extension, if it exists.
'*' - Jump to the 'a' extension, if it exists.

[Syntax]
Directory([vm-context][,dial-context[,options]])

[Arguments]
vm-context
    This is the context within voicemail.conf to use for the Directory.
    If not  specified and 'searchcontexts=no' in  "voicemail.conf", then
    'default'  will be assumed.
dial-context
    This is the dialplan context to use when looking for an extension
    that the user has selected, or when jumping to the 'o' or 'a' extension.
    If not specified, the current context will be used.
options
    e: In addition to the name, also read the extension number to the
    caller before presenting dialing options.

f(n): Allow the caller to enter the first name of a user in the
    directory instead of using the last name.  If specified, the optional
    number argument will be used for the number of characters the user should
    enter.

l(n): Allow the caller to enter the last name of a user in the
    directory.  This is the default.  If specified, the optional number
    argument will be used for the number of characters the user should enter.

b(n):  Allow the caller to enter either the first or the last name
    of a user in the directory.  If specified, the optional number argument
    will be used for the number of characters the user should enter.

m: Instead of reading each name sequentially and asking for
    confirmation, create a menu of up to 8 names.

n: Read digits even if the channel is not answered.

p(n): Pause for n milliseconds after the digits are typed.  This
    is helpful for people with cellphones, who are not holding the receiver
    to their ear while entering DTMF.

NOTE: Only one of the <f>, <l>, or <b> options may be specified.
    *If more than one is specified*, then Directory will act as  if <b> was
    specified.  The number of characters for the user to type defaults to
    '3'.

[See Also]
Not available

============
elastix82*CLI> core show application MYSQL

-= Info about application 'MYSQL' =-

[Synopsis]
Do several mySQLy things

[Description]
MYSQL():  Do several mySQLy things
Syntax:
  MYSQL(Set timeout <num>)
    Set the connection timeout, in seconds.
  MYSQL(Connect connid dhhost dbuser dbpass dbname [dbcharset])  ##居然可以指定字符集
    Connects to a database.  Arguments contain standard MySQL parameters
    passed to function mysql_real_connect.  Optional parameter dbcharset
    defaults to 'latin1'.  Connection identifer returned in ${connid}
  MYSQL(Query resultid ${connid} query-string)
    Executes standard MySQL query contained in query-string using established
    connection identified by ${connid}. Result of query is stored in ${resultid}.
  MYSQL(Nextresult resultid ${connid}
    If last query returned more than one result set, it stores the next
    result set in ${resultid}. It's useful with stored procedures
  MYSQL(Fetch fetchid ${resultid} var1 var2 ... varN)
    Fetches a single row from a result set contained in ${result_identifier}.
    Assigns returned fields to ${var1} ... ${varn}.  ${fetchid} is set TRUE
    if additional rows exist in result set.
  MYSQL(Clear ${resultid})
    Frees memory and datastructures associated with result set.
  MYSQL(Disconnect ${connid})
    Disconnects from named connection to MySQL.
  On exit, always returns 0. Sets MYSQL_STATUS to 0 on success and -1 on error.

[Syntax]
Not available

=============
SendSMS

Asterisk重要App的更多相关文章

  1. 转 asterisk app命令中文翻译

    常规指令 Authenticate:鉴别用户 VMAuthenticate:根据“voicemail.conf”鉴别用户 Curl:接受外接URLs的修复.支持POSTing DUNDiLookup: ...

  2. 提交App到Apple Store(Xcode4)

    昨 天终于顺利把公司的App提交了,还是很开心的.这是我第一个开发超过2个月的项目,开发期间学到了很多东西,接下来的时间我会逐渐梳理一下.来个倒叙, 今天就先说下怎么提交的吧.Xcode4以后,提交过 ...

  3. Asterisk 未来之路3.0_0007

    原文:Asterisk 未来之路3.0_0007 Modules Asterisk 是基于模块构建的.一个模块提供某个特定的功能,它是动态的被装载.比如:信道驱动(chan_sip.so),或可以连接 ...

  4. 6、二、App Components(应用程序组件):1、Intents and Intent Filters(意图和意图过滤器)

    1.Intents and Intent Filters(意图和意图过滤器) 1.0.Intents and Intent Filters(意图和意图过滤器) An Intent is a messa ...

  5. 【转】My App Crashed, Now What? – Part 1

    原文地址:http://www.raywenderlich.com/10209/my-app-crashed-now-what-part-1  By Matthijs Hollemans on Mar ...

  6. Asterisk func group

    Synopsis Gets, sets or clears the channel group. Each channel can only be member of exactly one grou ...

  7. asterisk 问题

    Q:SIP可以呼通,但听不到声音A:一般是NAT问题造成.如果Asterisk处在NAT的后面,则Asterisk的配置如下: ------------------------------------ ...

  8. Asterisk 代码架构概述

    from:http://blog.csdn.net/yetyongjin/article/details/7594447 近日分析Asterisk 1.8源码.Asterisk trunk上有这篇架构 ...

  9. App开发:模拟服务器数据接口 - MockApi

    为了方便app开发过程中,不受服务器接口的限制,便于客户端功能的快速测试,可以在客户端实现一个模拟服务器数据接口的MockApi模块.本篇文章就尝试为使用gradle的android项目设计实现Moc ...

随机推荐

  1. Windows 7 + PHP 5.3 + WAMP 下 Imagick 扩展安装

    1.首先,下载 ImageMagick 安装包.下载地址 下载后运行此安装包.在系统环境变量中添加 MAGICK_HOME 变量,指向安装目录下的modules\coders. 2.下载 Imagic ...

  2. 微信小程序代码片段

    微信小程序代码片段是一种可分享的小项目,可用于分享小程序和小游戏的开发经验.展示组件和 API 的使用.复现开发问题等等.分享代码片段会得到一个链接,所有拥有此分享链接的人可以在工具中导入此代码片段. ...

  3. stm32 ADC配置

    STM32 的 ADC 是 12 位逐次逼近型的模拟数字转换器,它有 18 个通道,可测量 16 个外部和 2 个内部信号源 各通道的 A/D 转换可以单次.连续.扫描或间断模式执行. ADC 的结果 ...

  4. Java工具创建密钥库,用于Unity 3D打包、签名、发布

    Java工具创建密钥库 本文提供全流程,中文翻译.Chinar坚持将简单的生活方式,带给世人!(拥有更好的阅读体验 -- 高分辨率用户请根据需求调整网页缩放比例) Chinar -- 心分享.心创新! ...

  5. css里涉及到定位相关的example实例

    一,情景导入:正常文档流:指的是HTML文档在进行内容布局时所遵循的从左到右,从上到下的表现方式.HTML中的大多数元素都处在正常的文档流中,而一个元素要脱离正常流的唯一途径就是浮动或定位.二,定位的 ...

  6. 有向图与无向图的合并操作区别D(递归与并查集)

    有向图的合并,典型问题:通知小弟(信息只能单向传播)https://www.nowcoder.com/acm/contest/76/E 无向图的合并,典型问题:修道路问题 由于无向图只要二者有联系即可 ...

  7. 最短路--spfa+队列优化模板

    spfa普通版就不写了,优化还是要的昂,spfa是可以判负环,接受负权边和重边的,判断负环只需要另开一个数组记录每个结点的入队次数,当有任意一个结点入队大于点数就表明有负环存在 #include< ...

  8. test20190324 树

    题意 树(tree.cpp/c/pas) [题目背景] 这道题标算在评测机上的时间约为自己电脑的2/3 [问题描述] [输入格式] 共 n+2 行.第 1 行 1 个数,n. 后面 2-n 行,每行两 ...

  9. Linux 'XXXXXX' "is not in the sudoers file. This incident will be reported" 解决方法

    添加方法如下: 1.进入root模式su -  注意:su和-之间有空格输入当前用户的密码 2.添加写权限chmod u+w /etc/sudoers 3.将自己加入到sudoers中 gedit / ...

  10. sdut2408 pick apples (贪心+背包)山东省第三届ACM省赛

    版权声明:本文为博主原创文章.未经博主同意不得转载. https://blog.csdn.net/svitter/article/details/24642587 本文出自:http://blog.c ...