Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: kevin on April 23, 2009, 01:23:26 PM

Title: Wait time in target block
Post by: kevin on April 23, 2009, 01:23:26 PM
can the wait time in the target block (in IRD) be a variable?

I want to write a condition to change the wait time depending on number of agents available for the call.

Is it possible . Please advice
Title: Re: Wait time in target block
Post by: Timur Karimov on April 23, 2009, 02:15:19 PM
Hi kevin!

"wait time in the target block" ? hmm...i'm little confused but did u meant Timeout properties in the Selection target IRD object ? If yes u r can use the variables for it.

WBR Timur
Title: Re: Wait time in target block
Post by: kevin on April 23, 2009, 02:56:12 PM
Hi Timur Karimov ,

I mean Timeout properties in the Selection target IRD object.


I want to declare a variable in "Timeout" properties and will I be able to change this variable from CME?

What i mean is Timeout in Selection target IRD object be controlled from CME.

Is that possible?

Thanks in advance.
Title: Re: Wait time in target block
Post by: kubikle on April 23, 2009, 05:38:47 PM
Yes,
Just create variable, read into it value from CME (functions GetConfigOption or ListGetDataCfg) and use it as
value of Timeout property in Selection object
Title: Re: Wait time in target block
Post by: kevin on April 23, 2009, 06:07:37 PM
Hi kubikle,

"read into it value from CME (functions GetConfigOption or ListGetDataCfg)"

Could you be more clear.

In CME where would I input the value to the variable? what would be option and lookup sequence values for function GetConfigOption?

Thanks!
Title: Re: Wait time in target block
Post by: ecki on April 24, 2009, 04:25:09 AM
Hi Kevin,

ListGetDataCfg is for reading elements from list object which you can define directly in IRD. It is the List objects icon in the left pane in the IRD folder "Routing Desing" or you can find it also in the menu View. Each list object can have set of items and each item can have set of KVPs. So plenty of room for configuration data.

Function GetConfigOption is reading options defined directly in annex table of particular configuration object in CME(usually in section __ROUTER__  just to have it nicely organized. You can use Routing Points, Tenant, TServer, Routing server ...etc. . Usually it is used at the RoutingPoint annex table because it allows you to define the same option for every Routing point with different values as the function is firstly looking for the option at the RP where the strategy is loaded. So you can have different parameters for the same strategy loaded on different RP. Then if not found it goes up in the objects hierarchy for Switch/Tenant/URS/Tserver (or probably there is no such logic and just simply takes the first option found in CME database). This works with parameter "StartFromCDN" (current dn). There are other parameters which specifies where this function should look in the first place such as "StartFromRouter", StartFromTenant, StartFromTServer ...

Hopefully it helps.

Cheers,

e.