]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_macro: Consider '~~s~~' as a macro start extension. 56/3756/1
authorchrisderock <chris@derock.de>
Wed, 17 Aug 2016 07:51:17 +0000 (09:51 +0200)
committerJoshua Colp <jcolp@digium.com>
Mon, 29 Aug 2016 15:08:03 +0000 (10:08 -0500)
commita637e2c3010dac6781eeda63410bc2394b366c59
tree43a276b82bff9025b816282320fc53c0b6f524f4
parent9dfd4916a8330df6f70d614f01ef68458b27c589
app_macro: Consider '~~s~~' as a macro start extension.

As described in issue ASTERISK-26282 the AEL parser creates macros with
extension '~~s~~'.  app_macro searches only for extension 's' so the
created extension cannot be found.  with this patch app_macro searches for
both extensions and performs the right extension.

ASTERISK-26282 #close

Change-Id: I939aa2a694148cc1054dd75ec0c47c47f47c90fb
apps/app_macro.c