Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
e76a248
adding incoming call
osaghaso Jan 11, 2023
3df06d9
adding incoming call
osaghaso Jan 16, 2023
0890f5d
adding incoming call event to Event grid
osaghaso Jan 23, 2023
b061a71
fixing avocado failure
osaghaso Jan 23, 2023
278d374
fixing avocado failure
osaghaso Jan 24, 2023
dbd9962
fixing build failures
osaghaso Jan 24, 2023
82b4ab3
fixing build failures
osaghaso Jan 24, 2023
b5bfa74
Merge remote-tracking branch 'origin/main' into user/osaghaso/add_inc…
osaghaso Jan 25, 2023
df8ee6a
Revert "fixing build failures"
osaghaso Jan 25, 2023
8ad4590
fixing build failures
osaghaso Jan 25, 2023
788e773
merging from master
osaghaso Apr 3, 2023
fa3d978
Adding Incoming Call events to eventgrid swagger
osaghaso Apr 4, 2023
88347f2
Addressing comments
osaghaso Apr 4, 2023
07709ea
Adding Incoming Call events to eventgrid swagger
osaghaso Apr 5, 2023
1f56b18
merged from main
osaghaso Apr 5, 2023
e036cc6
Adding Incoming Call events to eventgrid swagger
osaghaso Apr 6, 2023
a4ad2d1
removing CallingCommunicationIdentifier
osaghaso Apr 11, 2023
3763c65
removing unwanted string
osaghaso May 2, 2023
8b769ec
addressing comments
osaghaso May 2, 2023
5fefe1d
making custom context its own defination
osaghaso May 2, 2023
08bdf12
making custom context its own defination
osaghaso May 3, 2023
c0e03a1
adding the CommunicationIdentifier to property
osaghaso May 4, 2023
f2a9266
merging
osaghaso May 4, 2023
6d82e70
merging
osaghaso May 4, 2023
03ab280
Merge branch 'main' into user/osaghaso/incomingCall_swagger
osaghaso May 4, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,41 @@
},
"paths": {},
"definitions": {
"AcsIncomingCallEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.IncomingCall event",
"properties": {
"to": {
Comment thread
osaghaso marked this conversation as resolved.
"description": "The communication identifier of the target user.",
"$ref": "../../../../../communication/data-plane/Common/stable/2021-03-07/common.json#/definitions/CommunicationIdentifierModel",
"x-ms-client-name": "toCommunicationIdentifier"
},
"from": {
"description": "The communication identifier of the user who initiated the call.",
"$ref": "../../../../../communication/data-plane/Common/stable/2021-03-07/common.json#/definitions/CommunicationIdentifierModel",
"x-ms-client-name": "fromCommunicationIdentifier"
},
"serverCallId": {
Comment thread
osaghaso marked this conversation as resolved.
"description": "The Id of the server call",
"type": "string"
},
"callerDisplayName": {
"description": "Display name of caller.",
"type": "string"
},
"customContext": {
"description": "Custom Context of Incoming Call",
"$ref": "#/definitions/AcsIncomingCallCustomContext"
},
"incomingCallContext": {
Comment thread
osaghaso marked this conversation as resolved.
"description": "Signed incoming call context.",
"type": "string"
},
"correlationId": {
Comment thread
osaghaso marked this conversation as resolved.
"description": "CorrelationId (CallId).",
"type": "string"
}
}
},
"AcsUserDisconnectedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.UserDisconnected event.",
"properties": {
Expand Down Expand Up @@ -861,6 +896,30 @@
"type": "string"
}
}
},
"AcsIncomingCallCustomContext": {
"description": "Custom Context of Incoming Call",
"type": "object",
"properties": {
"customHeaders": {
"type": "string",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure this is not meant to be a dictionary like sipHeaders and voipHeaders?

Copy link
Copy Markdown
Contributor Author

@osaghaso osaghaso May 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes sure

"description": "Custom Headers for incoming call"
},
"sipHeaders": {
"type": "object",
"description": "Sip Headers for incoming call",
"additionalProperties": {
"type": "string"
}
},
"voipHeaders": {
"type": "object",
"description": "Voip Headers for incoming call",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"id": "e80026e7-e298-46ba-bc42-dab0eda92581",
"source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "/caller/{caller-id}/recipient/{recipient-id}",
"data": {
"to": {
"kind": "communicationUser",
"rawId": "{recipient-id}",
"communicationUser": {
"id": "{recipient-id}"
}
},
"from": {
"kind": "communicationUser",
"rawId": "{caller-id}",
"communicationUser": {
"id": "{caller-id}"
}
},
"serverCallId": "{server-call-id}",
"callerDisplayName": "VOIP Caller",
"customContext": {
"sipHeaders": {
"userToUser": "616d617a6f6e5f6368696;encoding=hex",
"X-MS-Custom-myheader1": "35567842",
"X-MS-Custom-myheader2": "customsipheadervalue"
},
"voipHeaders": {
"customHeader": "customValue"
}
},
"incomingCallContext": "{incoming-call-contextValue}",
"correlationId": "correlationId"
},
"type": "Microsoft.Communication.IncomingCall",
"specversion": "1.0",
"time": "2023-04-04T17:18:42.5542219Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"id": "e80026e7-e298-46ba-bc42-dab0eda92581",
"topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "/caller/{caller-id}/recipient/{recipient-id}",
"data": {
"to": {
"kind": "communicationUser",
"rawId": "{recipient-id}",
"communicationUser": {
"id": "{recipient-id}"
}
},
"from": {
"kind": "communicationUser",
"rawId": "{caller-id}",
"communicationUser": {
"id": "{caller-id}"
}
},
"serverCallId": "{server-call-id}",
"callerDisplayName": "VOIP Caller",
"customContext": {
"sipHeaders": {
Comment thread
osaghaso marked this conversation as resolved.
"userToUser": "616d617a6f6e5f6368696;encoding=hex",
"X-MS-Custom-myheader1": "35567842",
"X-MS-Custom-myheader2": "customsipheadervalue"
},
"voipHeaders": {
"customHeader": "customValue"
}
},
"incomingCallContext": "{incoming-call-contextValue}",
"correlationId": "correlationId"
},
"eventType": "Microsoft.Communication.IncomingCall",
"dataVersion": "1.0",
"metadataVersion": "1",
"eventTime": "2023-04-04T17:18:42.5542219Z"
}