星号-抢占电话 [英] Asterisk - Pre-emption calls

查看:97
本文介绍了星号-抢占电话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Asterisk中进行抢占呼叫.我的意思是,如果用户A具有优先级/访问级别1并想与用户B通话,它将如何抢占用户B已经与仅具有优先级/访问级别2的用户C进行的呼叫? >

有人知道这是否受Asterisk支持或如何实现吗?

任何想法都将受到欢迎.

解决方案

否,星号不支持.

但是,可以的,它可以使用Dialplan +一些脚本魔术来实现.复杂度很高,需要专家或专家的技能.

紧随其后的计划是

  • 检查B是否在通话中(需要使用DEVICE_STATE或GROUP函数)
  • 检查优先级较低的呼叫者(ASTDB或REALTIME或fastagi脚本)是否在呼叫B中
  • 轻抚双方(或只有对方B)现在拥有优先呼叫权的一方.为此,请阅读有关星号自动拨出和悄悄话的信息.
  • 等到B按下确认键(features.conf)
  • 将B& C都转移到新的分机,桥接A& B,为C保留.
  • 根据需要使用还原C连接进行处理.

I would like to have pre-emption calls in Asterisk. With this I mean that if user A has priority/access-level 1 and wants to talk to user B, how could it preempt the call that user B is already having with user C which has only priority/access-level 2?

Does anyone know if this is supported by Asterisk or how this could be implemented?

Any idea would be very welcome.

解决方案

No, it not supported by asterisk.

But yes, it can be implemented using dialplan+some script magic. Complexity is high and require expert or guru skill.

Short plan is following:

  • check if B is in call (need use DEVICE_STATE or GROUP functions)
  • check if B in call with lower priority caller( ASTDB or REALTIME or fastagi script)
  • wisper both(or only B) party that now have priority call. For that need read about asterisk auto-dialout and wisper.
  • wait till B press confirmation key(features.conf)
  • transfer both B&C to new extension, bridge A&B, play hold for C.
  • deal with restore C connection if needed.

这篇关于星号-抢占电话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆