Use POST / DELETE to toggle ARI bridge moh

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@401041 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Paul Belanger
2013-10-16 00:12:36 +00:00
parent ef7c5a04c0
commit 7955e89d06
2 changed files with 14 additions and 22 deletions

View File

@@ -199,7 +199,7 @@
]
},
{
"path": "/bridges/{bridgeId}/mohStart",
"path": "/bridges/{bridgeId}/moh",
"description": "Play music on hold to a bridge",
"operations": [
{
@@ -239,11 +239,11 @@
]
},
{
"path": "/bridges/{bridgeId}/mohStop",
"path": "/bridges/{bridgeId}/moh",
"description": "Stop music on hold for a bridge",
"operations": [
{
"httpMethod": "POST",
"httpMethod": "DELETE",
"summary": "Stop playing music on hold to a bridge.",
"notes": "This will only stop music on hold being played via bridges/{bridgeId}/mohStart.",
"nickname": "mohStopBridge",