In this case you could try http://wiki.freeswitch.org/wiki/Mod_commands#uuid_transfer but it probably wouldn't be the best way to handle the call. All incoming calls will hit a dialplan search, so the call needs to be handled there. If you're wanting to handle calls via ESL look at the outbound socket. Also if doing it the way you are now. better than sleep might be this: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_park -Steve On 25 June 2013 10:34, Raymond Domingo <raymond@telecats.nl> wrote:
Hello,
I'm just taking first steps in learning freeswitch.
What I would like to do is route my incomming call to 'some' endpoint using fs_cli. (just to see how all is working).
My config (snapshot): <extension name="raymondtest"> <condition field="destination_number" expression="^5800$"> <action application="answer"/> <action application="sleep" data="200000"/> </condition> </extension>
<extension name="echo"> <condition field="destination_number" expression="^9196$"> <action application="answer"/> <action application="echo"/> </condition> </extension>
Both endpoints are working.
So when I call using my softphone to 5800 I can see the call in fs_cli using show calls:
0dbf4066-dd7a-11e2-a52c-b9fe005eb6ff,inbound,2013-06-25 11:31:46,1372152706,sofia/internal/1500@172.30.4.186 ,CS_EXECUTE,1500,1500,172.30.4.132,5800,1500@172.30.4.186 ,,ACTIVE,,,,,fs-devel,,,,,,,,,,,,,,,,,,,,,
But how can I route this call USING FS_CLI commands to the echo endpoint ?
I looked into originate, bridge and sofia. But I couldn't find out how to do this.
Best regards, Raymond Domingo
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/newbie-route-incomming-call-to... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ 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