In this case you could try <a href="http://wiki.freeswitch.org/wiki/Mod_commands#uuid_transfer">http://wiki.freeswitch.org/wiki/Mod_commands#uuid_transfer</a> but it probably wouldn&#39;t be the best way to handle the call.<div>

<br></div><div>All incoming calls will hit a dialplan search, so the call needs to be handled there. If you&#39;re wanting to handle calls via ESL look at the outbound socket.</div><div><br></div><div>Also if doing it the way you are now. better than sleep might be this:</div>

<div><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_park">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_park</a></div><div><br></div><div>-Steve</div><div><br></div><div><br><br><div class="gmail_quote">

On 25 June 2013 10:34, Raymond Domingo <span dir="ltr">&lt;<a href="mailto:raymond@telecats.nl" target="_blank">raymond@telecats.nl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello,<br>
<br>
I&#39;m just taking first steps in learning freeswitch.<br>
<br>
What I would like to do is route my incomming call to &#39;some&#39; endpoint using<br>
fs_cli.<br>
(just to see how all is working).<br>
<br>
My config (snapshot):<br>
    &lt;extension name=&quot;raymondtest&quot;&gt;<br>
      &lt;condition field=&quot;destination_number&quot; expression=&quot;^5800$&quot;&gt;<br>
        &lt;action application=&quot;answer&quot;/&gt;<br>
        &lt;action application=&quot;sleep&quot; data=&quot;200000&quot;/&gt;<br>
      &lt;/condition&gt;<br>
    &lt;/extension&gt;<br>
<br>
    &lt;extension name=&quot;echo&quot;&gt;<br>
      &lt;condition field=&quot;destination_number&quot; expression=&quot;^9196$&quot;&gt;<br>
        &lt;action application=&quot;answer&quot;/&gt;<br>
        &lt;action application=&quot;echo&quot;/&gt;<br>
      &lt;/condition&gt;<br>
    &lt;/extension&gt;<br>
<br>
Both endpoints are working.<br>
<br>
So when I call using my softphone to 5800 I can see the call in fs_cli using<br>
show calls:<br>
<br>
0dbf4066-dd7a-11e2-a52c-b9fe005eb6ff,inbound,2013-06-25<br>
11:31:46,1372152706,sofia/internal/<a href="mailto:1500@172.30.4.186">1500@172.30.4.186</a>,CS_EXECUTE,1500,1500,172.30.4.132,5800,<a href="mailto:1500@172.30.4.186">1500@172.30.4.186</a>,,ACTIVE,,,,,fs-devel,,,,,,,,,,,,,,,,,,,,,<br>


<br>
But how can I route this call USING FS_CLI commands to the echo endpoint ?<br>
<br>
I looked into originate, bridge and sofia. But I couldn&#39;t find out how to do<br>
this.<br>
<br>
Best regards,<br>
Raymond Domingo<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/newbie-route-incomming-call-to-endpoint-using-fs-cli-tp7592173.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/newbie-route-incomming-call-to-endpoint-using-fs-cli-tp7592173.html</a><br>


Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<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>
</blockquote></div><br></div>