[asterisk-bugs] [JIRA] (ASTERISK-29020) Regression: Fix for app_queue: track masquerades in app_queue to avoid leaked stasis subscriptions broke queue log

Grzegorz Garlewicz (JIRA) noreply at issues.asterisk.org
Fri Aug 14 09:12:43 CDT 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251646#comment-251646 ] 

Grzegorz Garlewicz commented on ASTERISK-29020:
-----------------------------------------------

{code}
1597413714|1597413569.6|test2|Sip/101|CONNECT|34|1597413712.19|1
1597413724|1597413723.20|test2|NONE|ENTERQUEUE||101|1
1597413724|1597413723.20|test2|Sip/101|ATTENDEDTRANSFER|APP|Queue|34|10|1
{code}

{code}
[2020-08-14 16:02:04] DEBUG[20847] app_queue.c: Replacing caller channel 1597413569.6 with 1597413723.20 due to masquerade
...
[2020-08-14 16:02:04] DEBUG[20944] app_queue.c: Detected attended transfer in queue test2
{code}

> Regression: Fix for app_queue: track masquerades in app_queue to avoid leaked stasis subscriptions broke queue log
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-29020
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29020
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 13.35.0
>            Reporter: Grzegorz Garlewicz
>            Assignee: Unassigned
>
> {code}handle_masquerade{code}'s
> {code}ast_string_field_set(queue_data, caller_uniqueid, new_channel_id);{code}
> makes all subsequent entries in the queue_log use the new uniqueid which is not in any way associated to the original one.
> This way you can no longer rely on the log entries.
> {code}
> 1596621010|1596620945.17555|Consultant|NONE|ENTERQUEUE||209899255|1
> 1596621016|1596620945.17555|Consultant|Sip/3873|CONNECT|6|1596621010.17570|5
> 1596621065|1596621064.17580|Specialist|NONE|ENTERQUEUE||3873|2
> 1596621066|1596621064.17580|Consultant|Sip/3873|ATTENDEDTRANSFER|APP|Queue|6|50|1
> {code}
> the last entry used to have original uniqueid



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list