Summary:ASTERISK-21554: Bridge API Enhancement - do something about chan_agent
Reporter:Matt Jordan (mjordan)Labels:Asterisk12
Date Opened:2013-04-17 21:44:05Date Closed:2013-07-15 18:26:03
Status:Closed/CompleteComponents:Channels/chan_agent Core/Bridging Features
Versions:Frequency of
Description:Oh, {{chan_agent}}. The cause of and solution to (none) of life's problems.

Disregarding {{chan_agent}}'s implementation, there are at least two things that it needs to do differently:
# It can no longer reach across and grab a channel's bridge peer pointer. This has to be rectified.
# When it performs a call pickup, it needs to not use a masquerade directly in the channel driver. The operation should be done using standard library calls if at all possible.

When an agent picks up a channel, this information has to be conveyed over Stasis-Core such that the state of the agent channel, the channel it proxies, and the channel it is bridged with all convey state information in a manner that consumers (CDRs, CEL, AMI, etc.) can make sense of what just happened.