VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
kristian.kielhofner at... Guest
|
|
Back to top |
|
|
saeedahmad1981 at gmai... Guest
|
Posted: Tue Jul 28, 2009 12:55 pm Post subject: [Freeswitch-users] AbsoluteTimeout: The FreeSWITCH way |
|
|
<action application="sched_hangup" data="+600"/>
On Tue, Jul 28, 2009 at 7:28 PM, Kristian Kielhofner <kristian.kielhofner@gmail.com (kristian.kielhofner@gmail.com)> wrote:
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Jul 28, 2009 12:58 pm Post subject: [Freeswitch-users] AbsoluteTimeout: The FreeSWITCH way |
|
|
What needs to happen at the end of the timeout? In any case you can use the sched_XXX APIs:
sched_api
sched_transfer
sched_hangup
You can get fancy or just hangup up on the call after X number of seconds...
-MC
On Tue, Jul 28, 2009 at 10:28 AM, Kristian Kielhofner <kristian.kielhofner@gmail.com (kristian.kielhofner@gmail.com)> wrote:
|
|
Back to top |
|
|
mrene_lists at avgs.ca Guest
|
Posted: Tue Jul 28, 2009 1:00 pm Post subject: [Freeswitch-users] AbsoluteTimeout: The FreeSWITCH way |
|
|
You can also schedule a playback then a hangup, what comes after the ! is the hangup cause.
sched_broadcast,Schedule a broadcast in the future,[+]<time> <path> [aleg|bleg|both],mod_dptools
<action application="sched_broadcast" data="+600 playback!normal_clearing::/path/to/file" />
Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene@avgs.ca (mrene@avgs.ca)
Am 28-Jul-09 um 1:50 PM schrieb Michael Collins:
|
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Tue Jul 28, 2009 1:05 pm Post subject: [Freeswitch-users] AbsoluteTimeout: The FreeSWITCH way |
|
|
also take a look at execute_on_answer if you want it to be scheduled from answer instead of from that point in the dialplan.
Mike
On Jul 28, 2009, at 1:48 PM, Saeed Ahmad wrote:
|
|
Back to top |
|
|
kristian.kielhofner at... Guest
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|