[asterisk-bugs] [JIRA] (ASTERISK-26913) Music on hold restart when second user comes
Studio ADAGIO (JIRA)
noreply at issues.asterisk.org
Thu Apr 6 09:50:57 CDT 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-26913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=236407#comment-236407 ]
Studio ADAGIO commented on ASTERISK-26913:
------------------------------------------
Hi Asterisk team
Our dialplan is really basic, it looks like :
exten => XXXXXXXXXX,1,agi(AGI_SCRIPT_1)
exten => YYYYYYYYYYY,1,agi(AGI_SCRIPT_2)
exten => ZZZZZZZZZZZ,1,agi(AGI_SCRIPT_3)
All the logic is in the script !
But now I think we fixed the issue, no more bug since we did this :
In apps/app_confbridge.c file, we dupplicated call to function conf_moh_stop function that is in conf_handle_second_active function
Here is the result :
void conf_handle_second_active(struct confbridge_conference *conference)
{
/ If we are the second participant we may need to stop music on hold on the first /
struct confbridge_user *first_user = AST_LIST_FIRST(&conference->active_list);
if (ast_test_flag(&first_user->u_profile, USER_OPT_MUSICONHOLD)) {
conf_moh_stop(first_user);
conf_moh_stop(first_user);
}
conf_update_user_mute(first_user);
}
Best regards
> Music on hold restart when second user comes
> --------------------------------------------
>
> Key: ASTERISK-26913
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26913
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_confbridge, Resources/res_musiconhold
> Affects Versions: 13.14.0
> Reporter: Studio ADAGIO
> Assignee: Studio ADAGIO
> Attachments: confbridge.conf.txt, confbridge_record.mp3, debug.txt, musiconhold.conf.txt, verbose.txt
>
>
> The first user who join the confbridge have a user profile with
> music_on_hold_when_empty=yes
> music_on_hold_class=Taxinergy_taxis_easy
> music on hold start well
> but sometime when the second user join confbridge, music on hold restart and cover all voices
> In attached file confbridge_record.mp3 : at 30 seconds, you can listen to the restart of the sound
> /MOH directory listing
> .
> ├── Customer_01
> │ └── moh.sln
> ├── Customer_02
> │ └── moh.sln
> ├── Customer_03
> │ └── moh.sln
> ├── Customer_04
> │ └── moh.sln
> ├── convert.sh
> ├── Customer_05
> │ └── moh.sln
> ├── Customer_06
> │ └── moh.sln
> └── Customer_07
> └── moh.sln
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list