]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ARI: Add tones playback resource
authorJonathan Rose <jrose@digium.com>
Thu, 17 Apr 2014 21:47:10 +0000 (21:47 +0000)
committerJonathan Rose <jrose@digium.com>
Thu, 17 Apr 2014 21:47:10 +0000 (21:47 +0000)
commita365f9100fceefa19b8fac27b4764fbd50f6404f
treecf1cf947438b7127c21b3096ac1b896a0fe08756
parent703220e8a943de5dada702c9452714a13bd5cdbd
ARI: Add tones playback resource

Adds a tones URI type to the playback resource. The tone can be specified by
name (from indications.conf) or by a tone pattern. In addition, tonezone can
be specified in the URI (by appending ;tonezone=<zone>). Tones must be
stopped manually in order for a stasis control to move on from playback of
the tone. Tones may be paused, resumed, restarted, and stopped. They may
not be rewound or fast forwarded (tones can't be controlled in a way that
lets you skip around from note to note and pausing and resuming will also
restart the tone from the beginning). Tests are currently in development
for this feature (https://reviewboard.asterisk.org/r/3428/).

(closes issue ASTERISK-23433)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/3427/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@412535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
include/asterisk/app.h
main/app.c
res/ari/resource_bridges.h
res/ari/resource_channels.h
res/res_stasis_playback.c
rest-api/api-docs/bridges.json
rest-api/api-docs/channels.json