[Freeswitch-users] How to transfer call from one context to another after a certain time

Aqs Younas aqsyounas at gmail.com
Fri Jan 2 20:57:11 MSK 2015

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.


  <context name="public">
     <extension name="First_Stream">
       <condition field="destination_number" expression="^750$">
           <action application="answer"/>
           <action application="playback" data="shout://
             <action application="transfer" data="${destination_number} XML

<context name="Second">
     <extension name="Second_Stream">
       <condition field="destination_number">
          <action application="playback" data="shout://


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150102/f7e765f4/attachment.html 

Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list