Log Chassi e React 2021-04-22 - erro de fila no Agent
===> LOG dealer
[nodemon] 1.12.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node index.js`
Dealers Master process is running
Dealer active: 1 - Dealer: D000
DealerId: D000 - WorkerId: undefined
Dealer IN
starting dealer
listening on:3201
Connected!!Sdub7nI9qa5MPza7AAAA
ready0: Sdub7nI9qa5MPza7AAAA - {"cid":"","media":"message","type":"agent","user":"WANG","service":"7000","ani":"","dnis":"","uui":"{\"uui\":\"\"}"}
ready1: Sdub7nI9qa5MPza7AAAA
ready2: Sdub7nI9qa5MPza7AAAA
message: D000: agent: user: WANG - Sdub7nI9qa5MPza7AAAA connected to Service 7000
ready4: Sdub7nI9qa5MPza7AAAA
directory.insert(): true
status: true
activeSockets insert: Sdub7nI9qa5MPza7AAAA
reject: Sdub7nI9qa5MPza7AAAA
socket to disconnect: Sdub7nI9qa5MPza7AAAA
delete activeSockets1: Sdub7nI9qa5MPza7AAAA
socket Sdub7nI9qa5MPza7AAAA not in activeList
deleting: Sdub7nI9qa5MPza7AAAA
Connected!!F0y9Z22opprrLUHkAAAB
Connected!!GqQYx6tlRMC_D9JnAAAC
ready0: GqQYx6tlRMC_D9JnAAAC - {"cid":"","media":"message","type":"agent","user":"WANG","service":"7000","ani":"","dnis":"","uui":"{\"uui\":\"\"}"}
ready1: GqQYx6tlRMC_D9JnAAAC
ready2: GqQYx6tlRMC_D9JnAAAC
message: D000: agent: user: WANG - GqQYx6tlRMC_D9JnAAAC connected to Service 7000
ready4: GqQYx6tlRMC_D9JnAAAC
directory.insert(): true
status: true
activeSockets insert: GqQYx6tlRMC_D9JnAAAC
deleting: GqQYx6tlRMC_D9JnAAAC
Connected!!w4WrKS31EXgnRG-jAAAD
Connected!!6oTwe6NwdNPrMhZLAAAE
ready0: 6oTwe6NwdNPrMhZLAAAE - {"media":"message","type":"flow","user":"SURVEY_M0","service":"SURVEY","ani":"","dnis":"","uui":"{}"}
ready1: 6oTwe6NwdNPrMhZLAAAE
ready2: 6oTwe6NwdNPrMhZLAAAE
message: D000: flow: user: SURVEY_M0 - 6oTwe6NwdNPrMhZLAAAE connected to Service SURVEY
ready4: 6oTwe6NwdNPrMhZLAAAE
directory.insert(): true
status: true
activeSockets insert: 6oTwe6NwdNPrMhZLAAAE
Connected!!Vt1j1X650u1lgrItAAAF
ready0: Vt1j1X650u1lgrItAAAF - {"cid":"","media":"message","type":"queue","user":"7000_Q1","service":"7000","ani":"","dnis":"","uui":"{\"cid\":\"\"}"}
ready1: Vt1j1X650u1lgrItAAAF
ready2: Vt1j1X650u1lgrItAAAF
message: D000: queue: user: 7000_Q1 - Vt1j1X650u1lgrItAAAF connected to Service 7000
ready4: Vt1j1X650u1lgrItAAAF
directory.insert(): true
status: true
activeSockets insert: Vt1j1X650u1lgrItAAAF
deleting: F0y9Z22opprrLUHkAAAB
disconnecting: F0y9Z22opprrLUHkAAAB
deleting: 6oTwe6NwdNPrMhZLAAAE
deleting: Vt1j1X650u1lgrItAAAF
ready0: w4WrKS31EXgnRG-jAAAD - {"cid":"ss","media":"message","type":"agent","user":"Agent86","service":"7000","ani":"","dnis":"","uui":"{\"cid\":\"\"}"}
ready1: w4WrKS31EXgnRG-jAAAD
ready2: w4WrKS31EXgnRG-jAAAD
message: D000: agent: user: Agent86 - w4WrKS31EXgnRG-jAAAD connected to Service 7000
ready4: w4WrKS31EXgnRG-jAAAD
directory.insert(): true
status: true
activeSockets insert: w4WrKS31EXgnRG-jAAAD
deleting: w4WrKS31EXgnRG-jAAAD
idle timeout
idle timeout
Connected!!xNKG4ZI7iRRdCZHEAAAG
ready0: xNKG4ZI7iRRdCZHEAAAG - {"cid":"","media":"message","type":"client","user":"C000","service":"SURVEY","ani":"","dnis":"","uui":"{\"uui\":\"gYhHvPWMHNrtYx8hAAAA\",\"cid\":\"\"}"}
ready1: xNKG4ZI7iRRdCZHEAAAG
ready2: xNKG4ZI7iRRdCZHEAAAG
message: D000: client: user: C000 - xNKG4ZI7iRRdCZHEAAAG connected to Service SURVEY
ready5: xNKG4ZI7iRRdCZHEAAAG - service: SURVEY
socket xNKG4ZI7iRRdCZHEAAAG not in activeList
deleting: xNKG4ZI7iRRdCZHEAAAG
Connected!!bzT123pOGzbo78cLAAAH
ready0: bzT123pOGzbo78cLAAAH - {"cid":"","media":"message","type":"client","user":"C000","service":"SURVEY","ani":"","dnis":"","uui":"{\"uui\":\"kcEHdDazV6uOhfELAAAB\",\"cid\":\"\"}"}
ready1: bzT123pOGzbo78cLAAAH
ready2: bzT123pOGzbo78cLAAAH
message: D000: client: user: C000 - bzT123pOGzbo78cLAAAH connected to Service SURVEY
ready5: bzT123pOGzbo78cLAAAH - service: SURVEY
resource allocated: SURVEY_M0
===============> socket: 6oTwe6NwdNPrMhZLAAAE
delete activeSockets0: 6oTwe6NwdNPrMhZLAAAE
Connected!!YDG8FwHSHPdBj815AAAI
deleting: bzT123pOGzbo78cLAAAH
delete activeSockets0: GqQYx6tlRMC_D9JnAAAC
idle timeout
Connected!!ucl7h7OfJu3XV2rEAAAJ
deleting: YDG8FwHSHPdBj815AAAI
disconnecting: YDG8FwHSHPdBj815AAAI
deleting: ucl7h7OfJu3XV2rEAAAJ
disconnecting: ucl7h7OfJu3XV2rEAAAJ
idle timeout
Connected!!DIXkQRZMZ-LbZYS4AAAK
ready0: DIXkQRZMZ-LbZYS4AAAK - {"cid":"","media":"message","type":"agent","user":"WANG","service":"7000","ani":"","dnis":"","uui":"{\"uui\":\"\"}"}
ready1: DIXkQRZMZ-LbZYS4AAAK
ready2: DIXkQRZMZ-LbZYS4AAAK
message: D000: agent: user: WANG - DIXkQRZMZ-LbZYS4AAAK connected to Service 7000
ready4: DIXkQRZMZ-LbZYS4AAAK
directory.insert(): true
status: true
activeSockets insert: DIXkQRZMZ-LbZYS4AAAK
deleting: DIXkQRZMZ-LbZYS4AAAK
idle timeout
idle timeout
Connected!!dv2CGVaLdi0bNopNAAAL
ready0: dv2CGVaLdi0bNopNAAAL - {"cid":"2021042221473890D00000000","media":"message","type":"client","user":"C000","service":"7000","ani":"","dnis":"","uui":"{\"uui\":\"kcEHdDazV6uOhfELAAAB\",\"cid\":\"2021042221473890D00000000\"}"}
ready1: dv2CGVaLdi0bNopNAAAL
ready2: dv2CGVaLdi0bNopNAAAL
message: D000: client: user: C000 - dv2CGVaLdi0bNopNAAAL connected to Service 7000
ready5: dv2CGVaLdi0bNopNAAAL - service: 7000
socket dv2CGVaLdi0bNopNAAAL not in activeList
Connected!!ragQKcSQbgi3ZWIvAAAM
ready0: ragQKcSQbgi3ZWIvAAAM - {"media":"message","type":"flow","user":"SURVEY_M0","service":"SURVEY","ani":"","dnis":"","uui":"{}"}
ready1: ragQKcSQbgi3ZWIvAAAM
ready2: ragQKcSQbgi3ZWIvAAAM
message: D000: flow: user: SURVEY_M0 - ragQKcSQbgi3ZWIvAAAM connected to Service SURVEY
ready4: ragQKcSQbgi3ZWIvAAAM
directory.insert(): true
status: true
activeSockets insert: ragQKcSQbgi3ZWIvAAAM
deleting: dv2CGVaLdi0bNopNAAAL
deleting: ragQKcSQbgi3ZWIvAAAM
===> Log contact
[nodemon] 1.12.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node index.js`
Controllers Master process is running
Controller active: 1 - Controller: C000
ControllerId: C000
Controller IN
starting controller: C000
REST Api listening on port: 3200
listening on:3211
Connected!!gYhHvPWMHNrtYx8hAAAA
ready0: gYhHvPWMHNrtYx8hAAAA - {"cid":"","media":"message","type":"client","user":"FABRICIO","service":"SURVEY","ani":"","dnis":"","uui":"{\"uui\":\"\"}"}
ready1: gYhHvPWMHNrtYx8hAAAA
ready2: gYhHvPWMHNrtYx8hAAAA
message: C000: client: user: FABRICIO - gYhHvPWMHNrtYx8hAAAA connected to Service SURVEY
ready5: gYhHvPWMHNrtYx8hAAAA
connecting to Dealer: http://localhost:3201
query: {"cid":"","media":"message","type":"client","user":"C000","service":"SURVEY","ani":"","dnis":"","uui":"{\"uui\":\"gYhHvPWMHNrtYx8hAAAA\",\"cid\":\"\"}"}
connected: xNKG4ZI7iRRdCZHEAAAG
notify: {"who":"dealerD000","param":"resource: SURVEY not available","command":"error"}
resource.allocate() - NOK: - idSocket - msg: resource: SURVEY not available
delete activeSockets0: gYhHvPWMHNrtYx8hAAAA
resource in use disconnected: gYhHvPWMHNrtYx8hAAAA
resource [object Object] not found
disconnected: io client disconnect - undefined
deleting: gYhHvPWMHNrtYx8hAAAA
Connected!!kcEHdDazV6uOhfELAAAB
ready0: kcEHdDazV6uOhfELAAAB - {"cid":"","media":"message","type":"client","user":"FABRICIO","service":"SURVEY","ani":"","dnis":"","uui":"{\"uui\":\"\"}"}
ready1: kcEHdDazV6uOhfELAAAB
ready2: kcEHdDazV6uOhfELAAAB
message: C000: client: user: FABRICIO - kcEHdDazV6uOhfELAAAB connected to Service SURVEY
ready5: kcEHdDazV6uOhfELAAAB
connecting to Dealer: http://localhost:3201
query: {"cid":"","media":"message","type":"client","user":"C000","service":"SURVEY","ani":"","dnis":"","uui":"{\"uui\":\"kcEHdDazV6uOhfELAAAB\",\"cid\":\"\"}"}
connected: bzT123pOGzbo78cLAAAH
notify: {"who":"dealerD000","param":"{\"cid\":\"2021042221473890D00000000\",\"media\":\"message\",\"start\":1619128058090,\"resource\":{\"type\":\"flow\",\"login\":{\"user\":\"SURVEY_M0\",\"ani\":\"\",\"dnis\":\"\"}}}","command":"json"}
resource.allocate() - OK - msg: {"cid":"2021042221473890D00000000","media":"message","start":1619128058090,"resource":{"type":"flow","login":{"user":"SURVEY_M0","ani":"","dnis":""}}}
contactId: 2021042221473890D00000000
Join: send Context to: kcEHdDazV6uOhfELAAAB
Connected!!BZ6dYMrr_J-PyYcnAAAC
ready0: BZ6dYMrr_J-PyYcnAAAC - {"cid":"2021042221473890D00000000","media":"message","type":"flow","user":"C000","service":"SURVEY","ani":"","dnis":"","uui":"{\"cid\":\"2021042221473890D00000000\",\"socketId\":\"kcEHdDazV6uOhfELAAAB\"}"}
ready1: BZ6dYMrr_J-PyYcnAAAC
ready2: BZ6dYMrr_J-PyYcnAAAC
message: C000: flow: user: C000 - BZ6dYMrr_J-PyYcnAAAC connected to Service SURVEY
uui: {"cid":"2021042221473890D00000000","socketId":"kcEHdDazV6uOhfELAAAB"}
Join: send Context to: BZ6dYMrr_J-PyYcnAAAC
sending notify to:[object Object]
message: {"who":"SURVEY_M0","say":"Sua solicitação foi resolvida?\n\nDigite 1 para sim\nDigite 2 para não\ndigite 3 para parcialmente","how":"text"} from BZ6dYMrr_J-PyYcnAAAC
sending msg to: BZ6dYMrr_J-PyYcnAAAC
contacts.message(): message - {"who":"SURVEY_M0","say":"Sua solicitação foi resolvida?\n\nDigite 1 para sim\nDigite 2 para não\ndigite 3 para parcialmente","how":"text"} - kcEHdDazV6uOhfELAAAB
contacts.message() echo: message - {"who":"SURVEY_M0","say":"Sua solicitação foi resolvida?\n\nDigite 1 para sim\nDigite 2 para não\ndigite 3 para parcialmente","how":"text"} - BZ6dYMrr_J-PyYcnAAAC
deleting: kcEHdDazV6uOhfELAAAB
deleting: BZ6dYMrr_J-PyYcnAAAC
message: {"who":"FABRICIO","say":"1","how":"text"} from kcEHdDazV6uOhfELAAAB
sending msg to: kcEHdDazV6uOhfELAAAB
contacts.message() echo: message - {"who":"FABRICIO","say":"1","how":"text"} - kcEHdDazV6uOhfELAAAB
contacts.message(): message - {"who":"FABRICIO","say":"1","how":"text"} - BZ6dYMrr_J-PyYcnAAAC
message: {"who":"SURVEY_M0","say":"Ok! Vamos continuar.","how":"text"} from BZ6dYMrr_J-PyYcnAAAC
sending msg to: BZ6dYMrr_J-PyYcnAAAC
contacts.message(): message - {"who":"SURVEY_M0","say":"Ok! Vamos continuar.","how":"text"} - kcEHdDazV6uOhfELAAAB
contacts.message() echo: message - {"who":"SURVEY_M0","say":"Ok! Vamos continuar.","how":"text"} - BZ6dYMrr_J-PyYcnAAAC
message: {"who":"SURVEY_M0","say":"Agora, como você avalia o atendumento que acabou de receber?\n\nDigite sua nota de 1 a 5\nConsiderando 1 ruim e 5 excelente","how":"text"} from BZ6dYMrr_J-PyYcnAAAC
sending msg to: BZ6dYMrr_J-PyYcnAAAC
contacts.message(): message - {"who":"SURVEY_M0","say":"Agora, como você avalia o atendumento que acabou de receber?\n\nDigite sua nota de 1 a 5\nConsiderando 1 ruim e 5 excelente","how":"text"} - kcEHdDazV6uOhfELAAAB
contacts.message() echo: message - {"who":"SURVEY_M0","say":"Agora, como você avalia o atendumento que acabou de receber?\n\nDigite sua nota de 1 a 5\nConsiderando 1 ruim e 5 excelente","how":"text"} - BZ6dYMrr_J-PyYcnAAAC
message: {"who":"FABRICIO","say":"1","how":"text"} from kcEHdDazV6uOhfELAAAB
sending msg to: kcEHdDazV6uOhfELAAAB
contacts.message() echo: message - {"who":"FABRICIO","say":"1","how":"text"} - kcEHdDazV6uOhfELAAAB
contacts.message(): message - {"who":"FABRICIO","say":"1","how":"text"} - BZ6dYMrr_J-PyYcnAAAC
message: {"who":"SURVEY_M0","say":"Ok! Vamos continuar.","how":"text"} from BZ6dYMrr_J-PyYcnAAAC
sending msg to: BZ6dYMrr_J-PyYcnAAAC
contacts.message(): message - {"who":"SURVEY_M0","say":"Ok! Vamos continuar.","how":"text"} - kcEHdDazV6uOhfELAAAB
contacts.message() echo: message - {"who":"SURVEY_M0","say":"Ok! Vamos continuar.","how":"text"} - BZ6dYMrr_J-PyYcnAAAC
message: {"who":"SURVEY_M0","say":"Você voltaria a fazer negócio conosco ?\n\nDigite 1 para sim\nDigite 2 para nao.","how":"text"} from BZ6dYMrr_J-PyYcnAAAC
sending msg to: BZ6dYMrr_J-PyYcnAAAC
contacts.message(): message - {"who":"SURVEY_M0","say":"Você voltaria a fazer negócio conosco ?\n\nDigite 1 para sim\nDigite 2 para nao.","how":"text"} - kcEHdDazV6uOhfELAAAB
contacts.message() echo: message - {"who":"SURVEY_M0","say":"Você voltaria a fazer negócio conosco ?\n\nDigite 1 para sim\nDigite 2 para nao.","how":"text"} - BZ6dYMrr_J-PyYcnAAAC
message: {"who":"FABRICIO","say":"1","how":"text"} from kcEHdDazV6uOhfELAAAB
sending msg to: kcEHdDazV6uOhfELAAAB
contacts.message() echo: message - {"who":"FABRICIO","say":"1","how":"text"} - kcEHdDazV6uOhfELAAAB
contacts.message(): message - {"who":"FABRICIO","say":"1","how":"text"} - BZ6dYMrr_J-PyYcnAAAC
message: {"who":"SURVEY_M0","say":"Muito obrigado por sua participação!\nTrabalharemos para que sua experiencia seja cada vez melhor ;)","how":"text"} from BZ6dYMrr_J-PyYcnAAAC
sending msg to: BZ6dYMrr_J-PyYcnAAAC
contacts.message(): message - {"who":"SURVEY_M0","say":"Muito obrigado por sua participação!\nTrabalharemos para que sua experiencia seja cada vez melhor ;)","how":"text"} - kcEHdDazV6uOhfELAAAB
contacts.message() echo: message - {"who":"SURVEY_M0","say":"Muito obrigado por sua participação!\nTrabalharemos para que sua experiencia seja cada vez melhor ;)","how":"text"} - BZ6dYMrr_J-PyYcnAAAC
transfer: {"who":"7000","context":{"URA1":"1111","URA2":"2222"}} from BZ6dYMrr_J-PyYcnAAAC
contactId: 2021042221473890D00000000
Setting inTransfer
connecting to Dealer: http://localhost:3201
query: {"cid":"2021042221473890D00000000","media":"message","type":"client","user":"C000","service":"7000","ani":"","dnis":"","uui":"{\"uui\":\"kcEHdDazV6uOhfELAAAB\",\"cid\":\"2021042221473890D00000000\"}"}
connected: dv2CGVaLdi0bNopNAAAL
notify: {"who":"dealerD000","param":"resource: 7000 not available","command":"error"}
resource.allocate() - NOK: - idSocket:BZ6dYMrr_J-PyYcnAAAC - msgresource: 7000 not available
delete activeSockets0: BZ6dYMrr_J-PyYcnAAAC
resource in use disconnected: BZ6dYMrr_J-PyYcnAAAC
inTransfer ok: 1619128075158
disconnected: io client disconnect - undefined
disconnected: transport close - undefined
^Cfabricio@fabricio-Inspiron-5558 /opt/test/domni-rev1/acd/contact $ ^C
fabricio@fabricio-Inspiron-5558 /opt/test/domni-rev1/acd/contact $ ^C
fabricio@fabricio-Inspiron-5558 /opt/test/domni-rev1/acd/contact $