asterisk标准通道变量

[i=s] 本帖最后由 asterisk_fans 于 2009-12-18 22:09 编辑 [/i]

${CDR(accountcode)} * Account code (if specified)
${BLINDTRANSFER} The name of the channel on the other side of a blind transfer
${BRIDGEPEER} Bridged peer
${BRIDGEPVTCALLID} Bridged peer PVT call ID (SIP Call ID if a SIP call)
${CALLERID(ani)} * Caller ANI (PRI channels)
${CALLERID(ani2)} * ANI2 (Info digits) also called Originating line information or OLI
${CALLERID(all)} * Caller ID
${CALLERID(dnid)} * Dialed Number Identifier
${CALLERID(name)} * Caller ID Name only
${CALLERID(num)} * Caller ID Number only
${CALLERID(rdnis)} * Redirected Dial Number ID Service
${CALLINGANI2} * Caller ANI2 (PRI channels)
${CALLINGPRES} * Caller ID presentation for incoming calls (PRI channels)
${CALLINGTNS} * Transit Network Selector (PRI channels)
${CALLINGTON} * Caller Type of Number (PRI channels)
${CHANNEL} * Current channel name
${CONTEXT} * Current context
${DATETIME} * Current date time in the format: DDMMYYYY-HH:MM:SS
(Deprecated; use ${STRFTIME(${EPOCH},,%d%m%Y-%H:%M:%S)})
${DB_RESULT} Result value of DB_EXISTS() dial plan function
${EPOCH} * Current unix style epoch
${EXTEN} * Current extension
${ENV(VAR)} Environmental variable VAR
${GOTO_ON_BLINDXFR} Transfer to the specified context/extension/priority
after a blind transfer (use ^ characters in place of
| to separate context/extension/priority when setting
this variable from the dialplan)
${HANGUPCAUSE} * Asterisk cause of hangup (inbound/outbound)
${HINT} * Channel hints for this extension
${HINTNAME} * Suggested Caller*ID name for this extension
${INVALID_EXTEN} The invalid called extension (used in the “i” extension)
${LANGUAGE} * Current language (Deprecated; use ${LANGUAGE()})
${LEN(VAR)} * String length of VAR (integer)
${PRIORITY} * Current priority in the dialplan
${PRIREDIRECTREASON} Reason for redirect on PRI, if a call was directed
${TIMESTAMP} * Current date time in the format: YYYYMMDD-HHMMSS
(Deprecated; use ${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)})
${TRANSFER_CONTEXT} Context for transferred calls
${FORWARD_CONTEXT} Context for forwarded calls
${UNIQUEID} * Current call unique identifier
${SYSTEMNAME} * value of the systemname option of asterisk.conf
${ENTITYID} * Global Entity ID set automatically, or from asterisk.conf

主题测试文章,只做测试使用。发布者:zhangyang,转转请注明出处:https://www.voip88.com/asterisk%e6%a0%87%e5%87%86%e9%80%9a%e9%81%93%e5%8f%98%e9%87%8f/

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022年 8月 26日 下午3:24
下一篇 2022年 8月 26日 下午3:25

相关推荐

  • sangoma 亮相CeBIT Hannover 2010

    [float=left][url=http://www.cebit.de/homepage_e][img]http://www.sangoma.com/assets/images/events/cebit_0306.gif[/img][/url][/float] [b][url=http://www.cebit.de/homepage_e]CeBIT Han…

    文档 2022年 8月 26日
    1400
  • asterisk计费系统?

    大家的计费系统都怎么实现啊?我想用libradiusclient-ng+freeradius来实现可不可以啊?但是找不到比较详细的资料,哪位能不能大体的描述一下过程啊?谢谢

    文档 2022年 8月 26日
    1100
  • dahdi_channels.conf与chan_dahdi.conf的疑惑

    昨天google了一天终于搞定了我的X100P.发现网上基本还是zaptel的天下dahdi的帖子很少.在仅有的帖子当中也没说清这两个文件的关系.按照注释说明,dahdi_channels.conf是dahdi_genconf自动生成的.包含dahdi设备需要的默认信息.然后是希望用户在chan_dahdi.conf中include这个file的.实际情况是…

    文档 2022年 8月 26日
    1000
  • asterisk 实现强插,强拆,监听?

    我测试监听,可以用zapBarge + 通道,可以实现监听。请问如果我监听分机,该怎么实现? 如果实现强插,强拆,该怎么实现呢。请各位asterisk高手给我指点一下。给个思路与方法?

    文档 2022年 8月 26日
    1500
  • OpenVox A1200P/A800P + Dahdi

    本文作者为openvox朱工hello, all of users:OpenVox releases A1200P/A800P driver to support Dahdi. To install a1200p/a800p with dahdi, install some support packages as zaptel requires, then …

    文档 2022年 8月 26日
    1000

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信
自6.2开始主题新增页头通知功能,购买用户可免费升级到最新版体验