wormling / phparia

Framework for creating ARI (Asterisk REST Interface) applications.
http://phparia.org
Apache License 2.0
39 stars 35 forks source link

Added optional parameter "reason" for hangup: DELETE /channels/{channelId} #24

Open vU97N opened 7 years ago

vU97N commented 7 years ago

Hi, in methods Channel::hangup(), Channel::deleteChannel(), Channel::hangup() and Channel::deleteChannel() is not possible put reason value. See https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Channels+REST+API#Asterisk13ChannelsRESTAPI-hangup. So, I added optional parameter "reason" to these methods. patch.zip