Okay, I've been really crazy so I just go to this thread. I confess: TL;DR. ;)<br><br>Try this for your originate line:<br><br><font>originate {ignore_early_media=true}sofia/internal/1003%192.168.0.2 &eavesdrop('all')<br>
<br>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:<br><a href="http://wiki.freeswitch.org/wiki/Webapi#Telecast">http://wiki.freeswitch.org/wiki/Webapi#Telecast</a><br>
<br>I don't know if that will do exactly what you want but it might get you going in the right direction.<br><br>-MC<br></font><br><div class="gmail_quote">On Tue, Feb 28, 2012 at 3:30 PM, Liu, Xingkun <span dir="ltr"><<a href="mailto:X.Liu@hw.ac.uk">X.Liu@hw.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<p><font>Maybe, I am not sure what's wrong.<br>
<br>
I didn't do the originate and eavesdrop from dialplan, I do it from a ESL Java app.<br>
<br>
My dialplan is as follow:</font></p><div class="im"><font><br>
<br>
<extension name="myEslNew5801"><br>
<condition field="destination_number" expression="^5801$"><br>
<action application="limit" data="hash outgoing 5801 4" /><br>
<action application="socket" data="<a href="http://127.0.0.1:9981" target="_blank">127.0.0.1:9981</a> async full"/><br>
</condition><br>
</extension><br>
<br></font></div><font>
the extension is also specified in my sip_profile so I can dial into 5801 by calling my sip provider's number.<br>
<br>
My Java app answers the call, then from the app (which also do the recording) I do the originate to the softphone (extension 1003):<br>
<br>
api originate {ignore_early_media=true}sofia/internal/1003%192.168.0.2 &socket(<a href="http://127.0.0.1:9981" target="_blank">127.0.0.1:9981</a> async full) &eavesdrop all<br>
<br>
This originate call does not give the error: [ERR] mod_dptools.c:714 Usage: [all | <uuid>]<br>
(It would give the error if I remove &socket(<a href="http://127.0.0.1:9981" target="_blank">127.0.0.1:9981</a> async full) )<br>
<br>
But I can not hear the conversation from the softphone. My goal is to listen to the conversation while doing the recording.<br>
<br>
<br>
Best,<br>
Xing<div class="im"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> on behalf of Ken Rice<br>
Sent: Tue 2/28/2012 22:45<br>
To: FreeSWITCH Users Help<br>
Subject: Re: [Freeswitch-users] How to bridge a call to an extension defined in dialplan<br>
<br></div><div><div class="h5">
This looks like a dialplan issue...<br>
<br>
Show the exact originate and dialplan you are using<br>
<br>
K<br>
<br>
<br>
On 2/28/12 4:10 PM, "Liu, Xingkun" <<a href="mailto:X.Liu@hw.ac.uk" target="_blank">X.Liu@hw.ac.uk</a>> wrote:<br>
<br>
> [ERR] mod_dptools.c:714 Usage: [all | <uuid>]<br>
<br>
<br>
</div></div></font>
<p></p><div class="im">
<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>
</div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>