https://origsvn.digium.com/svn/asterisk/trunk
................
r109714 | mmichelson | 2008-03-18 15:59:02 -0500 (Tue, 18 Mar 2008) | 20 lines
Merged revisions 109713 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r109713 | mmichelson | 2008-03-18 15:52:15 -0500 (Tue, 18 Mar 2008) | 12 lines
This patch makes it so that all queue member status changes are handled through device state
code. This removes several problems people were seeing where their queue members would get into
an "unknown" state. Huge props go to atis on this one since he was the one who found the code
section that was causing the problem and proposed the solution. I just wrote what he suggested :)
(closes issue #12127)
Reported by: atis
Patches:
12127v3.patch uploaded by putnopvut (license 60)
Tested by: atis, jvandal
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@109716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
ast_debug(3,"Device '%s/%s' changed to state '%d' (%s) but we don't care because they're not a member of any queue.\n",technology,loc,sc->state,devstate2str(sc->state));
returnNULL;
}
structao2_iteratormem_iter,queue_iter;
structcall_queue*q;
ast_debug(1,"Device '%s/%s' changed to state '%d' (%s)\n",technology,loc,sc->state,devstate2str(sc->state));
ast_log(LOG_DEBUG,"Device '%s/%s' changed to state '%d' (%s) but we don't care because they're not a member of any queue.\n",technology,loc,sc->state,devstate2str(sc->state));
returnNULL;
}
if(option_debug)
ast_log(LOG_DEBUG,"Device '%s/%s' changed to state '%d' (%s)\n",technology,loc,sc->state,devstate2str(sc->state));