Dial and queue connected line update macro not always run when expected.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 20 May 2010 19:40:03 +0000 (19:40 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 20 May 2010 19:40:03 +0000 (19:40 +0000)
commit3d1f005fedc976a7f3533d3fa16a315841f2974f
treecefa4cb62acea0c4e26e1a082fa55d72e0cbc154
parentc7303d840eb4d36d45c8654ecb7906a3c620bb70
Dial and queue connected line update macro not always run when expected.

The connected line update macro would not get run if the connected line
number string was empty.  The number could be empty if the connected line
update did not update a number but the name.  It should be run if there
was an AST_CONTROL_CONNECTED_LINE frame received for pending dials and
queues.

Renamed and added some more comments for some confusing identifiers
directly connected to the related code.

Also fixed a memory leak in app_queue.

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@264669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_dial.c
apps/app_queue.c