Hi,

H tried this way

<action application="bridge" data="sofia/internal/1003%${sip_profile},sofia/internal/74991@${domain}"/>

74991 is reached and I heard the prompt. The 1003 softphone is terminated immediately after it is reached.
then extension 74991 hung up itself as well.

I saw the terminal message:
mod_dptools.c:2897 Originate Failed.  Cause: ORIGINATOR_CANCEL

What would be the reason for that?

Thanks,
Xing



On 02/26/2012 10:29 PM, Liu, Xingkun wrote:
How to bridge a call to an extension defined in dialplan

Hello,

I'd like to bridge an incoming to two endpoints simultaneuously:
one is a softphone which is registered to FS (to user 1003),
another is just an extension which is defined in conf/dialplan/public.xml

It looks like:

<extension name="testRecording_bridge">
  <condition field="destination_number" expression="^(74990)$">
    <action application="bridge" data="sofia/internal/1003%${sip_profile},sofia/internal/74991%${sip_profile}"/>
  </condition>
</extension>

<extension name="testRecordingOnly">
    <condition field="destination_number" expression="^74991$">
      <action application="set" data="record_waste_resources=true"/>
      <action application="javascript" data="testRecordFile.js"/>
    </condition>
  </extension>

The incoming call dial to extension 74990, from there I want to bridge the call to the sofphone at 1003 and
to the extension 74991.

The problem is that FS can not locate user 74991. So my question is what else I need to modify in order
to bridge the call also to extension 74991 at the same time?

I did lots of Googling, checked the wiki and tried various ways but still without success.

Any advices please?

Many Thanks!
Xing




Heriot-Watt University is the Sunday Times Scottish University of the Year 2011-2012.

Heriot-Watt University is a Scottish charity registered under charity number SC000278.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org




Heriot-Watt University is the Sunday Times Scottish University of the Year 2011-2012.

Heriot-Watt University is a Scottish charity registered under charity number SC000278.