123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>Asterisk Project : Asterisk 13 Application_Bridge</title>
- <link rel="stylesheet" href="styles/site.css" type="text/css" />
- <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
- </head>
- <body class="theme-default aui-theme-default">
- <div id="page">
- <div id="main" class="aui-page-panel">
- <div id="main-header">
- <div id="breadcrumb-section">
- <ol id="breadcrumbs">
- <li class="first">
- <span><a href="index.html">Asterisk Project</a></span>
- </li>
- <li>
- <span><a href="Asterisk-13-Command-Reference_29394274.html">Asterisk 13 Command Reference</a></span>
- </li>
- <li>
- <span><a href="Asterisk-13-Dialplan-Applications_29394285.html">Asterisk 13 Dialplan Applications</a></span>
- </li>
- </ol>
- </div>
- <h1 id="title-heading" class="pagetitle">
- <span id="title-text">
- Asterisk Project : Asterisk 13 Application_Bridge
- </span>
- </h1>
- </div>
- <div id="content" class="view">
- <div class="page-metadata">
-
-
-
-
-
-
-
- Created by <span class='author'> wikibot</span> on Aug 08, 2014
- </div>
- <div id="main-content" class="wiki-content group">
- <h1 id="Asterisk13Application_Bridge-Bridge()">Bridge()</h1>
- <h3 id="Asterisk13Application_Bridge-Synopsis">Synopsis</h3>
- <p>Bridge two channels.</p>
- <h3 id="Asterisk13Application_Bridge-Description">Description</h3>
- <p>Allows the ability to bridge two channels via the dialplan.</p>
- <p>This application sets the following channel variable upon completion:</p>
- <ul>
- <li><code>BRIDGERESULT</code> - The result of the bridge attempt as a text string.
- <ul>
- <li>SUCCESS</li>
- <li>FAILURE</li>
- <li>LOOP</li>
- <li>NONEXISTENT</li>
- <li>INCOMPATIBLE</li>
- </ul>
- </li>
- </ul>
- <h3 id="Asterisk13Application_Bridge-Syntax">Syntax</h3>
- <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
- <pre>Bridge(channel,[options])</pre>
- </div></div>
- <h5 id="Asterisk13Application_Bridge-Arguments">Arguments</h5>
- <ul>
- <li><code>channel</code> - The current channel is bridged to the specified <em>channel</em>.</li>
- <li><code>options</code>
- <ul>
- <li><code>p</code> - Play a courtesy tone to <em>channel</em>.</li>
- <li><code>F</code> - When the bridger hangs up, transfer the <strong>bridged</strong> party to the specified destination and <strong>start</strong> execution at that location.
- <ul>
- <li><code>context</code></li>
- <li><code>exten</code></li>
- <li><code>priority</code></li>
- </ul>
- </li>
- <li><code>F</code> - When the bridger hangs up, transfer the <strong>bridged</strong> party to the next priority ofthe current extension and <strong>start</strong> execution at that location.</li>
- <li><code>h</code> - Allow the called party to hang up by sending the <em>*</em> DTMF digit.</li>
- <li><code>H</code> - Allow the calling party to hang up by pressing the <em>*</em> DTMF digit.</li>
- <li><code>k</code> - Allow the called party to enable parking of the call by sending the DTMF sequence defined for call parking in <code>features.conf</code>.</li>
- <li><code>K</code> - Allow the calling party to enable parking of the call by sending the DTMF sequence defined for call parking in <code>features.conf</code>.</li>
- <li><code>L(x<a class="createlink" href="/wiki/pages/createpage.action?spaceKey=AST&title=y&linkCreation=true&fromPageId=29394782">y</a><a class="createlink" href="/wiki/pages/createpage.action?spaceKey=AST&title=z&linkCreation=true&fromPageId=29394782">z</a>)</code> - Limit the call to <em>x</em> ms. Play a warning when <em>y</em> ms are left. Repeat the warning every <em>z</em> ms. The following special variables can be used with this option:
- <ul>
- <li><code>LIMIT_PLAYAUDIO_CALLER</code> - Play sounds to the caller. yes|no (default yes)</li>
- <li><code>LIMIT_PLAYAUDIO_CALLEE</code> - Play sounds to the callee. yes|no</li>
- <li><code>LIMIT_TIMEOUT_FILE</code> - File to play when time is up.</li>
- <li><code>LIMIT_CONNECT_FILE</code> - File to play when call begins.</li>
- <li><code>LIMIT_WARNING_FILE</code> - File to play as warning if <em>y</em> is defined. The default is to say the time remaining.</li>
- </ul>
- </li>
- <li><code>S<img class="emoticon emoticon-cross" src="images/icons/emoticons/error.png" data-emoticon-name="cross" alt="(error)"/></code> - Hang up the call after <em>x</em> seconds <strong>after</strong> the called party has answered the call.</li>
- <li><code>t</code> - Allow the called party to transfer the calling party by sending the DTMF sequence defined in <code>features.conf</code>.</li>
- <li><code>T</code> - Allow the calling party to transfer the called party by sending the DTMF sequence defined in <code>features.conf</code>.</li>
- <li><code>w</code> - Allow the called party to enable recording of the call by sending the DTMF sequence defined for one-touch recording in <code>features.conf</code>.</li>
- <li><code>W</code> - Allow the calling party to enable recording of the call by sending the DTMF sequence defined for one-touch recording in <code>features.conf</code>.</li>
- <li><code>x</code> - Cause the called party to be hung up after the bridge, instead of being restarted in the dialplan.</li>
- </ul>
- </li>
- </ul>
- <h3 id="Asterisk13Application_Bridge-SeeAlso">See Also</h3>
- <h3 id="Asterisk13Application_Bridge-ImportVersion">Import Version</h3>
- <p>This documentation was imported from Asterisk Version SVN-branch-13-r420538</p>
- </div>
-
-
- </div> </div>
- <div id="footer">
- <section class="footer-body">
- <p>Document generated by Confluence on Aug 11, 2014 13:44</p>
- </section>
- </div>
- </div> </body>
- </html>
|