<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5512" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>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. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><action application="sched_hangup" data="+30
alloted_timeout"/></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Darcy Primrose</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>