[asterisk-bugs] [JIRA] (ASTERISK-21697) Bridge API Enhancements - handle Local Channel Optimization in CDRs
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Fri Apr 26 07:15:38 CDT 2013
Matt Jordan created ASTERISK-21697:
--------------------------------------
Summary: Bridge API Enhancements - handle Local Channel Optimization in CDRs
Key: ASTERISK-21697
URL: https://issues.asterisk.org/jira/browse/ASTERISK-21697
Project: Asterisk
Issue Type: Improvement
Reporter: Matt Jordan
When a Local Channel Optimization occurs, we have to update the affected CDR records accordingly. In particular, we have to:
* For each record where a Local channel is the Party B, update the Party B information with the Party B where the other Local channel half is the Party A.
** If the Local channel half is the Party A, do nothing.
** If the other Local channel half is not a Party A, do nothing.
* If we merged, remove any affected records.
Consider the following scenarios:
*Two Party Merge:*
A <-> Local;1 <-> Local;2 <-> B
*Scenario 1:*
A,Local;1
Local;2,B
After the optimization and merge, we should have:
A,B
*Scenario 2*:
A,Local;1
B,Local;2
After the optimization and merge, we should have:
A,Local;1
B,Local;2
A,B
*Scenario 3*:
Local;1,A
Local;2,B
After the optimization and merge, we should have:
Local;1,A
Local;2,B
A,B
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list