]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix Dynamic Hints Variable Substition - Underscore Problem
authorMichael L. Young <elgueromexicano@gmail.com>
Mon, 12 Nov 2012 20:16:57 +0000 (20:16 +0000)
committerMichael L. Young <elgueromexicano@gmail.com>
Mon, 12 Nov 2012 20:16:57 +0000 (20:16 +0000)
commit1255a271d4dfefff169585ece67b23af0c22fa26
treeb41da466965ca3ab411b0230d5e2e2b63f22bf68
parentfb74294b92c60c6bccba219a6c52b46afaa60cc4
Fix Dynamic Hints Variable Substition - Underscore Problem

When adding a dynamic hint, if an extension contains an underscore no variable
subsitution is being performed.

This patch changes from checking if the extension contains an underscore to
checking if the extension begins with an underscore.

(closes issue ASTERISK-20639)
Reported by: Steven T. Wheeler
Tested by: Steven T. Wheeler, Michael L. Young
Patches:
  asterisk-20639-dynamic-hint-underscore.diff
                                     uploaded by Michael L. Young (license 5026)

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

Merged revisions 376142 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 376143 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@376144 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/pbx.c