[asterisk-bugs] [JIRA] (ASTERISK-23679) CDR userfield merged incorrectly in ast_bridge_call
Vitezslav Novy (JIRA)
noreply at issues.asterisk.org
Sat May 3 03:34:43 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vitezslav Novy updated ASTERISK-23679:
--------------------------------------
Status: Waiting for Feedback (was: Waiting for Feedback)
I see now that not only top CDR record on stack is affected by ast_cdr_setuserfield or ast_cdr appenduserfield.
Is that your point?
I still believe first patch sets correctly userfield of top CDR record but I do not have any idea what can be in other CDR records on stack and what is logic of their updates.
I've inserted new patch which appends semicolon and B-leg userfield value to A-leg userfield. If it is also not correct then please just close the issue, because I do not have enough knowledge to solve the problem.
> CDR userfield merged incorrectly in ast_bridge_call
> ----------------------------------------------------
>
> Key: ASTERISK-23679
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-23679
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Features
> Affects Versions: 11.9.0
> Reporter: Vitezslav Novy
> Assignee: Vitezslav Novy
> Severity: Minor
> Attachments: 11-cdr_userfield2.patch, 11-cdr_userfield.patch
>
>
> In function ast_bridge_call (in main/features.c) CDR field of B leg is appended to CDR userfield of A leg.
> when at start userfield of leg A is 'aaa' and userfield of leg B is 'bbb' result in leg A userfield should be 'aaa;bbb'.
> Because of incorrect merge result is 'aaaaaa;bbb'
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list