On Thu, Feb 28, 2019 at 12:07 PM Daniel McFarlane <dan...@szeto.ca> wrote: > > Hello, > > I've installed and been testing Asterisk 16.2.0 in order to upgrade from > Asterisk 11.15.0 and it seems I found a bug: > > I use AMI to set up Conference Bridge variables dynamically and my code > works perfectly with Asterisk 11.15.0, allowing me to use the admin_kick > feature to boot out the last caller to have entered into the bridge. > > Unfortunately, when I do the same thing with Asterisk 16.2.0 no one gets > kicked out and I see the following error on the Asterisk CLI: > > -- <DAHDI/25-1> Playing > '/var/lib/asterisk/sounds/en/confbridge/conf-errormenu.slin' (language 'en') > [Feb 28 10:17:11] WARNING[15616][C-00000057]: app_confbridge.c:2824 > action_kick_last: Only admin users can use the kick_last menu action. > Channel DAHDI/25-1 of conf 6666666 is not an admin. > > I've double verified and have correctly set up this channel as an admin > user, using the following command: > > 2019-02-27 18:29:51.450079 ><<<<<<< Action: Setvar > 2019-02-27 18:29:51.450079 ><<<<<<< Channel: DAHDI/25-1 > 2019-02-27 18:29:51.450079 ><<<<<<< Variable: CONFBRIDGE(user,admin) > 2019-02-27 18:29:51.450079 ><<<<<<< Value: yes > 2019-02-27 18:29:51.450079 ><<<<<<< Exten: confbridge > 2019-02-27 18:29:51.450079 ><<<<<<< Priority: 7 > 2019-02-27 18:29:51.450079 ><<<<<<< Context: mailboxes > 2019-02-27 18:29:51.450079 ><<<<<<< ActionID: 168735384 > 2019-02-27 18:29:51.450079 ><<<<<<< > 2019-02-27 18:29:51.450221 <>>>>>>> Response: Success > 2019-02-27 18:29:51.450221 <>>>>>>> ActionID: 168735384 > 2019-02-27 18:29:51.450221 <>>>>>>> Message: Variable Set > > ..which, as you can see was accepted since I get the response that > Asterisk set the variable. > > I then start the Conference Bridge, as per the command below, at the end > of which you will notice that "Admin: No" incorrectly shows up within > the ConfbridgeJoin Event received: > > 2019-02-27 18:29:51.683722 <>>>>>>> Event: AGIExecStart > 2019-02-27 18:29:51.683722 <>>>>>>> Privilege: agi,all > 2019-02-27 18:29:51.683722 <>>>>>>> Channel: DAHDI/25-1 > 2019-02-27 18:29:51.683722 <>>>>>>> ChannelState: 1 > 2019-02-27 18:29:51.683722 <>>>>>>> ChannelStateDesc: Rsrvd > 2019-02-27 18:29:51.683722 <>>>>>>> CallerIDNum: 5144213737 > 2019-02-27 18:29:51.683722 <>>>>>>> CallerIDName: Inbound Analog Channels > 2019-02-27 18:29:51.683722 <>>>>>>> ConnectedLineNum: <unknown> > 2019-02-27 18:29:51.683722 <>>>>>>> ConnectedLineName: <unknown> > 2019-02-27 18:29:51.683722 <>>>>>>> Language: en > 2019-02-27 18:29:51.683722 <>>>>>>> AccountCode: > 2019-02-27 18:29:51.683722 <>>>>>>> Context: mailboxes > 2019-02-27 18:29:51.683722 <>>>>>>> Exten: confbridge > 2019-02-27 18:29:51.683722 <>>>>>>> Priority: 130 > 2019-02-27 18:29:51.683722 <>>>>>>> Uniqueid: 1551310170.65 > 2019-02-27 18:29:51.683722 <>>>>>>> Linkedid: 1551310170.65 > 2019-02-27 18:29:51.683722 <>>>>>>> CommandId: 353477104 > 2019-02-27 18:29:51.683722 <>>>>>>> Command: EXEC ConfBridge > 6666666,en_base_bridge,base_user,en_admin_menu > 2019-02-27 18:29:51.683722 <>>>>>>> > 2019-02-27 18:29:51.683722 <>>>>>>> Event: BridgeEnter > 2019-02-27 18:29:51.683722 <>>>>>>> Privilege: call,all > 2019-02-27 18:29:51.683722 <>>>>>>> BridgeUniqueid: > 39033b70-3ddd-43f1-9ead-962f431b824c > 2019-02-27 18:29:51.683722 <>>>>>>> BridgeType: base > 2019-02-27 18:29:51.683722 <>>>>>>> BridgeTechnology: softmix > 2019-02-27 18:29:51.703877 ><<<<<<< BridgeCreator: ConfBridAction: AGI > 2019-02-27 18:29:51.703877 ><<<<<<< Channel: DAHDI/i1/5144213737-c > 2019-02-27 18:29:51.703877 ><<<<<<< Command: EXEC Progress > 2019-02-27 18:29:51.703877 ><<<<<<< Exten: nomailbox > 2019-02-27 18:29:51.703877 ><<<<<<< Priority: 7 > 2019-02-27 18:29:51.703877 ><<<<<<< Context: mailboxes > 2019-02-27 18:29:51.703877 ><<<<<<< ActionID: 168735387 > 2019-02-27 18:29:51.703877 ><<<<<<< > 2019-02-27 18:29:51.704134 <>>>>>>> ge > 2019-02-27 18:29:51.704134 <>>>>>>> BridgeName: 6666666 > 2019-02-27 18:29:51.704134 <>>>>>>> BridgeNumChannels: 2 > 2019-02-27 18:29:51.704134 <>>>>>>> BridgeVideoSourceMode: none > 2019-02-27 18:29:51.704134 <>>>>>>> Channel: DAHDI/25-1 > 2019-02-27 18:29:51.704134 <>>>>>>> ChannelState: 1 > 2019-02-27 18:29:51.704134 <>>>>>>> ChannelStateDesc: Rsrvd > 2019-02-27 18:29:51.704134 <>>>>>>> CallerIDNum: 5144213737 > 2019-02-27 18:29:51.704134 <>>>>>>> CallerIDName: Inbound Analog Channels > 2019-02-27 18:29:51.704134 <>>>>>>> ConnectedLineNum: <unknown> > 2019-02-27 18:29:51.704134 <>>>>>>> ConnectedLineName: <unknown> > 2019-02-27 18:29:51.704134 <>>>>>>> Language: en > 2019-02-27 18:29:51.704134 <>>>>>>> AccountCode: > 2019-02-27 18:29:51.704134 <>>>>>>> Context: mailboxes > 2019-02-27 18:29:51.704134 <>>>>>>> Exten: confbridge > 2019-02-27 18:29:51.704134 <>>>>>>> Priority: 130 > 2019-02-27 18:29:51.704134 <>>>>>>> Uniqueid: 1551310170.65 > 2019-02-27 18:29:51.704134 <>>>>>>> Linkedid: 1551310170.65 > 2019-02-27 18:29:51.704134 <>>>>>>> > 2019-02-27 18:29:51.704134 <>>>>>>> Event: VarSet > 2019-02-27 18:29:51.704134 <>>>>>>> Privilege: dialplan,all > 2019-02-27 18:29:51.704134 <>>>>>>> Channel: DAHDI/25-1 > 2019-02-27 18:29:51.704134 <>>>>>>> ChannelState: 1 > 2019-02-27 18:29:51.704134 <>>>>>>> ChannelStateDesc: Rsrvd > 2019-02-27 18:29:51.704134 <>>>>>>> CallerIDNum: 5144213737 > 2019-02-27 18:29:51.704134 <>>>>>>> CallerIDName: Inbound Analog Channels > 2019-02-27 18:29:51.704134 <>>>>>>> ConnectedLineNum: <unknown> > 2019-02-27 18:29:51.704134 <>>>>>>> ConnectedLineName: <unknown> > 2019-02-27 18:29:51.704134 <>>>>>>> Language: en > 2019-02-27 18:29:51.704134 <>>>>>>> AccountCode: > 2019-02-27 18:29:51.704134 <>>>>>>> Context: mailboxes > 2019-02-27 18:29:51.704134 <>>>>>>> Exten: confbridge > 2019-02-27 18:29:51.704134 <>>>>>>> Priority: 130 > 2019-02-27 18:29:51.704134 <>>>>>>> Uniqueid: 1551310170.65 > 2019-02-27 18:29:51.704134 <>>>>>>> Linkedid: 1551310170.65 > 2019-02-27 18:29:51.704134 <>>>>>>> Variable: BRIDGEPEER > 2019-02-27 18:29:51.704134 <>>>>>>> Value: CBAnn/6666666-0000000b;2 > 2019-02-27 18:29:51.704134 <>>>>>>> > 2019-02-27 18:29:51.704134 <>>>>>>> Event: ConfbridgeJoin > 2019-02-27 18:29:51.704134 <>>>>>>> Privilege: call,all > 2019-02-27 18:29:51.704134 <>>>>>>> Conference: 6666666 > 2019-02-27 18:29:51.704134 <>>>>>>> BridgeUniqueid: > 39033b70-3ddd-43f1-9ead-962f431b824c > 2019-02-27 18:29:51.704134 <>>>>>>> BridgeType: base > 2019-02-27 18:29:51.704134 <>>>>>>> BridgeTechnology: softmix > 2019-02-27 18:29:51.704134 <>>>>>>> BridgeCreator: ConfBridge > 2019-02-27 18:29:51.704134 <>>>>>>> BridgeName: 6666666 > 2019-02-27 18:29:51.704134 <>>>>>>> BridgeNumChannels: 2 > 2019-02-27 18:29:51.704134 <>>>>>>> BridgeVideoSourceMode: none > 2019-02-27 18:29:51.704134 <>>>>>>> Channel: DAHDI/25-1 > 2019-02-27 18:29:51.704134 <>>>>>>> ChannelState: 1 > 2019-02-27 18:29:51.704134 <>>>>>>> ChannelStateDesc: Rsrvd > 2019-02-27 18:29:51.704134 <>>>>>>> CallerIDNum: 5144213737 > 2019-02-27 18:29:51.704134 <>>>>>>> CallerIDName: Inbound Analog Channels > 2019-02-27 18:29:51.704134 <>>>>>>> ConnectedLineNum: <unknown> > 2019-02-27 18:29:51.704134 <>>>>>>> ConnectedLineName: <unknown> > 2019-02-27 18:29:51.704134 <>>>>>>> Language: en > 2019-02-27 18:29:51.704134 <>>>>>>> AccountCode: > 2019-02-27 18:29:51.704134 <>>>>>>> Context: mailboxes > 2019-02-27 18:29:51.704134 <>>>>>>> Exten: confbridge > 2019-02-27 18:29:51.704134 <>>>>>>> Priority: 130 > 2019-02-27 18:29:51.704134 <>>>>>>> Uniqueid: 1551310170.65 > 2019-02-27 18:29:51.704134 <>>>>>>> Linkedid: 1551310170.65 > 2019-02-27 18:29:51.704134 <>>>>>>> Admin: No > 2019-02-27 18:29:51.704134 <>>>>>>> Muted: No > 2019-02-27 18:29:51.704134 <>>>>>>> > 2019-02-27 18:29:51.704134 <>>>>>>> Response: Success > 2019-02-27 18:29:51.704134 <>>>>>>> ActionID: 168735387 > 2019-02-27 18:29:51.704134 <>>>>>>> Message: Added AGI command to queue > > I am writing the list serve to confirm that nothing new needs to be > done, as the Asterisk 11 to 16 jump is a pretty big one. > > Should I be opening up a bug report?
That definitely is a big jump in versions. I would open a bug on the issue tracker. Best wishes! -- Matthew Fredrickson Digium - A Sangoma Company | Asterisk Project Lead 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev