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/ ........ Merged revisions 412535 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@412536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- CHANGES 18 additions, 1 deletionCHANGES
- include/asterisk/app.h 8 additions, 0 deletionsinclude/asterisk/app.h
- main/app.c 137 additions, 0 deletionsmain/app.c
- res/ari/resource_bridges.h 1 addition, 1 deletionres/ari/resource_bridges.h
- res/ari/resource_channels.h 1 addition, 1 deletionres/ari/resource_channels.h
- res/res_stasis_playback.c 5 additions, 0 deletionsres/res_stasis_playback.c
- rest-api/api-docs/bridges.json 1 addition, 1 deletionrest-api/api-docs/bridges.json
- rest-api/api-docs/channels.json 1 addition, 1 deletionrest-api/api-docs/channels.json
Loading
Please register or sign in to comment