diff options
author | bbryant <bbryant@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-10 19:14:24 +0000 |
---|---|---|
committer | bbryant <bbryant@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-10 19:14:24 +0000 |
commit | d11bbdf306ddf4002e5b0bafdf83deeed3c0a56b (patch) | |
tree | 832a6e8c6b5d6647eb941dffeaed6390afc68a8f /apps | |
parent | 2334a90792929050476b3211212b992ea74b0fe6 (diff) |
Merged revisions 129684 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r129684 | bbryant | 2008-07-10 14:13:12 -0500 (Thu, 10 Jul 2008) | 8 lines
Fixes a bug where the interface for a queue member gets reloaded as the state_interface, if a state_interface was set, on reload because the
state_interface isn't stored in the ast_db.
(closes issue #13043)
Reported by: jvandal
Patches:
app_queue.patch uploaded by jvandal (license 413)
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@129685 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_queue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index a30f7de1b..9e5f8736f 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -3807,7 +3807,7 @@ static struct member *interface_exists(struct call_queue *q, const char *interfa /*! \brief Dump all members in a specific queue to the database * - * <pm_family>/<queuename> = <interface>;<penalty>;<paused>[|...] + * <pm_family>/<queuename> = <interface>;<penalty>;<paused>;<state_interface>[|...] */ static void dump_queue_members(struct call_queue *pm_queue) { @@ -3829,8 +3829,8 @@ static void dump_queue_members(struct call_queue *pm_queue) continue; } - res = snprintf(value + value_len, sizeof(value) - value_len, "%s%s;%d;%d;%s", - value_len ? "|" : "", cur_member->interface, cur_member->penalty, cur_member->paused, cur_member->membername); + res = snprintf(value + value_len, sizeof(value) - value_len, "%s%s;%d;%d;%s;%s", + value_len ? "|" : "", cur_member->interface, cur_member->penalty, cur_member->paused, cur_member->membername, cur_member->state_interface); ao2_ref(cur_member, -1); |