]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Allow configured numbers for FollowMe to be greater than 90 characters
authorMatthew Jordan <mjordan@digium.com>
Thu, 6 Sep 2012 00:54:30 +0000 (00:54 +0000)
committerMatthew Jordan <mjordan@digium.com>
Thu, 6 Sep 2012 00:54:30 +0000 (00:54 +0000)
commit1ae95fa41f491714e28aa040f0f626dfa78a9e34
treee49f3d38ce9aff5ad84e86aabd0c3c54930d1fbf
parent298f2fafe460d4c81d844c711acb8642326773c4
Allow configured numbers for FollowMe to be greater than 90 characters

When parsing a 'number' defined in followme.conf, FollowMe previously parsed
the number in the configuration file into a buffer with a length of 90
characters.  This can artificially limit some parallel dial scenarios.  This
patch allows for numbers of any length to be defined in the configuration
file.

Note that Clod Patry originally wrote a patch to fix this problem and received
a Ship It! on the JIRA issue.  The patch originally expanded the buffer to 256
characters.  Instead, the patch being committed duplicates the string in the
config file on the stack before parsing it for consumption by the application.

(closes issue ASTERISK-16879)
Reported by: Clod Patry
Tested by: mjordan
patches:
  followme_no_limit.diff uploaded by Clod Patry (license #5138)

Slightly modified for this commit.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@372390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_followme.c