Friday, February 22, 2019

Issabel Call Center - Make Callback Agent default

Issabel call center makes "agent" the default menu selection in the gui to login with "Call Back Agent" is the secondary.  

If you run a contact center that is primarily a callback, this is an extra step that you can get around by adjusting the following piece of code.   My coworker Vince and HTML wizard had this engineered in minutes.  A master of slick code.

This code clicks the "Callback Login" button automatically to make this screen the default one.
It saves agents in a center that is primarily "CallBack" agents the tedious step of clicking on this very small checkbox.

First edit this file:
/var/www/html/themes/tenant/_common/index.tpl
Scroll down to the </head> function and you'll see the following:


    
{$HEADER_MODULES}
    </head>
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" "class="mainBody page-body" {$BODYPARAMS}>
    <div class="page-container">



Insert the code in BOLD into this section and make it look like this:


   
 {$HEADER_MODULES}

<script type='text/javascript'>
        function checkTheBox()
        {
        document.getElementById("input_callback").click();
        document.getElementById("input_callback").checked=true;
        }
</script>

    </head>
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="checkTheBox()" class="mainBody page-body" {$BODYPARAMS}>


Save your changes

Now go to your logon screen and test.

When you click on Agent Console, you will be taken directly to the CallBack Agent Screen.


2 comments: