星号 - 抢占调用 [英] Asterisk - Pre-emption calls

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

问题描述

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

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

欢迎提出任何想法.

解决方案

不,星号不支持.

但是是的,它可以使用拨号计划+一些脚本魔法来实现.复杂性很高,需要专家或大师技能.

短期计划如下:

  • 检查 B 是否在调用中(需要使用 DEVICE_STATE 或 GROUP 函数)
  • 检查 B 是否在调用优先级较低的调用者(ASTDB 或 REALTIME 或 fastagi 脚本)
  • wisper 现在有优先呼叫的双方(或仅 B)方.为此,请阅读有关 asterisk 自动拨出和 wisper 的信息.
  • 等到 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天全站免登陆