msc at freeswitch.org
Thu Jul 25 02:35:35 MSD 2013
I hope you're willing to try a few things and report back. You're using
session.execute to execute a dialplan application (sched_boradcast).
However, sched_del is actually an API, not a dialplan application (i.e. you
type sched_api blah blah at fs_cli). It just so happens that there are some
dialplan apps that perform the same function as their API counterparts:
However, there are some that are different: sched_del (API) vs.
sched_cancel (dialplan app). If you're confused don't worry - it happens to
everyone until they firmly grasp the difference between an API command and
a dialplan application.
To remove the scheduled broadcast try this:
If it works then you can maybe add sched_cancel to the dptools wiki
Let us know how it goes,
On Wed, Jul 24, 2013 at 6:50 AM, Matt Broad <matt at inveroak.com> wrote:
> I have:
> session.execute("sched_broadcast", "+60 /tmp/test.mp3 both");
> But if for some reason I no longer need the broadcast to occur I need to
> delete it. Looking on the Wiki I have found "sched_del" but cannot see
> how to get the task id for the broadcast to implement it.
> Any help would be appreciated.
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
Michael S Collins
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users