res_ari_channels: Add ring operation, dtmf operation, hangup reasons, and tweak early...
authorJoshua Colp <jcolp@digium.com>
Fri, 1 Nov 2013 14:38:21 +0000 (14:38 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 1 Nov 2013 14:38:21 +0000 (14:38 +0000)
commit7678fd040e95205b040d5d7393165990e51462f6
tree7043c0056e8facf9bf0b509ac1254ba5ba25bb78
parent98dea21bc14a16831710beaadb3b859b7b7a0637
res_ari_channels: Add ring operation, dtmf operation, hangup reasons, and tweak early media.

The ring operation sends ringing to the specified channel it is invoked on.
The dtmf operation can be used to send DTMF digits to the specified channel
of a specific length with a wait time in between. Finally hangup reasons
allow you to specify why a channel is being hung up (busy, congestion).

Early media behavior has also been tweaked slightly. When playing media to a channel
it will no longer automatically answer. If it has not been answered a progress indication
is sent instead.

(closes issue ASTERISK-22701)
Reported by: Matt Jordan

Review: https://reviewboard.asterisk.org/r/2916/
........

Merged revisions 402358 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/stasis_app.h
res/ari/resource_channels.c
res/ari/resource_channels.h
res/res_ari_channels.c
res/res_stasis_playback.c
res/stasis/control.c
rest-api/api-docs/channels.json