Hi all, I've got an AGI script that launches the conference bridge with a line like: "$main::agi->exec(ConfBridge,$conf,default_bridge,default_user,$menu_profile)" The $conf variable contains the room number. I'm trying to configure it so that when only one person is in the conference, they hear moh. My /etc/asterisk/confbridge.conf looks like: ======================================[general] [default_bridge] type=bridge [default_user] type=user quiet=no announce_join_leave=yes music_on_hold_class=default music_on_hold_when_empty=yes [default_menu] type=menu 0=playback_and_continue(/none) 1=increase_listening_volume 2=toggle_mute 3=increase_talking_volume 4=reset_listening_volume 5=admin_toggle_mute_participants 6=reset_talking_volume 7=decrease_listening_volume 8=admin_toggle_conference_lock 9=decrease_talking_volume *=admin_kick_last \#=participant_count ====================================== However, my user isn't hearing anything. MoH does work otherwise. What am I missing? Thanks in advance, Mike. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180523/ffd6d7de/attachment.html>
could you switch asterisk to verbose >=3 and show the output from the cli? which version of asterisk do you use? yves Am 23.05.2018 um 23:23 schrieb Mike Diehl:> Hi all, > > I've got an AGI script that launches the conference bridge with a line > like: > > "$main::agi->exec(ConfBridge,$conf,default_bridge,default_user,$menu_profile)" > > The $conf variable contains the room number. > > I'm trying to configure it so that when only one person is in the > conference, they hear moh. > > My /etc/asterisk/confbridge.conf looks like: > > ======================================> [general] > > [default_bridge] > type=bridge > > [default_user] > type=user > quiet=no > announce_join_leave=yes > music_on_hold_class=default > music_on_hold_when_empty=yes > > [default_menu] > type=menu > 0=playback_and_continue(/none) > 1=increase_listening_volume > 2=toggle_mute > 3=increase_talking_volume > 4=reset_listening_volume > 5=admin_toggle_mute_participants > 6=reset_talking_volume > 7=decrease_listening_volume > 8=admin_toggle_conference_lock > 9=decrease_talking_volume > *=admin_kick_last > \#=participant_count > ======================================> > However, my user isn't hearing anything. MoH does work otherwise. > > What am I missing? > > Thanks in advance, > > Mike. > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180524/8e83ac81/attachment.html>
On 05/23/2018 05:23 PM, Mike Diehl wrote:> > However, my user isn't hearing anything. MoH does work otherwise.The only difference between your setup and mine is that I'm having them wait for the marked user. In that case, MOH does play. What does your console output look like? Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180524/1fc8c0a7/attachment.html>
Well, it SEEMS to be working now. I don't know what I did, and frankly, don't have time to back track to find out. Thanks for your time. Mike. On Thu, May 24, 2018 at 4:33 AM, Doug Lytle <support at drdos.info> wrote:> On 05/23/2018 05:23 PM, Mike Diehl wrote: > > > However, my user isn't hearing anything. MoH does work otherwise. > > > The only difference between your setup and mine is that I'm having them > wait for the marked user. In that case, MOH does play. > > What does your console output look like? > > Doug > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: https://community.asterisk. > org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180528/a87546ad/attachment.html>