1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Asterisk Project : 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>
<table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#ffffff">
<tr>
<td valign="top" class="pagebody">
<div class="pageheader">
<span class="pagetitle">
Asterisk Project : Application_Bridge
</span>
</div>
<div class="pagesubheading">
This page last changed on Aug 17, 2011 by <font color="#0050B2">wikibot</font>.
</div>
<h1><a name="Application_Bridge-Bridge%28%29"></a>Bridge()</h1>
<h3><a name="Application_Bridge-Synopsis"></a>Synopsis</h3>
<p>Bridge two channels.</p>
<h3><a name="Application_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="Application_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="Application_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:y:z)</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="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="Application_Bridge-SeeAlso"></a>See Also</h3>
<h3><a name="Application_Bridge-ImportVersion"></a>Import Version</h3>
<p>This documentation was imported from Asterisk version SVN-branch-1.8-r332176.</p>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="12" background="https://wiki.asterisk.org/wiki/images/border/border_bottom.gif"><img src="images/border/spacer.gif" width="1" height="1" border="0"/></td>
</tr>
<tr>
<td align="center"><font color="grey">Document generated by Confluence on Oct 04, 2011 12:42</font></td>
</tr>
</table>
</body>
</html>
|