<p dir="ltr">You can use sched_api<br>
<a href="https://wiki.freeswitch.org/wiki/Mod_commands#sched_api">https://wiki.freeswitch.org/wiki/Mod_commands#sched_api</a></p>
<div class="gmail_quote">On Jan 2, 2015 12:58 PM, &quot;Aqs Younas&quot; &lt;<a href="mailto:aqsyounas@gmail.com">aqsyounas@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi, Users.<br></div><br>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.<br><br>&lt;include&gt;<br><div><div><div>   <br>  &lt;context name=&quot;public&quot;&gt;<br>     &lt;extension name=&quot;First_Stream&quot;&gt;
  <br>       &lt;condition field=&quot;destination_number&quot; expression=&quot;^750$&quot;&gt;
    <br>           &lt;action application=&quot;answer&quot;/&gt;<br>           &lt;action application=&quot;playback&quot; data=&quot;shout://<a href="http://scfire-dll-aa02.stream.aol.com:80/stream/1074" target="_blank">scfire-dll-aa02.stream.aol.com:80/stream/1074</a>&quot;/&gt;
  <br>             &lt;action application=&quot;transfer&quot; data=&quot;${destination_number} XML Second&quot;/&gt;<br>         &lt;/condition&gt; 
<br>     &lt;/extension&gt;<br>  &lt;/context&gt;<br><br><br>&lt;context name=&quot;Second&quot;&gt;<br>     &lt;extension name=&quot;Second_Stream&quot;&gt;
  <br>       &lt;condition field=&quot;destination_number&quot;&gt;
    <br>          &lt;action application=&quot;playback&quot; data=&quot;shout://<a href="http://scfirl-bb1.stream.aol.com:80/stream/1870" target="_blank">scfirl-bb1.stream.aol.com:80/stream/1870</a>&quot;/&gt;
  <br>         &lt;/condition&gt; 
<br>     &lt;/extension&gt;<br>  &lt;/context&gt;<br><br>&lt;/include&gt;<br><br></div><div>How can i do so? I can write above dial plan with lua/python but don&#39;t know how to transfer call without making user press any key.<br><br></div><div>Since  &quot;play_and_get_digits&quot; and &quot;read&quot; command also need some dtmf for next line execution.<br><br></div><div>Many Thanks<br></div></div></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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.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>