<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi,<br>
    <br>
    H tried this way<br>
    <br>
    &lt;action application="bridge"
data="sofia/internal/1003%${sip_profile},sofia/internal/74991@${domain}"/&gt;<br>
    <br>
    74991 is reached and I heard the prompt. The 1003 softphone is
    terminated immediately after it is reached.<br>
    then extension 74991 hung up itself as well.<br>
    <br>
    I saw the terminal message:<br>
    mod_dptools.c:2897 Originate Failed.&nbsp; Cause: ORIGINATOR_CANCEL<br>
    <br>
    What would be the reason for that?<br>
    <br>
    Thanks,<br>
    Xing<br>
    <br>
    <br>
    <br>
    On 02/26/2012 10:29 PM, Liu, Xingkun wrote:
    <blockquote
cite="mid:976F9C1B58DCB84EA7021B8BFB483B8E0E1A1D32@ex6.mail.win.hw.ac.uk"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="MS Exchange Server version
        6.5.7654.12">
      <title>How to bridge a call to an extension defined in dialplan</title>
      <!-- Converted from text/plain format -->
      <br>
      <p><font size="2">Hello,<br>
          <br>
          I'd like to bridge an incoming to two endpoints
          simultaneuously:<br>
          one is a softphone which is registered to FS (to user 1003),<br>
          another is just an extension which is defined in
          conf/dialplan/public.xml<br>
          <br>
          It looks like:<br>
          <br>
          &lt;extension name="testRecording_bridge"&gt;<br>
          &nbsp; &lt;condition field="destination_number"
          expression="^(74990)$"&gt;<br>
          &nbsp;&nbsp;&nbsp; &lt;action application="bridge"
data="sofia/internal/1003%${sip_profile},sofia/internal/74991%${sip_profile}"/&gt;<br>
          &nbsp; &lt;/condition&gt;<br>
          &lt;/extension&gt;<br>
          <br>
          &lt;extension name="testRecordingOnly"&gt;<br>
          &nbsp;&nbsp;&nbsp; &lt;condition field="destination_number"
          expression="^74991$"&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set"
          data="record_waste_resources=true"/&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="javascript"
          data="testRecordFile.js"/&gt;<br>
          &nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
          &nbsp; &lt;/extension&gt;<br>
          <br>
          The incoming call dial to extension 74990, from there I want
          to bridge the call to the sofphone at 1003 and<br>
          to the extension 74991.<br>
          <br>
          The problem is that FS can not locate user 74991. So my
          question is what else I need to modify in order<br>
          to bridge the call also to extension 74991 at the same time?<br>
          <br>
          I did lots of Googling, checked the wiki and tried various
          ways but still without success.<br>
          <br>
          Any advices please?<br>
          <br>
          Many Thanks!<br>
          Xing<br>
        </font>
      </p>
      <br>
      <hr>
      <br>
      <font face="arial, helvetica">
        <b>Heriot-Watt University is the Sunday Times Scottish
          University of the Year 2011-2012.</b>
      </font>
      <br>
      <br>
      <font face="arial,helvetica" size="-1">
        Heriot-Watt University is a Scottish charity registered under
        charity number SC000278.
        <br>
      </font>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  <br>
<hr>
<br>
<font face="arial, helvetica">
<b>Heriot-Watt University is the Sunday Times Scottish University of the Year 2011-2012.</b>
</font>
<br><br>
<font face="arial,helvetica" size="-1">
Heriot-Watt University is a Scottish charity registered under charity number SC000278.
<br>
</font>

</body>
</html>