Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: water235 on April 07, 2017, 06:50:00 PM

Title: Script to Disable a DN
Post by: water235 on April 07, 2017, 06:50:00 PM
Is it possible to write a script that disables a DN when an application is down ?
if yes, please share some pointers please
Title: Re: Script to Disable a DN
Post by: cavagnaro on April 07, 2017, 08:32:56 PM
Disable a DN...means mess with CfgServer. Scripts are usually to read data or interact with objects, not change CfgServer objects status. You are asking for a CfgServer SDK client to change a CfgServer object. You would need to build it.

And why?
Title: Re: Script to Disable a DN
Post by: cmpark on April 10, 2017, 08:32:30 AM
do you means alarm reaction script?

there no function on SCS.

if your meaning when specific application down, not routing that dn,

in IRD, using 'ServerStatus' and 'ExcludeAgents' function
Title: Re: Script to Disable a DN
Post by: jarrod on April 12, 2017, 11:58:53 AM
Depending on your TServer disabling a DN might not prevent calls going to it. On some objects the disable feature does nothing.

Assume the intention is to stop call flow when a related service is down. Might be best to use a route point loaded on the DN and have a strategy do some magic.