[asterisk-bugs] [JIRA] (ASTERISK-28318) Conference Bridge Options (via AMI) Setting Bug
Daniel McFarlane (JIRA)
noreply at issues.asterisk.org
Fri Mar 1 14:25:47 CST 2019
Daniel McFarlane created ASTERISK-28318:
-------------------------------------------
Summary: Conference Bridge Options (via AMI) Setting Bug
Key: ASTERISK-28318
URL: https://issues.asterisk.org/jira/browse/ASTERISK-28318
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Applications/app_confbridge
Affects Versions: 16.2.0
Environment: CentOS 7.5.1804
Reporter: Daniel McFarlane
When set via AMI, the admin Conference Bridge option/variable does not get through to/get used by Conference Bridge. This causes the admin_kick option to fail with 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.
(Note: The last caller to enter the bridge is NOT booted out either)
I've double verified and have correctly set up this channel as an admin
user. Here are my communication logs, showing the command used:
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.
Commands were then issued to start the Conference Bridge, as shown in the response logs 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
Note: Since an email I sent to the list-serve a few days ago, I've
done further testing and noticed this is happening to other
Conference Bridge Option/variables as well.
I will perform more tests regarding the other options/variables I
use and will append the extra details to this ticket once I've got
a precise list of the options/variables that do not work. Those
I can add for now are:
music_on_hold_class
The announce_user_count variables
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list