app_macro sometimes would crash due to datastore list corruption on the
channel because of lack of locking around find and create process for
the macro datastore. This patch locks the channel lock prior to protect
against this problem.
Resolves: #265
(cherry picked from commit ec4e0340ce)
pull/499/head
Matthew Fredrickson2 years agocommitted byAsterisk Development Team