diff options
author | Jonathan Rose <jrose@digium.com> | 2012-04-11 17:20:08 +0000 |
---|---|---|
committer | Jonathan Rose <jrose@digium.com> | 2012-04-11 17:20:08 +0000 |
commit | 683eacb59a2d322d57c4c9bd9f6e22501c2c244b (patch) | |
tree | 950d1e1fa0066a0e3261b1f6d4efd2402a4dab27 /apps/app_queue.c | |
parent | 198046d70680d229ef24528d00478844df924751 (diff) |
Change default value of 'ignorebusy' on Queue members so that behavior is more like 1.8
Prior to this patch, in order to restore that behavior, a function would have
to be used on the QueueMember to make the ringinuse option do anything, which
is pretty unreasonable.
(closes issue ASTERISK-19536)
reported by: Philippe Lindheimer
Review: https://reviewboard.asterisk.org/r/1860/
........
Merged revisions 361907 from http://svn.asterisk.org/svn/asterisk/branches/10
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@361909 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 7a91384b8..f7da4180f 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1716,6 +1716,7 @@ static struct member *create_queue_member(const char *interface, const char *mem struct member *cur; if ((cur = ao2_alloc(sizeof(*cur), NULL))) { + cur->ignorebusy = 1; cur->penalty = penalty; cur->paused = paused; ast_copy_string(cur->interface, interface, sizeof(cur->interface)); |