-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathservers.json.example
More file actions
58 lines (58 loc) · 2.46 KB
/
Copy pathservers.json.example
File metadata and controls
58 lines (58 loc) · 2.46 KB
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
{
"servers": [
{
"id": "prod1",
"hostname": "sas1.example.com",
"sasHostname": "sas-edge1.example.com",
"ndpServerName": "core1",
"apikey": "nss_your_api_key_here",
"maxDomains": 50,
"maxResellers":5,
"peakCps": 10,
"registrationPct": 0.8,
"sendRtp": 1,
"seed": 12345,
"opusPct": 90,
"extCallCpsPct": 0.1,
"description": "Production Server 1 - Primary load testing environment. Optional sendRtp: 0=disabled (SDP only), 1=enabled. Overrides SEND_RTP from .env. Optional opusPct: 0-100, percent of answered calls using Opus (10% granularity, rounds down). Overrides OPUS_PCT from .env; falls back to OPUS_PCT (default 50) when omitted. Optional extCallCpsPct: fraction of peakCps targeted by extension-to-extension calls placed by registered devices after their re-registration loop (0 disables). Overrides EXT_CALL_CPS_PCT from .env (default 0.1). Optional sasHostname: SIP destination for inbound INVITEs only (inbound.sh); the API and registrations still use hostname. Falls back to hostname when omitted. Optional ndpServerName: NDP core server name written to device MAC provisioning and the PORTAL_DEVICE_NDP_SERVER config. Overrides NDP_SERVERNAME from .env (default core1)."
},
{
"id": "prod2",
"hostname": "sas2.example.com",
"apikey": "nss_another_api_key_here",
"maxDomains": 100,
"maxResellers":5,
"peakCps": 20,
"registrationPct": 0.9,
"sendRtp": 1,
"seed": 67890,
"description": "Production Server 2 - Secondary load testing environment"
},
{
"id": "staging",
"hostname": "staging.example.com",
"apikey": "nss_staging_api_key",
"maxDomains": 10,
"maxResellers":5,
"peakCps": 0.5,
"registrationPct": 0.75,
"sendRtp": 0,
"seed": 11111,
"description": "Staging environment for testing - low load with decimal CPS. RTP disabled for signaling-only testing"
},
{
"id": "nonstd-ports",
"hostname": "test.example.com",
"apikey": "nss_test_api_key",
"sipPort": 5080,
"sipTlsPort": 5082,
"maxDomains": 5,
"maxResellers": 1,
"peakCps": 1,
"registrationPct": 0.5,
"sendRtp": 1,
"seed": 22222,
"description": "Example with non-standard SIP ports. Optional sipPort (UDP/TCP, default 5060) and sipTlsPort (TLS, default 5061) override the destination port SIPp sends to. API still uses HTTPS on 443."
}
]
}