res_ari: Make some additional error responses consistent with the rest of the system.
authorJoshua Colp <jcolp@digium.com>
Wed, 26 Feb 2014 17:04:38 +0000 (17:04 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 26 Feb 2014 17:04:38 +0000 (17:04 +0000)
commit0e279c215e1935379f9a62c91f59f83c961c9c88
tree5978cd5f02a7cc6f518245340d3096ae1d9dd3a0
parent801cb712546dee1136a7575e7ff955583ec4ae7c
res_ari: Make some additional error responses consistent with the rest of the system.

This change makes some error cases use ast_ari_response_error to construct their
error responses instead of manually doing it. This ensures they are consistent
with the other error responses.

Based on the original patch as done by Paul Belanger on the associated review.

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

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@408958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_ari.c