Page 1 of 1

Possible to disable agent UI button based on condition?

PostPosted: Tue Mar 19, 2019 9:07 am
by jshasteen
I would like to disable the transfer conf button to make transferring the call impossible if a certain condition is met. For instance, if an inbound call comes in and there is no matching lead info I would like the remove transferring capability.

Thanks

Re: Possible to disable agent UI button based on condition?

PostPosted: Tue Mar 19, 2019 2:01 pm
by williamconley
Inbound DIDs have a filter option. That option can be used to reroute the call to a different DID. This requires writing a script to respond appropriately. That script can check the DB for whatever criteria you like and then send back a DID. The resulting DID's path could be to an Ingroup that is ONLY allowed in campaigns with Zero transfer options available. This requires no customization of Vicidial itself, and is therefor upgrade compatible.

Re: Possible to disable agent UI button based on condition?

PostPosted: Tue Mar 19, 2019 10:23 pm
by ambiorixg12
Transfer option are enabled and disabled on the campaign's settings, if you cant code vicidial directly you will need to try the @williamconley suggestion , usind DID filter option to transfer the call to a zero transfer campaign.

Re: Possible to disable agent UI button based on condition?

PostPosted: Wed Mar 20, 2019 8:30 am
by jshasteen
Thank you Williamconley and ambiorixg12! Very helpful information.