]> 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:15:27 +0000 (20:15 +0000)
committerMichael L. Young <elgueromexicano@gmail.com>
Mon, 12 Nov 2012 20:15:27 +0000 (20:15 +0000)
commitf8464069c9b43bcf92d60bf2991e4c2f43f5c432
tree92e5a81c7610d65e9c6e1c73d203ec4c7445eb5e
parent631da6ad9080f921c62f28f312e708a5fb172ad8
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

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