Open chadgoss opened 2 years ago
SESSION 2:
Start of conversation
guest-40921 7:51 AM Chat started
virtualassistant Livechat Agent 7:51 AM Hi there! I am a virtual assistant, designed to answer questions about your service.
chad
SESSION 3
Start of conversation
guest-40921 8:05 AM Chat started
virtualassistant Livechat Agent 8:05 AM Hi there! I am a virtual assistant, designed to answer questions about your service.
chad
@Shailesh351 here's the custom fields for the three rooms we're looking at:
{ "_id" : "5ERZqkdkZQ9kuQnSs", "customFields" : { "welcomeEventSent" : true, "accessToken" : { "token" : "ya29.c.KqEBGAhlPukF1kz_iUad4oHlYmuVtlM72qes_fFhrlTT5cnj23Ntds2Jz6bq9hNl3rdo1suXi3bWbtWX8yo5ny5ydiMYJwkqK046DHczfgGIY1SKrJYiwydqJKExXOYVy6FobQby98qP4jMmwRw1p86ztXZZyhMhN7UXHANUhgYAXZ_rNk-2grWd33EL57EZAXzrcIDaPygl6IqvzwO_IB02x_E", "expiration" : ISODate("2021-11-17T12:46:49.246Z") }, ———————————————————————————
{ "_id" : "zPi7t8qmHRBeNfPdu", "customFields" : { "welcomeEventSent" : true, "accessToken" : { "token" : "ya29.c.b0AXv0zTMLClIbSw3o6Rs6_OMUr6ZERFA2pfmbeNRi59q7mnSp6scMj4splF05b6_utShfHVz7BxMMD75VGcpvIE4bHs2zfZwsKlN4x7PGdkDYyNPulCaop3RoTFsyfq64ZuvxVsIuIkdE12TxVOFYt2Ih_8FGS0mZtMS0hEqd8wiiIyMIQjzzVwY0Qhdbv1rwuZdi9s7jY7xPDFmUAf-RRQxrWbwO6jFyFg...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................", "expiration" : ISODate("2021-11-17T13:21:31.893Z") },
———————————————————
{ "_id" : "KtYKGMDTFcZRaePNC",
"customFields" : {
"welcomeEventSent" : true,
"accessToken" : {
"token" : "ya29.c.KqEBGAhjkzZr4DLCxO-JDWHZGhxfMk0CihoNwPJbTtgD3uyRkQjfLsqnuGCR6k5t21g6DKB7mDNCtm95yIuF9Y16wL_WlVQ-SIxtgEt1_Gdp1eKrI7ND1mcaNd2fAT1pn8_htwCaZA1BEnDNWX_uBhRme9PT1KNVOQl3GlPnvIx4ZEltaJLCKo-q5iy4Qs6VUlwtro-7lWZ1BS_uDWtsxT8qD-M............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................",
"expiration" : ISODate("2021-11-17T13:35:00.810Z")
},
Need to come up with a repro..... can we use this data to create a step by step manual on how to reproduce.
we need a plain english description of what the visitor is experiencing/seeing.
@Shailesh351 @bhardwajaditya We have another example of a room without welcome event.
Visitor talking with Liveagent -> Session Closed -> Visitor triggers a new room with text before welcome event.
In this case the logging seems to indicate that the close_chat payload did not arrive in time on the mobile device.
Maybe the fix should be: Never send a message from the visitor to the DF.agent until the visitor finds an existing room. Basically, if the room trigger is from a visitor message (instead of from clicking the widget), then just drop that message. The next event in that case should be the welcome intent.
At the moment we have been relying on disabling the composer, but there seems to be some race conditions where that is not working.
Thoughts?
SESSION 1: Start of conversation
guest-40921 7:16 AM Chat started
virtualassistant Livechat Agent 7:16 AM Hi there! I am a virtual assistant, designed to answer questions about your service. What can I help you with?
chad