Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Stephane on May 24, 2011, 02:51:30 PM

Title: RequestAgentNotReady with NTS
Post by: Stephane on May 24, 2011, 02:51:30 PM
Hello,

Is there any way of changing agent state (Ready - > Not Ready with reason code 4) from  routing strategy when my strategy runs on a Network TServer.
For the moment, I send this :
RequestAgentNotReady
AttributeAgentWorkMode 4 (AuxWork)
AttributeReferenceID 2471
AttributeThisDN '915106'

But it seems that there is no propagation on the TServer.
Do you know how I can specify the TServer ? With AttributeLocation ? If yes, how can I send it ?

Thanks.

Stephane
Title: Re: RequestAgentNotReady with NTS
Post by: Stephane on May 24, 2011, 03:46:33 PM
I forget to specify the TServer in the SendRequest but now I receive an event error (DN is not registered) from my TServer.
I compared with a "normal" Not Ready" sent from my desktop and the event are the same.
An idea ?

Thanks,

Stephane
Title: Re: RequestAgentNotReady with NTS
Post by: Fra on May 24, 2011, 05:51:19 PM
Obviously if there's just 'ThisDN' your Network TServer will assume is a local resource.

From URS 7.6 Reference Manual:
[size=10pt][color=blue][font=times new roman]
SendRequest[/font][/color][/size]
[size=8pt][color=blue][font=times new roman]
Parameters: Type STRING or variable (type of distributed request):
RequestAgentNotReady, RequestAgentReady,
RequestAnswerCall, RequestApplyTreatment,
RequestCallForwardSet, RequestDistributeUserEvent,
RequestMakeCall, RequestPrivateService,
RequestRedirectCall (see note below), RequestReleaseCall,
RequestRouteCall, RequestpdateUserData, end_test,
test_var
Request: STRING (list) or variable (representing a string for the
request), end_test, test_var
Return value type: VOID

The Request parameter in SendRequest can be empty. If specified, the string or
the variable (representing the string) must be in the key-value list format using
one of the following keys: event, thisdn, otherdn, thirdpartydn, dnis,
ani, collecteddigits, referenceid, userdata, and extensions.
[/font][/color][/size]
Build a simple strategy with the SendRequest method and play around with 'extensions': in the RequestRouteCall the destination location is specified in the AttributeExtension 'switch'.

Fra
Title: Re: RequestAgentNotReady with NTS
Post by: kubikle on May 25, 2011, 12:18:26 AM
Tserver probably requires any client sending RequestAgentNotReady on some DN to be registered on this DN.
Will be good to check dies URS register on 915106 or not as URS by default register only on small subset of different DN types.
If not - then URS have to be forced to registered on this DN with event_arrive option (or transit_dn one) 
Title: Re: RequestAgentNotReady with NTS
Post by: Stephane on May 25, 2011, 07:46:43 AM
Thanks ! It works with the option transit-dn !

Stephane