Files
go-sip/docs/contracts/examples/config-read-sip-v0.2.json
T

38 lines
1.1 KiB
JSON

{
"schema_version": "config-read.v0.2",
"resource": "sip_config",
"dispatcher_id": "c046b893-8628-4589-ae50-619d049248a6",
"revision": 1,
"approved_at": "2026-09-21T08:00:00+08:00",
"trunks": [{
"trunk_id": "trunk-mock",
"provider_id": "provider-mock",
"egress_pool_id": "egress-mock",
"codec": "PCMA",
"dial_prefix": "",
"enabled": true,
"server_host": "sip.example.invalid",
"server_port": 5060,
"transport": null,
"auth_mode": null,
"registration_required": null,
"max_concurrent_calls": null,
"caller_profiles": [{
"caller_profile_id": "caller-profile-mock",
"caller_id": "BD00000000"
}],
"schedule": {
"time_zone": "Asia/Shanghai",
"weekly_windows": {
"monday": [{"start": "09:00", "end": "20:00"}],
"tuesday": [{"start": "09:00", "end": "20:00"}],
"wednesday": [{"start": "09:00", "end": "20:00"}],
"thursday": [{"start": "09:00", "end": "20:00"}],
"friday": [{"start": "09:00", "end": "20:00"}],
"saturday": [],
"sunday": []
}
}
}]
}