showLines
-
I noticed in the newest version of FOP2 that the
ShowLines has been moved out of the js/presence.js file and is moved to the manager guiIs there ANY way to add this into the button config file? we are running a vanilla asterisk and need to figure a way manipulate this on a Context by Context basis
example http://1.1.1.1/fop2?context=tenant1 wants to have 1 showLines
whereas http://1.1.1.1/fop2?context=tenant2 wants to have 3 showLines~ron
-
Hi,
The best option is to use the FOP2 Manager to configure settings for each tenant. If you do not run a supported multi tenant backend, you will have to modify functions-custom.php and configure the proper functions.
function "custom_populate_context" must populate an index based array with your fop2 contexts, supose you have "tenant1" and "tenant2" you should make that function return just that:
function custom_populate_contexts_from_tenants() {
$panelcontexts[0]='tenant1';
$panelcontexts[1]='tenant2';
return $panelcontexts;
}With that, if you log into the FOP2 manager you will have the option to chose between the two and set Settings for each distinctively.
Best regards,
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login