<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2171/18/9/_/styles/combined.css?spaceKey=AST&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+10+Application_Bridge">Asterisk 10 Application_Bridge</a></h2>
    <h4>Page  <b>added</b> by             <a href="https://wiki.asterisk.org/wiki/display/~wikibot">Wiki Bot</a>
    </h4>
         <br/>
    <div class="notificationGreySide">
         <h1><a name="Asterisk10Application_Bridge-Bridge%28%29"></a>Bridge()</h1>

<h3><a name="Asterisk10Application_Bridge-Synopsis"></a>Synopsis</h3>
<p>Bridge two channels.</p>

<h3><a name="Asterisk10Application_Bridge-Description"></a>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><tt>BRIDGERESULT</tt> - The result of the bridge attempt as a text string.
        <ul>
                <li><tt>SUCCESS</tt></li>
                <li><tt>FAILURE</tt></li>
                <li><tt>LOOP</tt></li>
                <li><tt>NONEXISTENT</tt></li>
                <li><tt>INCOMPATIBLE</tt></li>
        </ul>
        </li>
</ul>


<h3><a name="Asterisk10Application_Bridge-Syntax"></a>Syntax</h3>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>Bridge(channel[,options])</pre>
</div></div>

<h5><a name="Asterisk10Application_Bridge-Arguments"></a>Arguments</h5>

<ul>
        <li><tt>channel</tt> - The current channel is bridged to the specified <em>channel</em>.</li>
        <li><tt>options</tt>
        <ul>
                <li><tt>p</tt> - Play a courtesy tone to <em>channel</em>.</li>
                <li><tt>h</tt> - Allow the called party to hang up by sending the <em>*</em> DTMF digit.</li>
                <li><tt>H</tt> - Allow the calling party to hang up by pressing the <em>*</em> DTMF digit.</li>
                <li><tt>k</tt> - Allow the called party to enable parking of the call by sending the DTMF sequence defined for call parking in <tt>features.conf</tt>.</li>
                <li><tt>K</tt> - Allow the calling party to enable parking of the call by sending the DTMF sequence defined for call parking in <tt>features.conf</tt>.</li>
                <li><tt>L(x<a href="/wiki/pages/createpage.action?spaceKey=AST&amp;title=y&amp;linkCreation=true&amp;fromPageId=19005945" class="createlink">:y</a><a href="/wiki/pages/createpage.action?spaceKey=AST&amp;title=z&amp;linkCreation=true&amp;fromPageId=19005945" class="createlink">:z</a>)</tt> - 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: Play sounds to the caller. yes|no (default yes) Play sounds to the callee. yes|no File to play when time is up. File to play when call begins. File to play as warning if <em>y</em> is defined. The default is to say the time remaining.</li>
                <li><tt>S<img class="emoticon" src="/wiki/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"/></tt> - Hang up the call after <em>x</em> seconds <b>after</b> the called party has answered the call.</li>
                <li><tt>t</tt> - Allow the called party to transfer the calling party by sending the DTMF sequence defined in <tt>features.conf</tt>.</li>
                <li><tt>T</tt> - Allow the calling party to transfer the called party by sending the DTMF sequence defined in <tt>features.conf</tt>.</li>
                <li><tt>w</tt> - Allow the called party to enable recording of the call by sending the DTMF sequence defined for one-touch recording in <tt>features.conf</tt>.</li>
                <li><tt>W</tt> - Allow the calling party to enable recording of the call by sending the DTMF sequence defined for one-touch recording in <tt>features.conf</tt>.</li>
                <li><tt>x</tt> - Cause the called party to be hung up after the bridge, instead of being restarted in the dialplan.</li>
        </ul>
        </li>
</ul>



<h3><a name="Asterisk10Application_Bridge-SeeAlso"></a>See Also</h3>



<h3><a name="Asterisk10Application_Bridge-ImportVersion"></a>Import Version</h3>
<p>This documentation was imported from Asterisk version SVN-branch-10-r340810.</p>
    </div>
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;" class="grey">
                        <a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
       <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+10+Application_Bridge">View Online</a>
              |
       <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+10+Application_Bridge?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
           </div>
</div>
</div>
</div>
</div>
</body>
</html>