[Freeswitch-users] unsched

Darcy Primrose darcyp at voice2net.ca
Tue May 1 23:56:40 MSD 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120501/5ab3efab/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list