support task-selectable SIP trunks

This commit is contained in:
2026-09-17 15:23:46 +08:00
parent 84d86319a3
commit e65cfbe3af
15 changed files with 452 additions and 39 deletions
+46
View File
@@ -0,0 +1,46 @@
{
"public_ip": "123.56.71.98",
"transport": "udp",
"local_net": "172.16.0.0/12",
"trunks": [
{
"trunk_id": "provider-primary",
"host": "61.132.228.221",
"port": 5060,
"auth_mode": "ip",
"register": false,
"from_user": "BD93205882",
"caller_id": "BD93205882",
"codec_profile": {
"allowed": ["PCMA"],
"preferred": "PCMA"
}
},
{
"trunk_id": "provider-second",
"host": "60.171.24.90",
"port": 5060,
"auth_mode": "ip",
"register": false,
"from_user": "mbkq",
"caller_id": "mbkq",
"codec_profile": {
"allowed": ["PCMA"],
"preferred": "PCMA"
}
},
{
"trunk_id": "provider-third",
"host": "160.202.254.79",
"port": 5060,
"auth_mode": "ip",
"register": false,
"from_user": "KQ91526",
"caller_id": "KQ91526",
"codec_profile": {
"allowed": ["PCMA"],
"preferred": "PCMA"
}
}
]
}