[asterisk-bugs] [JIRA] (ASTERISK-29081) res_stasis: Missing sort function on bridge_moh_create

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Wed Sep 16 04:38:43 CDT 2020


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua C. Colp updated ASTERISK-29081:
--------------------------------------

    Assignee: Hajek Michal  (was: Unassigned)
      Status: Waiting for Feedback  (was: Open)

That is the issue then - not that there is no sort, but that there is no comparison function. As a result when a lot are present it doesn't find the correct moh_wrapper. Adding a sort function had the side effect of fixing it due to the sorting taking place, but a comparison function should actually be used instead to ensure the correct thing is matched.

> res_stasis: Missing sort function on bridge_moh_create
> ------------------------------------------------------
>
>                 Key: ASTERISK-29081
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29081
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_stasis
>    Affects Versions: 16.13.0, 17.7.0, 18.0.0
>         Environment: CentOS
>            Reporter: Hajek Michal
>            Assignee: Hajek Michal
>            Severity: Minor
>              Labels: patch
>         Attachments: astobj2_container.txt, full_2.txt, full.txt, moh_bug_res_stasis.patch
>
>
> 1/ Created much PJSIP channels and goto Stasis app at the same time.
> 2/ Created bridge for every channel.
> 3/ Assigned channels to bridges.
> 4/ Play MOH on bridges.
> Sometimes I hear, that same channel not play moh, this is problem for our customers, they hear silent.



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



More information about the asterisk-bugs mailing list