]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix Queue Log Reporting Every Call COMPLETECALLER With "h" Extension Present
authorMichael L. Young <elgueromexicano@gmail.com>
Thu, 3 Jan 2013 22:12:27 +0000 (22:12 +0000)
committerMichael L. Young <elgueromexicano@gmail.com>
Thu, 3 Jan 2013 22:12:27 +0000 (22:12 +0000)
commitaeeeb28d27e8e0b65c131fa8b915c31fb99918d9
treee75916290916c4299f9f864040ba24732025d260
parentf6ae419786f48061d51f10171ed7608ec8072a2f
Fix Queue Log Reporting Every Call COMPLETECALLER With "h" Extension Present

When the "h" extension is present within the context of the queue, all calls
are being reported COMPLETECALLER even when the agent is hanging up the call.

This patch checks to see if the agent hung-up or not instead of only relying on
checking if the queue (caller) channel hung-up or not.  It would appear that
having the h extension in the mix, the pbx goes to the h extension,
"hanging-up" the queue channel and triggering the reporting of COMPLETECALLER.

(closes issue ASTERISK-20743)
Reported by: call
Tested by: call, Michael L. Young
Patches:
    asterisk-20743-q-cmplt-caller.diff
                                     uploaded by Michael L. Young (license 5026)

Review: https://reviewboard.asterisk.org/r/2256/
........

Merged revisions 378514 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@378515 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c