Then what about http://wiki.freeswitch.org/wiki/Variable_leg_timeout
K
On 5/1/12 2:56 PM, "Darcy Primrose" <darcyp@voice2net.ca> wrote:
Hi, I am trying to get a call to drop back to voice mail on timeout after I originate it to the pstn via voip. I cannot use call_timeout since all outbound calls use early media, if I disable early media, then I get not ring back tone. So I am thinking something like sched_hangup, then use an execute on answer to disable the hangup, unsched_api or sched_del. I do not know if this is the best way to do this. I am having trouble getting the task_id from the sched_hangup so I can later delete it. Any suggestions would be most welcome. For now, I would like to accomplish this in the dial plan.
<action application="sched_hangup" data="+30 alloted_timeout"/>
Darcy Primrose
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.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