[Freeswitch-users] [newbie] route incomming call to endpoint using fs_cli
Raymond Domingo
raymond at telecats.nl
Tue Jun 25 13:34:33 MSD 2013
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 at 172.30.4.186,CS_EXECUTE,1500,1500,172.30.4.132,5800,1500 at 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-endpoint-using-fs-cli-tp7592173.html
Sent from the freeswitch-users mailing list archive at Nabble.com.
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list