Ok, I had a same problem before and even though I could swear there was a t-server option I cannot find it.
The other way (and not as glamorous is to set it in yout TExtension.TAgentWorkMode.
According to Genesys, by default it is 0, which [color=red]SUPPOSEDLY[/color] sets your agent into NOT-READY mode, but it does not seem to be like that (at least with SIP T-Server). So, you would need to specify it directly. AuxMode perhaps?
Here is the reason why I am saying "SUPPOSEDLY". If you look at the enclosed log, you will see that there is EventAgentReady after login despite AgentWorkMode = Unknown.
[color=green][size=8pt]15:47:01.109 Trc 04541 RequestAgentLogin received from 460 (001c CTISIP_Client)
message RequestAgentLogin
AttributeThisQueue 'Q1'
AttributeThisDN '6002'
AttributeAgentID '10010'
AttributeAgentWorkMode 0 (Unknown)
AttributeReferenceID 3
15:47:01.109 -- created: CRequest@01BEF8F0 RequestAgentLogin-CTISIP_Client[460]/3
15:47:01.109 +++ CIFace::Request +++
-- new invoke
Parsed: RequestAgentLogin
From: CTISIP_Client[460]/3
Numbers: +<6002> -<none>
Status: parsed:1 queued:0 sent:0 acked:0 preevent:0 event:0 context:0 transferred:0
-----
-- AgnEmu: global ACW 0
@15:47:01.1090 [0] 7.2.100.42 distribute_response: message EventAgentLogin
AttributeEventSequenceNumber 00000000000001ec
AttributeTimeinuSecs 109000
AttributeTimeinSecs 1170226021 (15:47:01)
AttributeReferenceID 3
AttributeThisQueue 'Q1'
AttributeAgentID '10010'
AttributeThisDN '6002'
@15:47:01.1090 [ISCC] Debug: Translate: '' -> ''; result 1 ()
15:47:01.109 Trc 04542 EventAgentLogin sent to 460 (001c CTISIP_Client)
15:47:01.109 Trc 04542 EventAgentLogin sent to 440 (0006 CTISIP_Client)
15:47:01.109 Trc 04542 EventAgentLogin sent to 388 (0002 StatServer)
[color=red]@15:47:01.1090 [0] 7.2.100.42 distribute_event: message EventAgentReady
AttributeEventSequenceNumber 00000000000001ed
AttributeTimeinuSecs 109000
AttributeTimeinSecs 1170226021 (15:47:01)
AttributeThisQueue 'Q1'
AttributeAgentID '10010'
AttributeThisDN '6002'
[/color]@15:47:01.1090 [ISCC] Debug: Translate: '' -> ''; result 1 ()
15:47:01.109 Trc 04542 EventAgentReady sent to 460 (001c CTISIP_Client)
15:47:01.109 Trc 04542 EventAgentReady sent to 440 (0006 CTISIP_Client)
15:47:01.109 Trc 04542 EventAgentReady sent to 388 (0002 StatServer)
[/size][/color]
Tell me how it went!
Best regards,
Vic