[asterisk-app-dev] startMoh + ringStop
Sébastien Duthil
sduthil at proformatique.com
Thu Apr 21 10:02:48 CDT 2016
Hi,
I've noticed a behavior in ARI that I did not expect:
Given an answered channel (chan_sip) in a Stasis application
POST /channels/<chan_id>/moh
The MOH is started
DELETE /channels/<chan_id>/ring
The MOH is stopped ???
What I'd expect is for
DELETE /channels/<chan_id>/ring
to be ignored, or raise an HTTP error status code, given there was no
previous
POST /channels/<chan_id>/ring
and the MOH to be only stopped by
DELETE /channels/<chan_id>/moh
I did not find any archive talking about this, nor any open bugs.
Can somebody reproduce this? Is this the expected behavior?
--
Sébastien Duthil
More information about the asterisk-app-dev
mailing list