[asterisk-bugs] [JIRA] (ASTERISK-29081) res_stasis: Missing sort function on bridge_moh_create
Hajek Michal (JIRA)
noreply at issues.asterisk.org
Tue Sep 15 15:39:43 CDT 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-29081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hajek Michal updated ASTERISK-29081:
------------------------------------
Attachment: full.txt
Full log - Problem with MOH on bridge bridge_1600201661.23.
You can found line
{color:red}
{code}
[Sep 15 22:27:42.112] DEBUG[83237] res_stasis.c: BUG? Found moh_wrapper 1600201659.7 in bridge bridge_1600201661.23
{code}
{color}
I append debug log to res/res_stasis.c
{code}
struct ast_channel *stasis_app_bridge_moh_channel(struct ast_bridge *bridge)
{
struct ast_channel *chan;
struct stasis_app_bridge_channel_wrapper *moh_wrapper;
ao2_lock(app_bridges_moh);
moh_wrapper = ao2_find(app_bridges_moh, bridge->uniqueid, OBJ_SEARCH_KEY | OBJ_NOLOCK);
if (!moh_wrapper) {
chan = bridge_moh_create(bridge);
}
ao2_unlock(app_bridges_moh);
if (moh_wrapper) {
ast_log(LOG_DEBUG, "BUG? Found moh_wrapper %s in bridge %s\n", moh_wrapper->channel_id, bridge->uniqueid);
chan = ast_channel_get_by_name(moh_wrapper->channel_id);
ao2_ref(moh_wrapper, -1);
}
return chan;
}
{code}
> 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: 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