Make AMI event AgentCalled get CallerID/ConnectedLine info from the incoming channel.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 10 Nov 2011 22:38:29 +0000 (22:38 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 10 Nov 2011 22:38:29 +0000 (22:38 +0000)
commit464b337b3cfdbcc75ef7ef81c1c54a1ce950c264
tree376d10b4498e6e86cd73f0ebd8f6668305bd89fb
parent0a2a79c94bb402cdd0b3f6388f931243fb51b6cb
Make AMI event AgentCalled get CallerID/ConnectedLine info from the incoming channel.

It was strange that the AgentCalled AMI event would get most of its
information from the incoming channel but then get the CallerID
information from the outgoing channel.  Before connected line support was
added, this information was always the same at this point.

(closes issue ASTERISK-18152)
Reported by: Thomas Farnham
Tested by: rmudgett
........

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

Merged revisions 344537 from http://svn.asterisk.org/svn/asterisk/branches/10

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