anon28066628 | 2017-07-31 17:08:59 UTC | #1
Today I saw two conversations with two different participant id's that each had a session with the same id. Note below the same session id for the two participants. Does anyone know a series of steps to create this condition? I assume it is intentional because of the destinationConversationId and sourceConversationId fields.
(To be clear, these participants are in two different conversations with different conversations ids.)
(Sanitized):
// PARTICIPANT WITH DUPLICATE SESSION ID FROM CONVERSATION 1
{ "participantId": "bc363141-702b-40c2-8c11-651e277e8e8e", "participantName": "John Doe", "purpose": "external", "sessions": [{ "mediaType": "voice", "sessionId": "08da6257-4a04-4c58-81f5-19d6d66a78d4", "ani": "sip:johndoe%40company.com@localhost", "direction": "outbound", "dnis": "sip:5968fc7e5c64651c4042ad96+companyorg.orgspan.com@localhost", "edgeId": "17e9f7b7-f056-4875-92e8-4e62ecedbe07", "segments": [{ "segmentStart": "2017-07-26T21:43:04.424Z", "segmentEnd": "2017-07-26T21:43:07.808Z", "segmentType": "dialing", "conference": false }, { "segmentStart": "2017-07-26T21:43:07.808Z", "segmentEnd": "2017-07-26T21:43:07.808Z", "segmentType": "interact", "destinationConversationId": "71c87116-65d6-421d-87ff-72b358dd779c", "conference": false }] }] }
// PARTICIPANT WITH DUPLICATE SESSION ID FROM CONVERSATION 2
{ "participantId": "642be6de-6528-4e31-8247-85cf03f9d4e3", "participantName": "John Doe", "purpose": "external", "sessions": [{ "mediaType": "voice", "sessionId": "08da6257-4a04-4c58-81f5-19d6d66a78d4", "ani": "sip:johndoe%40company.com@localhost", "direction": "outbound", "dnis": "sip:5968fc7e5c64651c4042ad96+companyorg.orgspan.com@localhost", "edgeId": "17e9f7b7-f056-4875-92e8-4e62ecedbe07", "segments": [{ "segmentStart": "2017-07-26T21:56:09.768Z", "segmentEnd": "2017-07-26T22:06:44.320Z", "segmentType": "interact", "sourceConversationId": "aefe73f2-7741-4ba7-b5ad-b2c7e274b2c7", "conference": true }] }] }
anon28066628 | 2017-07-31 17:26:26 UTC | #2
Just to close this loop, the condition described where a media session id exists for different participant ids in different conversations is valid. A participant can move to a different conversation in a conference scenario.
system | 2017-08-28 19:35:59 UTC | #3
This post was migrated from the old Developer Forum.
ref: 1613