]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_macro: Consider '~~s~~' as a macro start extension. 58/3758/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:23 +0000 (10:08 -0500)
commit7041f9ca96a68df79c4f85fbb0d43f71865edad4
tree96565de5e5ee78bd5fc913dee5e23c381d6eb386
parent89b6f2adbcbe2fbd8b7f4f72c805816b81f9731e
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