We have a product that uses Asterisk via AMI. I am relatively certain we used to be able to play prompts by actions like the following to make asterisk play the confbridge-join prompt when a new user joins the confbridge. However, that doesn't seem to work now. Action: SetVar ActionID: C58 Channel: PJSIP/1003-00000003 Variable: CONFBRIDGE(bridge,sound_join) Value: en/confbridge-join Does anyone know if the ConfBridge sound____ variable setting approach changed? Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20191022/a2c1a6ad/attachment.html>
Just to add additional information, it seems this approach works with the CONFBRIDGE user variables just not the bridge variables... Action: SetVar^M ActionID: C81^M Channel: PJSIP/1003-00000003^M Variable: CONFBRIDGE(user,announcement)^M Value: en/confbridge-join^M For the bridge variable, I have a second call in the same ConfBridge. I expected to hear the confbridge-join when I added channel PJSIP/1003-00000003 to the ConfBridge, but there is no sound played to the other channel. I do end up in a ConfBridge with both calls able to hear each other so I know the confbridge is working. Did the naming for the CONFBRIDGE bridge variables changed? Dan From: asterisk-users <asterisk-users-bounces at lists.digium.com> On Behalf Of Dan Cropp Sent: Tuesday, October 22, 2019 3:54 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] ConfBridge and sound prompts We have a product that uses Asterisk via AMI. I am relatively certain we used to be able to play prompts by actions like the following to make asterisk play the confbridge-join prompt when a new user joins the confbridge. However, that doesn't seem to work now. Action: SetVar ActionID: C58 Channel: PJSIP/1003-00000003 Variable: CONFBRIDGE(bridge,sound_join) Value: en/confbridge-join Does anyone know if the ConfBridge sound____ variable setting approach changed? Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20191022/f9043813/attachment.html>
On Tue, Oct 22, 2019, at 6:01 PM, Dan Cropp wrote:> > Just to add additional information, it seems this approach works with > the CONFBRIDGE user variables just not the bridge variables… > > > Action: SetVar^M > > ActionID: C81^M > > Channel: PJSIP/1003-00000003^M > > Variable: CONFBRIDGE(user,announcement)^M > > Value: en/confbridge-join^M > > > For the bridge variable, I have a second call in the same ConfBridge. I > expected to hear the confbridge-join when I added channel > PJSIP/1003-00000003 to the ConfBridge, but there is no sound played to > the other channel. I do end up in a ConfBridge with both calls able to > hear each other so I know the confbridge is working. > > > Did the naming for the CONFBRIDGE bridge variables changed?There wasn't any change, but you may have been relying on broken behavior that was fixed some time ago whereby setting the profile did not work according to the documentation (dynamic profiles created on the channel should only be applied if no profile is specified when calling ConfBridge)[1]. [1] https://issues.asterisk.org/jira/browse/ASTERISK-28318 -- Joshua C. Colp Digium - A Sangoma Company | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org