Okay, I've been really crazy so I just go to this thread. I confess: TL;DR. ;)
Try this for your originate line:
originate {ignore_early_media=true}sofia/internal/1003%192.168.0.2 &eavesdrop('all')
Also, if you have mod_shout and mod_xml_rpc loaded you can do this trick for listening to calls on your computer's speakers:
http://wiki.freeswitch.org/wiki/Webapi#Telecast
I don't know if that will do exactly what you want but it might get you going in the right direction.
-MC
Maybe, I am not sure what's wrong.
I didn't do the originate and eavesdrop from dialplan, I do it from a ESL Java app.
My dialplan is as follow:the extension is also specified in my sip_profile so I can dial into 5801 by calling my sip provider's number.
<extension name="myEslNew5801">
<condition field="destination_number" expression="^5801$">
<action application="limit" data="hash outgoing 5801 4" />
<action application="socket" data="127.0.0.1:9981 async full"/>
</condition>
</extension>
My Java app answers the call, then from the app (which also do the recording) I do the originate to the softphone (extension 1003):
api originate {ignore_early_media=true}sofia/internal/1003%192.168.0.2 &socket(127.0.0.1:9981 async full) &eavesdrop all
This originate call does not give the error: [ERR] mod_dptools.c:714 Usage: [all | <uuid>]
(It would give the error if I remove &socket(127.0.0.1:9981 async full) )
But I can not hear the conversation from the softphone. My goal is to listen to the conversation while doing the recording.
Best,
-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org on behalf of Ken Rice
Sent: Tue 2/28/2012 22:45
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] How to bridge a call to an extension defined in dialplan
This looks like a dialplan issue...
Show the exact originate and dialplan you are using
K
On 2/28/12 4:10 PM, "Liu, Xingkun" <X.Liu@hw.ac.uk> wrote:
> [ERR] mod_dptools.c:714 Usage: [all | <uuid>]
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