|
120 | 120 | <configOption name="end_marked"> |
121 | 121 | <synopsis>Kick the user from the conference when the last marked user leaves</synopsis> |
122 | 122 | </configOption> |
| 123 | + <configOption name="end_marked_any"> |
| 124 | + <synopsis>Kick the user from the conference when any marked user leaves</synopsis> |
| 125 | + </configOption> |
123 | 126 | <configOption name="talk_detection_events"> |
124 | 127 | <synopsis>Set whether or not notifications of when a user begins and ends talking should be sent out as events over AMI</synopsis> |
125 | 128 | </configOption> |
@@ -1581,9 +1584,12 @@ static char *handle_cli_confbridge_show_user_profile(struct ast_cli_entry *e, in |
1581 | 1584 | ast_cli(a->fd,"Wait Marked: %s\n", |
1582 | 1585 | u_profile.flags & USER_OPT_WAITMARKED ? |
1583 | 1586 | "enabled" : "disabled"); |
1584 | | - ast_cli(a->fd,"END Marked: %s\n", |
| 1587 | + ast_cli(a->fd,"END Marked (All): %s\n", |
1585 | 1588 | u_profile.flags & USER_OPT_ENDMARKED ? |
1586 | 1589 | "enabled" : "disabled"); |
| 1590 | + ast_cli(a->fd,"END Marked (Any): %s\n", |
| 1591 | + u_profile.flags & USER_OPT_ENDMARKEDANY ? |
| 1592 | + "enabled" : "disabled"); |
1587 | 1593 | ast_cli(a->fd,"Drop_silence: %s\n", |
1588 | 1594 | u_profile.flags & USER_OPT_DROP_SILENCE ? |
1589 | 1595 | "enabled" : "disabled"); |
@@ -2407,6 +2413,7 @@ int conf_load_config(void) |
2407 | 2413 | aco_option_register(&cfg_info, "announce_only_user", ACO_EXACT, user_types, "yes", OPT_BOOLFLAG_T, 0, FLDSET(struct user_profile, flags), USER_OPT_NOONLYPERSON); |
2408 | 2414 | aco_option_register(&cfg_info, "wait_marked", ACO_EXACT, user_types, "no", OPT_BOOLFLAG_T, 1, FLDSET(struct user_profile, flags), USER_OPT_WAITMARKED); |
2409 | 2415 | aco_option_register(&cfg_info, "end_marked", ACO_EXACT, user_types, "no", OPT_BOOLFLAG_T, 1, FLDSET(struct user_profile, flags), USER_OPT_ENDMARKED); |
| 2416 | + aco_option_register(&cfg_info, "end_marked_any", ACO_EXACT, user_types, "no", OPT_BOOLFLAG_T, 1, FLDSET(struct user_profile, flags), USER_OPT_ENDMARKEDANY); |
2410 | 2417 | aco_option_register(&cfg_info, "talk_detection_events", ACO_EXACT, user_types, "no", OPT_BOOLFLAG_T, 1, FLDSET(struct user_profile, flags), USER_OPT_TALKER_DETECT); |
2411 | 2418 | aco_option_register(&cfg_info, "dtmf_passthrough", ACO_EXACT, user_types, "no", OPT_BOOLFLAG_T, 1, FLDSET(struct user_profile, flags), USER_OPT_DTMF_PASS); |
2412 | 2419 | aco_option_register(&cfg_info, "announce_join_leave", ACO_EXACT, user_types, "no", OPT_BOOLFLAG_T, 1, FLDSET(struct user_profile, flags), USER_OPT_ANNOUNCE_JOIN_LEAVE); |
|
0 commit comments