[Home]

Summary:ASTERISK-27211: Bug in logger when transferring a call from a queue using ATTENDEDTRANSFER
Reporter:Nikolay (tensor)Labels:
Date Opened:2017-08-22 06:57:06Date Closed:2020-01-14 11:14:06.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:
Versions:13.12.2 Frequency of
Occurrence
Related
Issues:
Environment:hardware: 2 CPU xeon E5649, 36GB RAM, CentOS Linux release 7.2.1511 (Core), kernel 3.10.0-327.22.2.el7.x86_64, asterisk version is 13.12.2Attachments:( 0) Скриншот_21.08.2017_11-03-21-343.png
( 1) Скриншот_21.08.2017_11-04-58-539.png
Description:We've encountered the following issue.
When we call the queue and transfer the call using the ATTENDEDTRANSFER method, the queue log writes incorrectly. In the source code, in the method log_attended_transfer, when ast_str_set is called, for LINK two channel names are specified (unlike BRIDGE), and the logger simply divides string by the symbol "|". In the source:
AST_NONSTANDARD_APP_ARGS (args, qlog_msg, '|');
As a result, important fields migrate to another place.
Comments:By: Asterisk Team (asteriskteam) 2017-08-22 06:57:09.107-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Rusty Newton (rnewton) 2017-08-23 09:55:33.048-0500

Can you attach a debug log showing the call flow along with the resulting queue log?

https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

By: Rusty Newton (rnewton) 2017-08-25 17:26:48.308-0500

Nikolay would you be able to submit a patch to Gerrit to improve the behavior?

I'm not sure it would be accepted as this may affect others who already work with the current behavior.

Also, did you check to see if this behavior has changed in the recent past? That is, is this a regression?

By: Asterisk Team (asteriskteam) 2017-09-09 12:00:02.409-0500

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines