-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add XMPP notification processing
- Loading branch information
Showing
30 changed files
with
1,337 additions
and
958 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!-- error invalid device --> | ||
<message from="pubsub.c01-finesse-b.devlab.zoomint.com" to="6021@c01-finesse-b.devlab.zoomint.com" id="4WNIBzEW"> | ||
<event xmlns="http://jabber.org/protocol/pubsub#event"> | ||
<items node="/finesse/api/User/6021"> | ||
<item id="a6ca891f-8b34-443f-8c7d-dac020d41838387"> | ||
<notification xmlns="urn:xmpp:push:0"> | ||
<Update> | ||
<data> | ||
<apiErrors> | ||
<apiError> | ||
<peripheralErrorCode>10125</peripheralErrorCode> | ||
<errorType>Invalid Device</errorType> | ||
<errorMessage>CF_INVALID_LOGON_DEVICE_SPECIFIED</errorMessage> | ||
<peripheralErrorText>A device target with the network target ID specified cannot be found. This could indicate either an internal error or a configuration error</peripheralErrorText> | ||
<peripheralErrorMsg>PERERR_TELDRIVE_NODEVICETARGETFORNETTARGETID</peripheralErrorMsg> | ||
<errorData>260</errorData> | ||
</apiError> | ||
</apiErrors> | ||
</data> | ||
<requestId></requestId> | ||
<source>/finesse/api/User/6021</source> | ||
<event>put</event> | ||
</Update> | ||
</notification> | ||
</item> | ||
</items> | ||
</event> | ||
</message> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- error set ready not logged in agent --> | ||
<message from="pubsub.c01-finesse-b.devlab.zoomint.com" to="6021@c01-finesse-b.devlab.zoomint.com" id="YOCGofpO"> | ||
<event xmlns="http://jabber.org/protocol/pubsub#event"> | ||
<items node="/finesse/api/User/6021"> | ||
<item id="a6ca891f-8b34-443f-8c7d-dac020d41838370"> | ||
<notification xmlns="urn:xmpp:push:0"> | ||
<Update> | ||
<data> | ||
<apiErrors> | ||
<apiError> | ||
<errorType>Invalid State</errorType> | ||
<errorMessage>CF_INVALID_OBJECT_STATE</errorMessage> | ||
<errorData>22</errorData> | ||
</apiError> | ||
</apiErrors> | ||
</data> | ||
<requestId></requestId> | ||
<source>/finesse/api/User/6021</source> | ||
<event>put</event> | ||
</Update> | ||
</notification> | ||
</item> | ||
</items> | ||
</event> | ||
</message> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<!-- success login --> | ||
<message from="pubsub.c01-finesse-b.devlab.zoomint.com" to="6021@c01-finesse-b.devlab.zoomint.com" id="QM0FAiNp"> | ||
<event xmlns="http://jabber.org/protocol/pubsub#event"> | ||
<items node="/finesse/api/User/6021"> | ||
<item id="a6ca891f-8b34-443f-8c7d-dac020d41838330"> | ||
<notification xmlns="urn:xmpp:push:0"> | ||
<Update> | ||
<data> | ||
<user> | ||
<dialogs>/finesse/api/User/6021/Dialogs</dialogs> | ||
<extension>2830</extension> | ||
<firstName>LPU</firstName> | ||
<lastName>Test 21</lastName> | ||
<loginId>6021</loginId> | ||
<loginName>lpu_test_21</loginName> | ||
<mediaType>1</mediaType> | ||
<pendingState></pendingState> | ||
<reasonCodeId>-1</reasonCodeId> | ||
<roles> | ||
<role>Agent</role> | ||
<role>Supervisor</role> | ||
</roles> | ||
<settings> | ||
<wrapUpOnIncoming>OPTIONAL</wrapUpOnIncoming> | ||
<wrapUpOnOutgoing>OPTIONAL</wrapUpOnOutgoing> | ||
</settings> | ||
<state>NOT_READY</state> | ||
<stateChangeTime>2023-01-13T11:07:11.466Z</stateChangeTime> | ||
<teamId>5005</teamId> | ||
<teamName>LPU_test</teamName> | ||
<teams> | ||
<Team> | ||
<id>5005</id> | ||
<name>LPU_test</name> | ||
<uri>/finesse/api/Team/5005</uri> | ||
</Team> | ||
</teams> | ||
<uri>/finesse/api/User/6021</uri> | ||
<wrapUpTimer>7200</wrapUpTimer> | ||
</user> | ||
</data> | ||
<event>PUT</event> | ||
<requestId></requestId> | ||
<source>/finesse/api/User/6021</source> | ||
</Update> | ||
</notification> | ||
</item> | ||
</items> | ||
</event> | ||
</message> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<!-- Success logout message --> | ||
<message from="pubsub.c01-finesse-b.devlab.zoomint.com" to="6021@c01-finesse-b.devlab.zoomint.com" id="1pCI755F"> | ||
<event xmlns="http://jabber.org/protocol/pubsub#event"> | ||
<items node="/finesse/api/User/6021"> | ||
<item id="a6ca891f-8b34-443f-8c7d-dac020d41838326"> | ||
<notification xmlns="urn:xmpp:push:0"> | ||
<Update> | ||
<data> | ||
<user> | ||
<dialogs>/finesse/api/User/6021/Dialogs</dialogs> | ||
<extension></extension> | ||
<firstName>LPU</firstName> | ||
<lastName>Test 21</lastName> | ||
<loginId>6021</loginId> | ||
<loginName>lpu_test_21</loginName> | ||
<mediaType>1</mediaType> | ||
<pendingState></pendingState> | ||
<reasonCodeId>-1</reasonCodeId> | ||
<roles> | ||
<role>Agent</role> | ||
<role>Supervisor</role> | ||
</roles> | ||
<settings> | ||
<wrapUpOnIncoming>OPTIONAL</wrapUpOnIncoming> | ||
<wrapUpOnOutgoing>OPTIONAL</wrapUpOnOutgoing> | ||
</settings> | ||
<state>LOGOUT</state> | ||
<stateChangeTime>2023-01-13T10:46:22.083Z</stateChangeTime> | ||
<teamId>5005</teamId> | ||
<teamName>LPU_test</teamName> | ||
<teams> | ||
<Team> | ||
<id>5005</id> | ||
<name>LPU_test</name> | ||
<uri>/finesse/api/Team/5005</uri> | ||
</Team> | ||
</teams> | ||
<uri>/finesse/api/User/6021</uri> | ||
<wrapUpTimer>7200</wrapUpTimer> | ||
</user> | ||
</data> | ||
<event>PUT</event> | ||
<requestId></requestId> | ||
<source>/finesse/api/User/6021</source> | ||
</Update> | ||
</notification> | ||
</item> | ||
</items> | ||
</event> | ||
</message> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<!-- success not-ready --> | ||
<message from="pubsub.c01-finesse-b.devlab.zoomint.com" to="6021@c01-finesse-b.devlab.zoomint.com" id="Ev58lXZj"> | ||
<event xmlns="http://jabber.org/protocol/pubsub#event"> | ||
<items node="/finesse/api/User/6021"> | ||
<item id="a6ca891f-8b34-443f-8c7d-dac020d41838350"> | ||
<notification xmlns="urn:xmpp:push:0"> | ||
<Update> | ||
<data> | ||
<user> | ||
<dialogs>/finesse/api/User/6021/Dialogs</dialogs> | ||
<extension>2830</extension> | ||
<firstName>LPU</firstName> | ||
<lastName>Test 21</lastName> | ||
<loginId>6021</loginId> | ||
<loginName>lpu_test_21</loginName> | ||
<mediaType>1</mediaType> | ||
<pendingState></pendingState> | ||
<reasonCodeId>-1</reasonCodeId> | ||
<roles> | ||
<role>Agent</role> | ||
<role>Supervisor</role> | ||
</roles> | ||
<settings> | ||
<wrapUpOnIncoming>OPTIONAL</wrapUpOnIncoming> | ||
<wrapUpOnOutgoing>OPTIONAL</wrapUpOnOutgoing> | ||
</settings> | ||
<state>NOT_READY</state> | ||
<stateChangeTime>2023-01-13T11:21:47.026Z</stateChangeTime> | ||
<teamId>5005</teamId> | ||
<teamName>LPU_test</teamName> | ||
<teams> | ||
<Team> | ||
<id>5005</id> | ||
<name>LPU_test</name> | ||
<uri>/finesse/api/Team/5005</uri> | ||
</Team> | ||
</teams> | ||
<uri>/finesse/api/User/6021</uri> | ||
<wrapUpTimer>7200</wrapUpTimer> | ||
</user> | ||
</data> | ||
<event>PUT</event> | ||
<requestId></requestId> | ||
<source>/finesse/api/User/6021</source> | ||
</Update> | ||
</notification> | ||
</item> | ||
</items> | ||
</event> | ||
</message> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<!-- success ready --> | ||
<message from="pubsub.c01-finesse-b.devlab.zoomint.com" to="6021@c01-finesse-b.devlab.zoomint.com" id="r5B2BdUA"> | ||
<event xmlns="http://jabber.org/protocol/pubsub#event"> | ||
<items node="/finesse/api/User/6021"> | ||
<item id="a6ca891f-8b34-443f-8c7d-dac020d41838339"> | ||
<notification xmlns="urn:xmpp:push:0"> | ||
<Update> | ||
<data> | ||
<user> | ||
<dialogs>/finesse/api/User/6021/Dialogs</dialogs> | ||
<extension>2830</extension> | ||
<firstName>LPU</firstName> | ||
<lastName>Test 21</lastName> | ||
<loginId>6021</loginId> | ||
<loginName>lpu_test_21</loginName> | ||
<mediaType>1</mediaType> | ||
<pendingState></pendingState> | ||
<roles> | ||
<role>Agent</role> | ||
<role>Supervisor</role> | ||
</roles> | ||
<settings> | ||
<wrapUpOnIncoming>OPTIONAL</wrapUpOnIncoming> | ||
<wrapUpOnOutgoing>OPTIONAL</wrapUpOnOutgoing> | ||
</settings> | ||
<state>READY</state> | ||
<stateChangeTime>2023-01-13T11:14:47.981Z</stateChangeTime> | ||
<teamId>5005</teamId> | ||
<teamName>LPU_test</teamName> | ||
<teams> | ||
<Team> | ||
<id>5005</id> | ||
<name>LPU_test</name> | ||
<uri>/finesse/api/Team/5005</uri> | ||
</Team> | ||
</teams> | ||
<uri>/finesse/api/User/6021</uri> | ||
<wrapUpTimer>7200</wrapUpTimer> | ||
</user> | ||
</data> | ||
<event>PUT</event> | ||
<requestId></requestId> | ||
<source>/finesse/api/User/6021</source> | ||
</Update> | ||
</notification> | ||
</item> | ||
</items> | ||
</event> | ||
</message> |
Oops, something went wrong.