Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: corn on October 11, 2006, 09:44:55 AM
-
following situation:
we use a T-Server for Avaya Communication Manager Version 7.2.008.01
if our application starts and connects via T-Server to an Avaya Definity switch
our application then requests registering of voice position ids, e.g. voice position
id 3500;
our application sends a registerAddress request and gets an EventRegistered for
id 3500 and at once after this an EventDNOutOfService.
(it's the same for all other voice position ids.)
Question is, why we get this EventDNOutOfService.
Can anybody help me ?
17:06:51.094 Trc 04541 RequestRegisterAddress received from 488 (0002 Fozzie MOS Genesys 5.00)
message RequestRegisterAddress
AttributeThisDN '3500'
AttributeRegisterMode 0
AttributeControlMode 0
AttributeAddressType 0 (Unknown)
AttributeReferenceID 1
map <dn,conf>: find (3500): Ok
[ 4 - ] DN: '3500' Links assigned
(tservice_proc) AddressType set to 1 for 3500
(tservice_proc) ControlMode set to 1 for 3500
** ts7.2.008.01[4] <> ** 17:06:51.0940
08 00 00 1B 08 02 00 23 64 96 1C 13 91 A1 10 02 01 03 02 01 C4 40 08 96 49 05 83 33 35 30 B0
=== parsed message ===
prot_discr = 8
CRV = 23
MsgType = 100 (REGISTER)
Facility: serv_discr = 17(q932_suppl) fac_ie = component_tag = A1(INVOKE)
invoke_id tag: 02, value = 3
operation tag: 02, value = 196(Domain_Control)
params = q931_tag = 40
list =
Domain: type = 3(Extension) address = [4] 33 35 30 30 '3500'
17:06:51.094 Trc 04541 RequestRegisterAddress received from 488 (0002 Fozzie MOS Genesys 5.00)
message RequestRegisterAddress
AttributeThisDN '3500'
AttributeRegisterMode 0
AttributeControlMode 0
AttributeAddressType 0 (Unknown)
AttributeReferenceID 1
map <dn,conf>: find (3500): Ok
[ 4 - ] DN: '3500' Links assigned
(tservice_proc) AddressType set to 1 for 3500
(tservice_proc) ControlMode set to 1 for 3500
** ts7.2.008.01[4] <> ** 17:06:51.0940
08 00 00 1B 08 02 00 23 64 96 1C 13 91 A1 10 02 01 03 02 01 C4 40 08 96 49 05 83 33 35 30 B0
=== parsed message ===
prot_discr = 8
CRV = 23
MsgType = 100 (REGISTER)
Facility: serv_discr = 17(q932_suppl) fac_ie = component_tag = A1(INVOKE)
invoke_id tag: 02, value = 3
operation tag: 02, value = 196(Domain_Control)
params = q931_tag = 40
list =
Domain: type = 3(Extension) address = [4] 33 35 30 30 '3500'
17:06:51.0940 [0] 7.2.008.01 send_to_client: message EventRegistered
AttributeEventSequenceNumber 0000000000000003
AttributeCustomerID 'Resources'
AttributeTimeinuSecs 94000
AttributeTimeinSecs 1160492811 (17:06:51)
AttributeAddressType 1 (DN)
AttributeExtensions [37] 00 02 01 00..
'AgentStatus' 0
'status' 128
AttributeReferenceID 1
AttributeThisDN '3500'
17:06:51.094 Trc 04542 EventRegistered sent to 488 (0002 Fozzie MOS Genesys 5.00)
@17:06:51.0940 [0] 7.2.008.01 distribute_event: message EventDNOutOfService
AttributeEventSequenceNumber 0000000000000004
AttributeCustomerID 'Resources'
AttributeTimeinuSecs 94000
AttributeTimeinSecs 1160492811 (17:06:51)
AttributeExtensions [17] 00 01 01 00..
'status' 128
AttributeThisDN '3500'
@17:06:51.0940 [ISCC] Debug: Translate: '' -> ''; result 1 ()
17:06:51.094 Trc 04542 EventDNOutOfService sent to 488 (0002 Fozzie MOS Genesys 5.00)
-
This can happen when a CTI link is down or not working properly.
It seems that messages are only sent to the switch and there's no response. DNs are registered only by the TServer (so you are getting EventRegistered), not by the switch.
Regards,
Leszek
-
Thanks for your quick response.
the T-Server trace shows that the first two "link connect attempts" fail
but the third attempt works and then link connection is ok.
At the moment we don't see why the first two "link connect attempts" fail.
Any idea ?
(link_start) link [4] 'link-tcp' start
(tcp_start) connecting to definity:5678... contacted on socket [516]
map <dn,conf>: find (T-Server_G3si_3::): None
[ 4 - ] DN: 'T-Server_G3si_3::' Links assigned
map <dn,conf>: find (G3si::): None
[ 4 - ] DN: 'G3si::' Links assigned
13:31:31.815 Std 05061 Initialization completed
LCA_set_AppLiveStatus(APP_STATUS_SERVICE_UNAVAILABLE)
@13:31:31.8150 [TCONF] Debug: Application type [ConfigurationServer] is skipped for the Remote Server
13:31:31.815 Trc 04541 Registered received from 416 (CfgServer)
************************************
LCALayer: REventRegistered on LCA...
************************************
13:31:31.815 Trc 04541 Registered received from 416 (CfgServer)
13:31:31.815 Trc 04541 Registered received from 416 (CfgServer)
13:31:31.815 Trc 04541 Registered received from 416 (CfgServer)
13:31:31.815 Trc 04541 Registered received from 416 (CfgServer)
13:31:31.815 Trc 04541 Registered received from 416 (CfgServer)
AgentLogin array <+>
[103] login-id = '42200' <+>
@13:31:31.8310 [TCONF] Debug: Main Switch's Agent Logins are read.Number: 1
@13:31:31.8310 [TCONF] Debug: Configuration is fully initialized
(tcp_connect_handler) definity:5678 is connected on socket [516]
** ts7.2.008.01[4] <> ** 10/11/06 13:31:31.8310
04 1B
13:31:31.831 Trc 31000 Connection Request: Link[4], link number[4], protocol(27)
Status value (0):
New status: (1) ConnectionInProgress1 - ConnReq sent
Old status: (0) LinkDown - no TCP/IP connection
(link_stop) link [4] 'link-tcp' stop
(tcp_stop) closed on [516]
-- link[4] @13:31:31.9400 -- TCP/IP connection closed --
13:31:31.940 Std 31011 Disconnected: Link[4], reason [TCP/IP connection closed]
Status value (0):
New status: (0) LinkDown - no TCP/IP connection
Old status: (1) ConnectionInProgress1 - ConnReq sent
-- Number of active links: 0 out of 32 --
-- Number of active links: 1 out of 32 --
(link_start) link [4] 'link-tcp' start
(tcp_start) connecting to definity:5678... contacted on socket [520]
(tcp_connect_handler) definity:5678 is connected on socket [520]
** ts7.2.008.01[4] <> ** 13:31:36.9710
04 1A
13:31:36.971 Trc 31000 Connection Request: Link[4], link number[4], protocol(26)
Status value (0):
New status: (1) ConnectionInProgress1 - ConnReq sent
Old status: (0) LinkDown - no TCP/IP connection
(link_stop) link [4] 'link-tcp' stop
(tcp_stop) closed on [520]
-- link[4] @13:31:37.0810 -- TCP/IP connection closed --
13:31:37.081 Std 31011 Disconnected: Link[4], reason [TCP/IP connection closed]
Status value (0):
New status: (0) LinkDown - no TCP/IP connection
Old status: (1) ConnectionInProgress1 - ConnReq sent
-- Number of active links: 0 out of 32 --
-- Number of active links: 1 out of 32 --
(link_start) link [4] 'link-tcp' start
(tcp_start) connecting to definity:5678... contacted on socket [520]
(tcp_connect_handler) definity:5678 is connected on socket [520]
** ts7.2.008.01[4] <> ** 13:31:42.1280
04 01
13:31:42.128 Trc 31000 Connection Request: Link[4], link number[4], protocol(1)
Status value (0):
New status: (1) ConnectionInProgress1 - ConnReq sent
Old status: (0) LinkDown - no TCP/IP connection
13:31:42.393 Trc 31002 Connection Progress: Link[4], progress [Success], reason [Connected]
** link[4] <> ** 13:31:42.3930
13:31:42.393 Trc 31001 Connection Accepted: Link[4], status [Up], reason [N/A]
** ts7.2.008.01[4] <> ** 13:31:42.3930
08 00 00 12 08 02 00 00 46 79 01 87 96 1B 01 81 1B 01 82 1B 01 83
=== parsed message ===
prot_discr = 8
CRV = 0
MsgType = 70 (RESTART)
Restart_Indicator: restart_class = 7(all_interfaces)
Version: # elems = 3
value = 1(asai_version_1) id = [0]
value = 2(asai_version_2) id = [0]
value = 3(asai_version_3) id = [0]
Status value (0):
New status: (3) ConnectionInProgress3 - Restart sent
Old status: (1) ConnectionInProgress1 - ConnReq sent
** link[4] <> ** 13:31:42.3930
08 02 00 00 46 79 01 87 96 1B 01 83 1B 01 82 1B 01 81
=== parsed message ===
prot_discr = 8
CRV = 0
MsgType = 70 (RESTART)
Restart_Indicator: restart_class = 7(all_interfaces)
Version: # elems = 3
value = 3(asai_version_3) id = [0]
value = 2(asai_version_2) id = [0]
value = 1(asai_version_1) id = [0]
** ts7.2.008.01[4] <> ** 13:31:42.3930
08 00 00 0C 08 02 80 00 4E 79 01 87 96 1B 01 83
=== parsed message ===
prot_discr = 8
CRV = 8000
MsgType = 78 (RESTART ACKNOWLEDGE)
Restart_Indicator: restart_class = 7(all_interfaces)
Version: value = 3(asai_version_3) id = [0]
Status value (0):
New status: (4) ConnectionInProgress4 - RestartACK sent
Old status: (3) ConnectionInProgress3 - Restart sent
** link[4] <> ** 13:31:42.4710
08 02 80 00 4E 79 01 87 96 1B 01 83
=== parsed message ===
prot_discr = 8
CRV = 8000
MsgType = 78 (RESTART ACKNOWLEDGE)
Restart_Indicator: restart_class = 7(all_interfaces)
Version: value = 3(asai_version_3) id = [0]
Status value (1):
New status: (5) LinkUp, auto_register done
Old status: (4) ConnectionInProgress4 - RestartACK sent
13:31:42.471 Trc 31004 Link[4] Up
-- link[4] @13:31:42.4710 -- Mode changed from None to Primary --
13:31:42.471 Trc 31003 Link Mode Changed: Link[4], new mode [Primary], old mode [None]
** ts7.2.008.01[4] <> ** 13:31:42.4710
08 02 00 00 00 F7 96 7A 07 03 80 90 82 D3 01 03
=== parsed message ===
prot_discr = 8
CRV = 0
MsgType = 247 (MANAGEMENT INFO)
Management: prot_discr = 3 trans_ref = 0 type = 16(confirmed_oper) op_value = 2(alarm_status) param_id = 83(alarm_status_p) param_len = 1 serv_state = 3(resume)
* FC[4]: Adjusting message flow to 25 messages per 500 ms...
* FC[4]: Adjusting message flow to 50 messages per 500 ms...
@13:31:42.4710 [0] 7.2.008.01 send_to_all: message EventLinkConnected
AttributeEventSequenceNumber 0000000000000001
AttributeCustomerID 'Resources'
AttributeServerStartTime 452cd61e00072fd8 (13:31:42.471000)
AttributeTimeinuSecs 471000
AttributeTimeinSecs 1160566302 (13:31:42)
13:31:42.471 Std 20001 CTI Link connected
LCA_set_AppLiveStatus(APP_STATUS_RUNNING)
-
OK.
Have you got all the DNs configured in CME? Genesys claims it is possible to register DNs dynamically but it's better to have it configured...
Have you got any EventDNBackInService (this appears to be the first event on the DN when the TServer begins to monitor this DN)? If not - it's a link problem.
Then make a test call. Have you got any "call" events (like EventDialing, EventRinging, EventEstablished etc.) in the TServer log? If not - this is again the link problem.
Regards,
Leszek
-
Looks like your getting timeout issue between the Tserver and the Link. Get you network guys to trace between both points to ensure your not getting any lost packets.
-
Thanks for your answers.
Yes, we've configured all DNs.
Yes, we get an EventDnBackInService and call events.
-
If a client registers a DN during the period of
startup registration and before EventLinkConnected, the DN may become unusable. There's an Engineering Request about this issue. Try to set the "delay-event-link-connected" option to false.
-
Please try changing the AddressType in your registration request from AddressTypeUnknown to AddressTypeDN.
Leszek
-
Thanks again for your answer and suggestions.
- Flag delay-event-link-connected was already false
- We tried AddressTypeDN instead of AddressTypeUnknown but the same result so we're still in the dark ...
14:03:51.647 Trc 04541 RequestRegisterAddress received from 488 (0002 Fozzie MOS Genesys 5.00)
message RequestRegisterAddress
AttributeThisDN '3500'
AttributeRegisterMode 0
AttributeControlMode 0
AttributeAddressType 1 (DN)
AttributeReferenceID 1
map <dn,conf>: find (3500): Ok
[ 4 - ] DN: '3500' Links assigned
...
...
...
14:03:51.6470 [0] 7.2.008.01 send_to_client: message EventRegistered
AttributeEventSequenceNumber 0000000000000003
AttributeCustomerID 'Resources'
AttributeTimeinuSecs 647000
AttributeTimeinSecs 1160654631 (14:03:51)
AttributeAddressType 1 (DN)
AttributeExtensions [37] 00 02 01 00..
'AgentStatus' 0
'status' 128
AttributeReferenceID 1
AttributeThisDN '3500'
14:03:51.647 Trc 04542 EventRegistered sent to 488 (0002 Fozzie MOS Genesys 5.00)
@14:03:51.6470 [0] 7.2.008.01 distribute_event: message EventDNOutOfService
AttributeEventSequenceNumber 0000000000000004
AttributeCustomerID 'Resources'
AttributeTimeinuSecs 647000
AttributeTimeinSecs 1160654631 (14:03:51)
AttributeExtensions [17] 00 01 01 00..
'status' 128
AttributeThisDN '3500'
@14:03:51.6470 [ISCC] Debug: Translate: '' -> ''; result 1 ()
-
Could you please post also the relative parsed ASAI messages (those mapped by TServer into EventRegistered and EventDnOutOfService)?
-
I've seen something simular on meridian switch before where Tserver attemps to register for a dn and after 10 attempts puts the Dn into DNoutofservice. Do you get the same message when you register the DN 3500 with a desktop toolkit. If so delete the dn from cme and add it again. Follow the Tserver logs so see the registration of this DN. If it's stilll failing then check the config on the PBx itself.
-
Hi dear Genesys users,
everything works with a Genesys 7.0 T-Server of us. We've only the problems in case of
using the Genesys 7.2 T-Server - so I'm not sure if it really makes sense to delete and recreate
the DNs ...
I'm not familiar with ASAI message; but here is the whole part for voice position id 3500 of the
Genesys T-Server trace and the beginning of the registration request for 3501:
14:56:41.084 Trc 04522 Client 528 authorized, name 'Fozzie MOS Genesys 5.00', id=0002:0001
@14:56:41.0840 [0] 7.2.008.01 send_to_client: message EventLinkConnected
AttributeApplicationName 'T-Server_G3si_3'
AttributeSessionID 7405569
AttributeUserData [2] 00 00..
AttributeRegistrationCode 0
AttributeEventSequenceNumber 0000000000000002
AttributeCustomerID 'Resources'
AttributeServerStartTime 452e3b1e000687e0 (14:54:54.428000)
AttributeTimeinuSecs 84000
AttributeTimeinSecs 1160657801 (14:56:41)
14:56:41.084 Trc 04542 EventLinkConnected sent to 528 (0002 Fozzie MOS Genesys 5.00)
14:56:41.084 Trc 04541 RequestRegisterAddress received from 528 (0002 Fozzie MOS Genesys 5.00)
message RequestRegisterAddress
AttributeThisDN '3500'
AttributeRegisterMode 0
AttributeControlMode 0
AttributeAddressType 1 (DN)
AttributeReferenceID 1
map <dn,conf>: find (3500): Ok
[ 4 - ] DN: '3500' Links assigned
(tservice_proc) ControlMode set to 1 for 3500
** ts7.2.008.01[4] <> ** 14:56:41.0840
08 00 00 1B 08 02 00 23 64 96 1C 13 91 A1 10 02 01 03 02 01 C4 40 08 96 49 05 83 33 35 30 B0
=== parsed message ===
prot_discr = 8
CRV = 23
MsgType = 100 (REGISTER)
Facility: serv_discr = 17(q932_suppl) fac_ie = component_tag = A1(INVOKE)
invoke_id tag: 02, value = 3
operation tag: 02, value = 196(Domain_Control)
params = q931_tag = 40
list =
Domain: type = 3(Extension) address = [4] 33 35 30 30 '3500'
@14:56:41.0840 [0] 7.2.008.01 send_to_client: message EventRegistered
AttributeEventSequenceNumber 0000000000000003
AttributeCustomerID 'Resources'
AttributeTimeinuSecs 84000
AttributeTimeinSecs 1160657801 (14:56:41)
AttributeAddressType 1 (DN)
AttributeExtensions [37] 00 02 01 00..
'AgentStatus' 0
'status' 128
AttributeReferenceID 1
AttributeThisDN '3500'
14:56:41.084 Trc 04542 EventRegistered sent to 528 (0002 Fozzie MOS Genesys 5.00)
@14:56:41.0840 [0] 7.2.008.01 distribute_event: message EventDNOutOfService
AttributeEventSequenceNumber 0000000000000004
AttributeCustomerID 'Resources'
AttributeTimeinuSecs 84000
AttributeTimeinSecs 1160657801 (14:56:41)
AttributeExtensions [17] 00 01 01 00..
'status' 128
AttributeThisDN '3500'
@14:56:41.0840 [ISCC] Debug: Translate: '' -> ''; result 1 ()
14:56:41.084 Trc 04542 EventDNOutOfService sent to 528 (0002 Fozzie MOS Genesys 5.00)
14:56:41.100 Trc 04541 RequestRegisterAddress received from 528 (0002 Fozzie MOS Genesys 5.00)
message RequestRegisterAddress
AttributeThisDN '3501'
AttributeRegisterMode 0
AttributeControlMode 0
AttributeAddressType 1 (DN)
AttributeReferenceID 2
map <dn,conf>: find (3501): Ok
[ 4 - ] DN: '3501' Links assigned
(tservice_proc) ControlMode set to 1 for 3501
** ts7.2.008.01[4] <> ** 14:56:41.1000
08 00 00 1B 08 02 00 24 64 96 1C 13 91 A1 10 02 01 05 02 01 C4 40 08 96 49 05 83 33 35 30 B1
=== parsed message ===
prot_discr = 8
CRV = 24
MsgType = 100 (REGISTER)
Facility: serv_discr = 17(q932_suppl) fac_ie = component_tag = A1(INVOKE)
invoke_id tag: 02, value = 5
operation tag: 02, value = 196(Domain_Control)
params = q931_tag = 40
list =
Domain: type = 3(Extension) address = [4] 33 35 30 31 '3501'
-
Ok,
We were building a new site which required 7.2 version and I remember that this was one thing I was very concerned with.
I do recall reading a while back that starting from 7.1.xxx ( <-- check Release Notes ) when delay-event-link-connected = false T-Server doesl not wait for reply from PBX about its connection. Instead it will just assumes that it is connected and proceeds. This is why you are getting EventDNOutOfService.
I have a hunch that your PBX does not really reply to your T/S request.
here are some of the things to be aware of:
1. retry-on-proterr = 1 (what is it now? )
Also, have your Avaya engineer look at the HEX you are getting and tell you if there is some sort of error that PBX is returning that causes DNOutOfService.
2. I know you have done it before, but compare options of your TS7.0 and TS7.2 and see if you have something set differently (like asai-protocol-version ). We all have done it more than once.
3. EventDNOutOfService was instituted in TS7.1 so, it means you were probably getting it before, but TS7.0 was ignoring it.
Here is what I suggest:
1. try delay-event-link-connected = true (yes, many of us will gasp at the idea)
2. have your PBX engineer confirm that Avaya is replying to your Connect request
Tell me how it went.
-
Corn,
could you please upload or email me the full TServer log from the startup till the registration issue?
-
Hi,
sorry for my late answer - I had to analyze another problem ...
Victor, I've tested with changed values for delay-event-link-connected and retry-on-proterr,
but it's the same behaviour as before.
(Because of Avaya expert - there's none - another colleague and I have to solve this "alone".)
Regards,
Corn
-
Corn,
I have just finished analyzing your T-Server startup log file, what I have found is that in the DN array where T-Server prints out the DN configured, there is:
[i][203] dn = '3500' type = station xtype = DN cfgtype = 7 reg-mode = 0x0 =[/i]
[list]
[li] cfgtype = 7 means that it's a Voice Treatment Port (correct??) [/li]
[li] reg-mode = 0x0 (instead of the default reg-mode = 0x21 = +force) means that the "Register" box of the DN in the CME is not flagged! T-Server will never register it..and each DN you have configured is so. [/li]
[/list]
Please check the Register box (and the DN type?) and report back ;)
-
Hi Fra,
many thanks for analyzing the Genesys T-Server trace.
- it's intended that 3500 etc. are configured as voice treatement ports (3500 etc. are ivp sublines of an IVP hunt group in this test environment)
- because of register box: I'm a little bit confused. I think our configuration is for this case ok, because we want that our application initializes the registration of
the ivp sublines, not the Genesys T-Server; so we've configured the register box with value "on demand". So our application sends a TRegisterAddress request
and the Genesys T-Server confirms with EventRegistered before we get EventDNOutOfService.
-
[quote author=Fra link=topic=1865.msg6161#msg6161 date=1161160494]
Corn,
I have just finished analyzing your T-Server startup log file, what I have found is that in the DN array where T-Server prints out the DN configured, there is:
[i][203] dn = '3500' type = station xtype = DN cfgtype = 7 reg-mode = 0x0 =[/i]
[list]
[li] cfgtype = 7 means that it's a Voice Treatment Port (correct??) [/li]
[li] reg-mode = 0x0 (instead of the default reg-mode = 0x21 = +force) means that the "Register" box of the DN in the CME is not flagged! T-Server will never register it..and each DN you have configured is so. [/li]
[/list]
Please check the Register box (and the DN type?) and report back ;)
[/quote]
Hi, Fra,
damn, that was a pretty nice catch - missed it completely! :'(
So, to put it simply: he is registering DNs that T-Server did not really register with PBX?
7.2.008.01 send_to_client: message EventRegistered
AttributeEventSequenceNumber 0000000000000003
AttributeCustomerID 'Resources'
AttributeTimeinuSecs 84000
AttributeTimeinSecs 1160657801 (14:56:41)
AttributeAddressType 1 (DN)
AttributeExtensions [37] 00 02 01 00..
'AgentStatus' 0
[color=Red] 'status' 128[/color]
AttributeReferenceID 1
AttributeThisDN '3500'
I don't know what status = 128 for DN means, but since it is greater than 0 it means that something is happening on it. Any ideas?
-
Hi Corn, hi Victor,
so I guess I got something now 8)
First of all, the AttributeExtension 'status' =128 just means that the DN is out of service. From the T-Library SDK 7.2 C Developer's Guide:
0x80: DN is out of service. -------->128 decimal ;)
0xC0: DN is undergoing maintenance.
0x90: Device associated with DN is locked out.
0x88: DN is vacant.
From the full log I have got from Corn what I can see is:
[list]
[li]T-server reads the DNs configured,[b] correct[/b];[/li]
[li]T-server doesn't register any of them, [b]correct[/b] since Corn has selected "On-demand" registration in CME;[/li]
[li]as soon as T-server gets the RequestRegisterAdress from the client, it forwards to the Avaya switch, [b]correct[/b];[/li]
[li][i]without [/i]waiting the answer from the switch, it replies to the client with a EventRegistered (status=outofservice) and an EventDnOutOfservice: a bit strange, but I've already seen this behaviour somewhere else with the new 7.2 T-server: it somehow processes the request just internally... [/li]
[li]and then the surprise! ;D (Corn, you didn't attach that part of the log in your very first post):
1. T-server gets the answer from the switch, a successful registration, [b]good[/b], it means the DN exists and it's on service on it;
2. T-server sends an [b]EventDnBackInService[/b] (status=0, ok&no activity on it) to the client! From now on the DN is
in service and can manage the client requests. [/li]
[/list]
So, for me everything works fine..! Corn, probably your client is not able to manage the EventDnBackInService?
-
Hi Victor, hi Fra,
sorry for missunderstandings and again many thanks for your analyzes.
We also thought that this is perhaps the new Genesys 7.2 behaviour and this is correctly
but we're totally unsure because there exists somewhere a customer with Genesys 7.2
and our application works there without changes - for ivp sublines, trunk dns or vdns which
are registered all with startup of our application with EventDNBackInService all may be fine
but if an agent registers dynamically while our application is running and it doesn't work the
first time - it wouldn't be ok for the customer.
You're right, it would be necessary to make some changes in our application to handle
EventDNOutOfService, EventDNBackInService. But because of the already somewhere
running customer installation with Genesys 7.2 with our application without changes we
are still unsure if there's something not ok with our Genesys 7.2 installation.
-
Corn wrote:[quote]but if an agent registers dynamically while our application is running and it doesn't work the
first time - it wouldn't be ok for the customer.[/quote]
??? ??? As soon as T-server starts up, your application requests DNs registration to it; after 0.11 secs your application will already have got back a positive registration. Why woulnd't it work if an agent dinamically registers ??? The *issue* here is on startup..
If you have another enviroment where 7.2 T-server acts different, check the version and report back the logs.
-
Hi fra,
thanks again for your answer.
If it would be possible to get Genesys 7.2 support of the "working customer installation" we
would have done it. But this working Genesys 7.2 installation is not from us - it's from a
third party company and we don't have access to this Genesys 7.2 T-Server. It's maintained by
a third party company and there are some instances between us and them ... This Genesys 7.2
T-Server is only a third party component in a running system from us.
As you can see in the following trace lines it is possible that there are problems if an operator agent
registers dynamically because for such a DN in our functionality TAgentLogin is necessary. This TAgentLogin
can't be possible confirmed after EventDNOutOfService. Sure, there's also an EventDNBackInService but
too late.
So we want to go sure if we've to change our application with Genesys 7.2 because there comes
perhaps always EventRegistered, EventDNOutOfService and EventDNBackInService or if we perhaps
can avoid EventDNOutOfService - the goal is if possible not to change our application.
13:35:24.510 Trc 04541 RequestRegisterAddress received from 528 (0002 Fozzie MOS Genesys 5.00)
message RequestRegisterAddress
AttributeThisDN '3023'
AttributeRegisterMode 0
AttributeControlMode 0
AttributeAddressType 0 (Unknown)
AttributeReferenceID 41
map <dn,conf>: find (3023): Ok
[ 4 - ] DN: '3023' Links assigned
13:35:24.510 Trc 20006 Number of seat licenses in use 1 out of 20 available
(tservice_proc) AddressType set to 1 for 3023
(tservice_proc) ControlMode set to 1 for 3023
** ts7.2.008.01[4] <> ** 13:35:24.5100
08 00 00 1B 08 02 00 27 64 96 1C 13 91 A1 10 02 01 0B 02 01 C4 40 08 96 49 05 83 33 30 32 B3
=== parsed message ===
prot_discr = 8
CRV = 27
MsgType = 100 (REGISTER)
Facility: serv_discr = 17(q932_suppl) fac_ie = component_tag = A1(INVOKE)
invoke_id tag: 02, value = 11
operation tag: 02, value = 196(Domain_Control)
params = q931_tag = 40
list =
Domain: type = 3(Extension) address = [4] 33 30 32 33 '3023'
@13:35:24.5100 [0] 7.2.008.01 send_to_client: message EventRegistered
AttributeEventSequenceNumber 000000000000002f
AttributeCustomerID 'Resources'
AttributeTimeinuSecs 510000
AttributeTimeinSecs 1161344124 (13:35:24)
AttributeAddressType 1 (DN)
AttributeExtensions [37] 00 02 01 00..
'AgentStatus' 0
'status' 128
AttributeReferenceID 41
AttributeThisDN '3023'
13:35:24.510 Trc 04542 EventRegistered sent to 528 (0002 Fozzie MOS Genesys 5.00)
@13:35:24.5100 [0] 7.2.008.01 distribute_event: message EventDNOutOfService
AttributeEventSequenceNumber 0000000000000030
AttributeCustomerID 'Resources'
AttributeTimeinuSecs 510000
AttributeTimeinSecs 1161344124 (13:35:24)
AttributeExtensions [17] 00 01 01 00..
'status' 128
AttributeThisDN '3023'
@13:35:24.5100 [ISCC] Debug: Translate: '' -> ''; result 1 ()
13:35:24.510 Trc 04542 EventDNOutOfService sent to 528 (0002 Fozzie MOS Genesys 5.00)
13:35:24.510 Trc 04541 RequestAgentLogin received from 528 (0002 Fozzie MOS Genesys 5.00)
message RequestAgentLogin
AttributeThisDN '3023'
AttributeAgentID '52100'
AttributeAgentWorkMode 0 (Unknown)
AttributeReferenceID 42
@13:35:24.5100 [0] 7.2.008.01 send_to_client: message EventError
(Out of service)
AttributeEventSequenceNumber 0000000000000031
AttributeCustomerID 'Resources'
AttributeTimeinuSecs 510000
AttributeTimeinSecs 1161344124 (13:35:24)
AttributeReferenceID 42
AttributeErrorCode 58
AttributeErrorMessage 'Invalid request: originator is not monitored'
AttributeThisDN '3023'
13:35:24.510 Int 04545 Interaction message "EventError" sent to 528 ("Fozzie MOS Genesys 5.00")
13:35:24.510 Trc 04542 EventError sent to 528 (0002 Fozzie MOS Genesys 5.00)
13:35:24.542 Trc 04541 RequestAgentLogout received from 528 (0002 Fozzie MOS Genesys 5.00)
message RequestAgentLogout
AttributeThisDN '3023'
AttributeReferenceID 43
@13:35:24.5420 [0] 7.2.008.01 send_to_client: message EventError
(Out of service)
AttributeEventSequenceNumber 0000000000000032
AttributeCustomerID 'Resources'
AttributeTimeinuSecs 542000
AttributeTimeinSecs 1161344124 (13:35:24)
AttributeReferenceID 43
AttributeErrorCode 58
AttributeErrorMessage 'Invalid request: originator is not monitored'
AttributeThisDN '3023'
13:35:24.542 Int 04545 Interaction message "EventError" sent to 528 ("Fozzie MOS Genesys 5.00")
13:35:24.542 Trc 04542 EventError sent to 528 (0002 Fozzie MOS Genesys 5.00)
** link[4] <> ** 13:35:24.5420
08 02 80 27 62 96 1C 06 91 A2 03 02 01 0B
=== parsed message ===
prot_discr = 8
CRV = 8027
MsgType = 98 (FACILITY)
Facility: serv_discr = 17(q932_suppl) fac_ie = component_tag = A2(RETURN_RESULT)
invoke_id tag: 02, value = 11
sequence =
WARNING: 'g3_process_pos_ack_general' msg not attached to assoc CRV=0x8027 - processing as positive registration....
@13:35:24.5420 [0] 7.2.008.01 distribute_event: message EventDNBackInService
AttributeEventSequenceNumber 0000000000000033
AttributeCustomerID 'Resources'
AttributeTimeinuSecs 542000
AttributeTimeinSecs 1161344124 (13:35:24)
AttributeExtensions [17] 00 01 01 00..
'status' 0
AttributeThisDN '3023'
@13:35:24.5420 [ISCC] Debug: Translate: '' -> ''; result 1 ()
13:35:24.542 Trc 04542 EventDNBackInService sent to 528 (0002 Fozzie MOS Genesys 5.00)
** ts7.2.008.01[4] <> ** 13:35:24.5420
08 00 00 1E 08 02 00 28 64 96 1C 16 91 A1 13 02 01 0D 02 01 8C 40 0B 6C 05 80 33 30 32 33 96 4D 01 83
=== parsed message ===
prot_discr = 8
CRV = 28
MsgType = 100 (REGISTER)
-
Hi Corn,
I've understood you goal, anyway the issue you are facing occurs only on TServer startup: your application sends a RequestAgentLogin right away, while TServer is still registering DNs and assigning them to the configured links.