[asterisk-bugs] [JIRA] (ASTERISK-24723) confbridge: CLI command 'confbridge list XXXX' no longer displays user menus

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Jan 27 11:13:35 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan closed ASTERISK-24723.
----------------------------------

    Resolution: Fixed

> confbridge: CLI command 'confbridge list XXXX' no longer displays user menus
> ----------------------------------------------------------------------------
>
>                 Key: ASTERISK-24723
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24723
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_confbridge
>    Affects Versions: 13.1.0
>            Reporter: Matt Jordan
>            Assignee: Matt Jordan
>         Attachments: ASTERISK-24723-13.diff
>
>
> When issuing a {{confbridge list XXXX}} CLI command, the resulting output no longer displays the menu associated with a ConfBridge participant:
> {noformat}
> same => n,ConfBridge(8888,,default_user,menu_1)
> {noformat}
> {noformat}
>  Channel                        Flags  User Profile     Bridge Profile   Menu             CallerID
> ============================== ====== ================ ================ ================ ================
> PJSIP/1601-00000004                   default_user     default_bridge                    1601
> {noformat}
> The issue was caused by ASTERISK-22760. When that patch was done, it removed the copying of the menu name associated with the user from the actual user profile:
> {code}
>  	/* menu name */
> -	if (args.argc > 3 && !ast_strlen_zero(args.menu_name)) {
> -		ast_copy_string(user.menu_name, args.menu_name, sizeof(user.menu_name));
> -		if (conf_set_menu_to_user(user.menu_name, &user)) {
> -			ast_log(LOG_WARNING, "Conference menu %s does not exist and can not be applied to confbridge user.\n",
> -				args.menu_name);
> -			res = -1; /* invalid PIN */
> -			goto confbridge_cleanup;
> -		}
> +	if (args.argc > 3 && !ast_strlen_zero(args.menu_profile_name)) {
> +		menu_profile_name = args.menu_profile_name;
>  	}
> {code}
> That {{ast_copy_string}} (or an equivalent) is still needed somewhere.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list