Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] AbsoluteTimeout: The FreeSWITCH way


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
kristian.kielhofner at...
Guest





PostPosted: Tue Jul 28, 2009 12:36 pm    Post subject: [Freeswitch-users] AbsoluteTimeout: The FreeSWITCH way Reply with quote

Hello everyone,

I need to set a maximum call duration. What is the current
recommended way to implement this in FreeSWITCH? I'm looking for
something similar to AbsoluteTimeout() in Asterisk.

Thanks!

--
Kristian Kielhofner
http://www.astlinux.org
http://blog.krisk.org
http://www.star2star.com
http://www.submityoursip.com
http://www.voalte.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
Back to top
saeedahmad1981 at gmai...
Guest





PostPosted: Tue Jul 28, 2009 12:55 pm    Post subject: [Freeswitch-users] AbsoluteTimeout: The FreeSWITCH way Reply with quote

<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:
Quote:
Hello everyone,

 I need to set a maximum call duration.  What is the current
recommended way to implement this in FreeSWITCH?  I'm looking for
something similar to AbsoluteTimeout() in Asterisk.

Thanks!

--
Kristian Kielhofner
http://www.astlinux.org
http://blog.krisk.org
http://www.star2star.com
http://www.submityoursip.com
http://www.voalte.com

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
Back to top
msc at freeswitch.org
Guest





PostPosted: Tue Jul 28, 2009 12:58 pm    Post subject: [Freeswitch-users] AbsoluteTimeout: The FreeSWITCH way Reply with quote

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... Smile

-MC

On Tue, Jul 28, 2009 at 10:28 AM, Kristian Kielhofner <kristian.kielhofner@gmail.com (kristian.kielhofner@gmail.com)> wrote:
Quote:
Hello everyone,

 I need to set a maximum call duration.  What is the current
recommended way to implement this in FreeSWITCH?  I'm looking for
something similar to AbsoluteTimeout() in Asterisk.

Thanks!

--
Kristian Kielhofner
http://www.astlinux.org
http://blog.krisk.org
http://www.star2star.com
http://www.submityoursip.com
http://www.voalte.com

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
Back to top
mrene_lists at avgs.ca
Guest





PostPosted: Tue Jul 28, 2009 1:00 pm    Post subject: [Freeswitch-users] AbsoluteTimeout: The FreeSWITCH way Reply with quote

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:
Quote:
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... Smile

-MC

On Tue, Jul 28, 2009 at 10:28 AM, Kristian Kielhofner <kristian.kielhofner@gmail.com (kristian.kielhofner@gmail.com)> wrote:
Quote:
Hello everyone,

I need to set a maximum call duration. What is the current
recommended way to implement this in FreeSWITCH? I'm looking for
something similar to AbsoluteTimeout() in Asterisk.

Thanks!

--
Kristian Kielhofner
http://www.astlinux.org
http://blog.krisk.org
http://www.star2star.com
http://www.submityoursip.com
http://www.voalte.com

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
Back to top
mike at jerris.com
Guest





PostPosted: Tue Jul 28, 2009 1:05 pm    Post subject: [Freeswitch-users] AbsoluteTimeout: The FreeSWITCH way Reply with quote

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:
Quote:
<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:
Quote:
Hello everyone,

I need to set a maximum call duration. What is the current
recommended way to implement this in FreeSWITCH? I'm looking for
something similar to AbsoluteTimeout() in Asterisk.

Thanks!

--
Kristian Kielhofner
http://www.astlinux.org
http://blog.krisk.org
http://www.star2star.com
http://www.submityoursip.com
http://www.voalte.com

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
Back to top
kristian.kielhofner at...
Guest





PostPosted: Tue Jul 28, 2009 2:19 pm    Post subject: [Freeswitch-users] AbsoluteTimeout: The FreeSWITCH way Reply with quote

All awesome replies.

Thanks again!

On Tue, Jul 28, 2009 at 1:59 PM, Michael Jerris<mike@jerris.com> wrote:
Quote:
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:

<action application="sched_hangup" data="+600"/>


--
Kristian Kielhofner
http://www.astlinux.org
http://blog.krisk.org
http://www.star2star.com
http://www.submityoursip.com
http://www.voalte.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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services