]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_ari: Fix create request body parameter parsing.
authorsungtae kim <sungtae@messagebird.com>
Tue, 9 Jun 2020 11:57:24 +0000 (11:57 +0000)
committerJoshua Colp <jcolp@sangoma.com>
Tue, 9 Jun 2020 12:27:17 +0000 (07:27 -0500)
commit7082a740f9df6838b8e7636c1bca15066038af71
tree33867aa394bd3d8a75d97b7b2f389f357842b02b
parent9c7675ac0e394b1234135c27decf714c982d9b66
res_ari: Fix create request body parameter parsing.

If parameters were passed in the body as JSON to the
create route they were not being parsed before checking
to ensure that required fields were set.

This change moves the parsing so it occurs before
checking.

ASTERISK-28940

Change-Id: I898b4c3c7ae1cde19a6840e59f498822701cf5cf
res/ari/resource_channels.c