" /> Script to Disable a DN - Genesys CTI User Forum

Author Topic: Script to Disable a DN  (Read 2022 times)

Offline water235

  • Newbie
  • *
  • Posts: 47
  • Karma: 0
Script to Disable a DN
« on: April 07, 2017, 06:50:00 PM »
Advertisement
Is it possible to write a script that disables a DN when an application is down ?
if yes, please share some pointers please

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Script to Disable a DN
« Reply #1 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?

Offline cmpark

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
Re: Script to Disable a DN
« Reply #2 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

Offline jarrod

  • Newbie
  • *
  • Posts: 42
  • Karma: 1
    • InProd CMS
Re: Script to Disable a DN
« Reply #3 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.