<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] unsched</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Then what about <a href="http://wiki.freeswitch.org/wiki/Variable_leg_timeout">http://wiki.freeswitch.org/wiki/Variable_leg_timeout</a><BR>
K<BR>
<BR>
On 5/1/12 2:56 PM, "Darcy Primrose" <<a href="darcyp@voice2net.ca">darcyp@voice2net.ca</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Arial">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. <BR>
</FONT><FONT FACE="Monaco, Courier New"> <BR>
</FONT><FONT FACE="Arial"><action application="sched_hangup" data="+30 alloted_timeout"/><BR>
</FONT><FONT FACE="Monaco, Courier New"> <BR>
<BR>
</FONT><FONT FACE="Arial">Darcy Primrose<BR>
</FONT><FONT FACE="Monaco, Courier New"> <BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></FONT></SPAN><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>