-
Notifications
You must be signed in to change notification settings - Fork 0
/
sip-outbound-schema.txt
46 lines (42 loc) · 4.64 KB
/
sip-outbound-schema.txt
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
OUTGOING SIP CALL
=================
╭──────────────────────────────────╮ ╭─────╮
│ ╭───────╮ │ call │ S │ ╭──────────╮
│ │ SIP ├╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶ ▶│ I ├╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶ ▶│ SIP │
│ │ agent │ │ │ P │ │ device │
│ ╰───┬───╯ │ │ │ ╰──────────╯
│ JITSI ▲ │ │ S │
│ SESSION ╎ │ │ E │
│ ╎ │ │ R │
│ ╎ │ │ V │
│ ╎ │ │ E │ ╭───────────────────────────────────────
│ ╎ │ │ R │ │{
╰───────────────────────────╎──────╯ ╰─────╯ │ "callParams": {
╎ │ "callUrlInfo": {
╎ │ "baseUrl": "$JITSI_HOST",
╎ │ "callName": "$JITSI_ROOM"
╎ │ }
╎ │ },
╎ │ "componentParams": {
╭───────────────────────────┴──────╮ API request │ "type": "SIP-JIBRI",
│ component-selector │◀╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶│ "region": "default-region",
╰──────────────────────────────────╯ │ "environment": "default-env"
│ },
│ "metadata": {
│ "sipClientParams": {
│ "userName": "$CALLER_USERNAME",
│ "password": "$CALLER_PASSWORD",
Call SIP device "$CALLEE" │ "sipAddress": "$CALLEE",
From Jitsi room "$JITSI_ROOM" │ "displayName": "$DISPLAY_NAME",
By using SIP account "$CALLER" │ "proxy": "$SIP_PROXY",
│ "autoAnswer": false
│ }
│ },
│ "callLoginParams": {
│ "domain": "sip.jitsi.nordeck.corp",
│ "username": "sip",
│ "password": "$PROSODY_SIP_PASSWD"
│ }
│}
╰───────────────────────────────────────
# vim: tw=140