Home › Forums › HAast (High Availability for Asterisk) › Configuration & Optimization › Avoid name prompt during conference recovery after failover › Reply To: Avoid name prompt during conference recovery after failover
By default, HAastCR will place users back into the FreePBX dialplan at the point of joining the conference (without password validation). However, the conference bridge will use the FreePBX settings and may force each user to re-record their name – IF that is how you set the conference configuration within FreePBX.
To circumvent the name re-recording only for call recovery, you have to make a separate entry point into the dialplan at the Asterisk level, with different options. First, create a file in the /etc/asterisk directory called ext-meetme-custom.conf containing:
[ext-meetme]
exten => STARTMEETME,1,ExecIf($[“${MEETME_MUSIC}” != “”]?Set(CONFBRIDGE(user,music_on_hold_class)=${MEETME_MUSIC}))
exten => STARTMEETME,n,ExecIf($[“${MEETME_MUSIC}” != “”]?Set(CHANNEL(musicclass)=${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},,${USER_PROFILE},${MENU_PROFILE})
exten => STARTMEETME,n,Macro(hangupcall,)
Then edit the confbridge.conf file in the /etc/asterisk directory and add the following
[no_name_prompt_user]
type=user
record_conference=no
announce_join_leave=no
announce_user_count=no
And finally in the haastcr.conf file in the /etc/xdg/telium directory add the following:
conference/variable/user/5=USER_PROFILE=no_name_prompt_user
conference/variable/administrator/5=USER_PROFILE=no_name_prompt_user
And that’s it. You will have to restart the HAastCR service and FreePBX for the changes to take effect. To build on this, you can treat conference administrators and users differently if you like by creating separate user profiles, but the above example shows how to make the change.
Note: If you are not comfortable working with HAastCR/Asterisk configuration files, then please contact Telium to assist with this configuration.