You can use sched_api
https://wiki.freeswitch.org/wiki/Mod_commands#sched_api
Hi, Users.
I want to transfer my call from one context public(which is playing a never ending stream with mod_shout) to another context Second (which is also playing a never ending stream) after a certain time like, after 30 mints, without making user press any dtmf.
<include>
<context name="public">
<extension name="First_Stream">
<condition field="destination_number" expression="^750$">
<action application="answer"/>
<action application="playback" data="shout://scfire-dll-aa02.stream.aol.com:80/stream/1074"/>
<action application="transfer" data="${destination_number} XML Second"/>
</condition>
</extension>
</context>
<context name="Second">
<extension name="Second_Stream">
<condition field="destination_number">
<action application="playback" data="shout://scfirl-bb1.stream.aol.com:80/stream/1870"/>
</condition>
</extension>
</context>
</include>How can i do so? I can write above dial plan with lua/python but don't know how to transfer call without making user press any key.Since "play_and_get_digits" and "read" command also need some dtmf for next line execution.Many Thanks
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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