voip-info.org中介绍如下:

Asterisk presence

Current CVS -HEAD provides some support of SIP presence as defined in RFC 3856 - A Presence Event Package for the Session Initiation Protocol (SIP). The release version (1.0.9) has some support too.

To support this, you have to somehow tell which SIP user is mapped to the extension mentioned. A "hint" priority is used to describe this, as in this example:

exten => 100,hint,SIP/peername

(it says, that for presence purposes, extension 100's presence should be mapped the SIP peer)

  • IMPORTANT: In Asterisk 1.4 the inner workings of the hint functionality have slightly changed. It is now imperative that you set a call-limit (even if it's an arbitrarily-high value like 100) and/or the new limitonpeers value in sip.conf. Presence will not work without this. If you are using friend instead of peer, you will need limitonpeers = yes as well as a call-limit statement (new in Asterisk 1.4) for each SIP device
  • If you do not add a hint, the extension will be free ("open") always, more or less.
  • If you add incominglimit=1 to your peer (in Asterisk 1.2 only) in sip.conf, the SIP channel will notify you when that extension is busy.
  • IMPORTANT: In Asterisk 1.6.2.X in sip.conf you need callcounter=yes for presence to work (http://lists.digium.com/pipermail/asterisk-users/2010-May/248222.html)
在asterisk1.8中
在dialplan中分机对应拨号计划上添加如下:
exten=>600,hint,SIP/600
exten=>600,1,Dial(SIP/600)
如遇到通话中状态不对应在sip.conf中添加callcounter=yes 即可

asterisk1.8中设置presence或blf相关推荐

  1. 在Dockerfile中设置G1垃圾回收器参数

    在Dockerfile中设置G1垃圾回收器参数 ENV JAVA_OPTS="\ -server \ -XX:SurvivorRatio=8 \ -XX:+DisableExplicitGC ...

  2. idea中设置指向源代码Scala

    1.到官网下载scala源代码 点击如下链接下载源码:http://www.scala-lang.org/download/all.html 选择需要的版本点击进行下载,我选择的是2.11.8版本,如 ...

  3. 转--Android如何在java代码中设置margin

    ========  3 在Java代码里设置button的margin(外边距)? 1.获取按钮的LayoutParams LinearLayout.LayoutParams layoutParams ...

  4. Android中设置TextView的颜色setTextColor

    tv.setTextColor(Color.parseColor("#FFFFFF")); tv.setTextColor(Color.WHITE); tv.setTextColo ...

  5. html 中设置样式方式,在html元素中设置css样式的方式是什么

    如果我们要在HTML元素中设置CSS样式,那么我们就需要在元素中设置"id" 和 "class"选择器. (推荐教程:CSS教程) 下面我们来分别说一下id选择 ...

  6. R语言ggplot2可视化:通过在element_text函数中设置ifelse判断条件自定义标签文本的显示格式:例如、粗体、斜体等

    R语言ggplot2可视化:通过在element_text函数中设置ifelse判断条件自定义标签文本的显示格式:例如.粗体.斜体等 目录

  7. seaborn使用violinplot函数可视化小提琴图、并在violinplot函数中设置inner参数来添加数据点显示数据的稠密程度

    seaborn使用violinplot函数可视化小提琴图.并在violinplot函数中设置inner参数来添加数据点显示数据的稠密程度(Seaborn violinplot with data po ...

  8. seaborn使用violinplot函数可视化小提琴图、并在violinplot函数中设置inner参数来添加横线(inner=“stick“)显示数据的稠密程度

    seaborn使用violinplot函数可视化小提琴图.并在violinplot函数中设置inner参数来添加横线(inner="stick")显示数据的稠密程度(Seaborn ...

  9. R语言ggplot2可视化:jupyter中设置全局图像大小、jupyter中自定义单个ggplot2图像结果的大小

    R语言ggplot2可视化:jupyter中设置全局图像大小.jupyter中自定义单个ggplot2图像结果的大小 目录

最新文章

  1. 选择一个稳定、快速的服务器四大注意事项
  2. EfficientNet模型的完整细节
  3. iTOP-4412开发板驱动lcd显卡以及linux开机log的修改方法
  4. 将秒(非时间戳)转化成 ** 小时 ** 分
  5. [6] 测试用例管理工具的需求整理
  6. hbase filter原理_HBase应用|HBase在移动广告监测产品中的应用
  7. SpringCloud项目总结
  8. asp.net mvc 如何调用微信jssdk接口:分享到微信朋友(圈)| 分享到qq空间
  9. 学计算机穿格子衬衫的男人,教你成为穿格子衬衫的帅气理工男
  10. 科研常用到的计算机编程,科研必备:几款好用的流程图工具,助力你的论文/科研绘图...
  11. 建筑识图与构造【2】
  12. jsoup模拟登陆合肥工业大学信息门户
  13. hdu 5467 Clarke and hunger games (lct)
  14. Linux内核有加网速功能吗,Linux下使用有线网络和WiFi能不能叠加网速?网友评论不一...
  15. 使用@Vaild或@Validated正则校验以及常用正则
  16. Android 长图大图加载
  17. 申论指导议论文八大高分标准
  18. uva-1645-递推
  19. 梯度,也即该物理参数的变化率,导数
  20. 取得system权限

热门文章

  1. OpenCV中的图像处理 —— 傅里叶变换+模板匹配
  2. 计算机毕设Python+Vue业俊宾馆客房管理系统(程序+LW+部署)
  3. 在 Visual Studio 2010 中创建 ASP.NET Web 项目
  4. Java实现快递管理系统四(View+Main+Dao总结)
  5. 基于SSM开发校园外卖零食购物商城系统
  6. 2020年中国工业传感器市场年度报告
  7. kettle安装与配置
  8. 美国TELEMARK电源维修电子枪高压控制电源修理
  9. jmeter教程:性能测试执行及结果分析
  10. Linux中DNS的分离解析和自动分配