Startseite › Forums › HAast (High Availability for Asterisk) › Configuration & Optimization › Avoid name prompt during conference recovery after failover
Tagged: Call Recovery, conference, HAastCR, name, prompt
-
AuthorPosts
-
I am using the HAast Call Recovery option (HAastCR) to recover conferences when the cluster fails over. It works great, but I don’t like that the participants have to re-record their name upon answering the callback (for announcement into the conference). I want to keep the name announcement on for NEW conferences, but off for conferences being recovered. How can I do that? (I’m using FreePBX)
In other words, when a conference is recovered I want users to instantly drop into the recovered conference without having to do anything.
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=noAnd 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_userAnd 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.
-
AuthorPosts
- You must be logged in to reply to this topic.