-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.11, 12
-
Fix Version/s: None
-
Component/s: Conferences, Music On Hold
-
Labels:
-
Environment:
CentOS 6.5, FreePBX distro,CONFBRIDGE, physical and virtual server
-
ToDo:
-
Asterisk Version:0
-
Distro Version:6.12.65-24
-
Distro:FreePBX Distro
When using multiple Music on Hold classes in several Conference rooms, Inbound route MoH class selection always overrides MoH that is selected for each Conference room.
Using CONFBRIDGE.
Steps:
1. Beside the default MoH class, create several Music on Hold classes.
2. Create one or more Conference rooms (with Admin PIN, Leader wait,...)
3. Assign MoH class for each conference room other than selected in Inbound route.
3. Assign destination for incoming calls directly to one (or more) conference room(s).
4. While callers are waiting for conference to begin, they will listen to MoH class defined on the Inboud route, no matter what is selected as MoH for that particular Conference room (other than inherit).
It seems the problem is in autogenerated scripts, since it writes INHERIT no matter what is chosen on the menu of the Conference.
[ext-meetme]
include => ext-meetme-custom
exten => STARTMEETME,1,ExecIf($["${MEETME_MUSIC}" != ""]?Set(CONFBRIDGE(user,music_on_hold_class)=${MEETME_MUSIC}))
exten => STARTMEETME,n,Set(GROUP(meetme)=${MEETME_ROOMNUM})
exten => STARTMEETME,n,GotoIf($[${MAX_PARTICIPANTS} > 0 && ${GROUP_COUNT(${MEETME_ROOMNUM}@meetme)}>${MAX_PARTICIPANTS}]?MEETMEFULL,1)
exten => STARTMEETME,n,ConfBridge(${MEETME_ROOMNUM},,,${MENU_PROFILE})
exten => STARTMEETME,n,Hangup
exten => MEETMEFULL,1,Playback(im-sorry&conf-full&goodbye)
exten => MEETMEFULL,n,Hangup
exten => h,1,Hangup
*exten => 6551,n,Set(MEETME_MUSIC=IF($["${DB(CONFERENCE/6551/music)}" = "inherit" | "${DB(CONFERENCE/6551/music)}" = ""]?${MOHCLASS}:${DB(CONFERENCE/6551/music)}))*