Hey there,
I currently have a webchat created that uses the standard form. However, our customer is now leveraging another communication channel other than chat. I attempted to read the documentation for the channel selector and got quite confused. I also tried to leverage the example just for a rough idea.
<Script>
window._genesys.widgets.channelselector = {
ewtRefreshInterval: 10,
channels: [{
enable: true,
clickCommand: 'CallUs.open',
displayName: 'Call Us',
i18n: 'CallusTitle',
icon: 'call-outgoing',
html: '<img src='http://placehold.it/100x100'>',
ewt: {
display: true,
queue: 'callus_ewt_test_eservices',
availabilityThresholdMin: 300,
availabilityThresholdMax: 480,
hideChannelWhenThresholdMax: false
}
},
{
enable: true,
clickCommand: 'WebChat.open',
displayName: 'Web Chat',
i18n: 'ChatTitle',
icon: 'chat',
html: '',
ewt: {
display: true,
queue: 'chat_ewt_test_eservices',
availabilityThresholdMin: 300,
availabilityThresholdMax: 480,
hideChannelWhenThresholdMax: false
}
},
{
enable: true,
clickCommand: 'Callback.open',
displayName: 'Receive a Call',
i18n: 'CallbackTitle',
icon: 'call-incoming',
html: '',
ewt: {
display: true,
queue: 'callback_ewt_test_eservices',
availabilityThresholdMin: 300,
availabilityThresholdMax: 480,
hideChannelWhenThresholdMax: false
}
},
};
</Script>
I cannot seem to get the channel selector to work. Any thoughts?