Asterisk - Pre-emption calls

假如想象 提交于 2019-12-03 21:41:09

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.
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!