-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcallflow
59 lines (51 loc) · 1.52 KB
/
callflow
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
title goRIPT Media Flow
Alice->Server: GET carrier.com/.well-known/ript/v1/providertgs
note right of Alice:
Trunk Group Discovery
end note
Server->Alice: Default Trunk group details
Alice->Server: POST carrier.com/.well-known/ript/v1/providertgs/<tg>/handlers
note right of Alice
Handler:Registration
Alice provides handlerId,
media cap advertisement
end note
Server->Alice: 200 OK, HandlerUri
Bob->Server: GET carrier.com/.well-known/ript/v1/providertgs
note left of Bob:
Trunk Group Discovery
end note
Server->Bob: Default Trunk group details
Bob->Server: POST carrier.com/.well-known/ript/v1/providertgs/<tg>/handlers
note left of Bob
HandlerRegistration
Alice provides handlerId,
media cap advertisement
end note
Server->Bob: 200 OK, HandlerUri
Alice->Server: POST carrier.com/.well-known/ript/v1/providertgs/<tg>/calls
note right of Alice
Call Setup:
Alice provides handlerUri,
Destination Address (hardcoded)
end note
Server->Alice: 200 OK, CallUri, Client/Server Directives
Bob->Server: POST carrier.com/.well-known/ript/v1/providertgs/<tg>/calls
note left of Bob
Call Setup:
Bob provides handlerUri,
Desitnation Address (hardcoded)
end note
Server->Bob: 200 OK, CallUri, Client/Server Directives
Alice->Server: PUT carrier.com/.well-known/ript/v1/providertgs/<tg>/calls/<callId>/media
note right of Alice
Media Send:
Alice sends media chunk
end note
Server->Alice: 200 OK
Bob->Server: GET carrier.com/.well-known/ript/v1/providertgs/<tg>/calls/<callId>/media
note left of Bob
Media Receive:
Bob pulls meda chunk
end note
Server->Bob: 200 OK