zoukankan      html  css  js  c++  java
  • freeswitch电话代接

    Misc. Dialplan Tools intercept

    Description

    Allows one channel to bridge itself to the a or b leg of another call. The remaining leg of the original call gets hungup (or does this only happen with hangup_after_bridge?)

    Usage

    intercept [-bleg] <uuid>
    

    Examples

    <action application="intercept" data="myUUID"/>
    

    To intercept the b leg of the call:

    <action application="intercept" data="-bleg myUUID"/>
    

    Via sendmsg on the event socket:

    sendmsg <the uuid of the channel you want to control (inbound leg) >
    call-command: execute
    execute-app-name: intercept
    execute-app-arg: <the uuid of the call you want to bridge to (outbound leg)
    

    Intercept additional variables

    To intercept only if the call is not bridged (available since git-58fe45a):

    <action application="set" data="intercept_unbridged_only=true"/>
    <action application="intercept" data="myUUID"/>
    

    To intercept only if the call was not answered:

    <action application="set" data="intercept_unanswered_only=true"/>
    <action application="intercept" data="myUUID"/>
    

    intercept_unbridged_only is useful e.g. in scenarious where the initial call has been answered and transferred and is ringing at the transfered extensions. With intercept_unanswered_only=true this call could no longer be intercepted, but with intercept_unbridged_only=true it still can be.

    有志者事竟成
  • 相关阅读:
    oracle over 函数几个例子
    securecrt 方向键乱码解决
    windows 8.1 启用hyper-v导致vmware 无法使用的问题解决方案(兼顾WP8.1模拟器和vmware)
    oracle 查询所有约束
    home条 防止误碰
    导航栏相关知识
    报错Domain=NSCocoaErrorDomain Code=3840 "Garbage at end."
    H5混合开发问题总结
    适配iOS11
    网络
  • 原文地址:https://www.cnblogs.com/dancheblog/p/3531209.html
Copyright © 2011-2022 走看看