Commit Graph

9 Commits

Author SHA1 Message Date
Denys Smirnov
142d7f108f Match SIP Trunks by source IP or mask. (#724) 2024-05-28 20:55:36 +03:00
Denys Smirnov
38423424ed Allow number filtering on Dispatch Rules (#707)
Allow inbound number filtering on  SIP Dispatch Rules. It works similar to Trunks, where rules without a number filter are grouped together and take less priority than number-specific rules.

While at it, simplify the rule evaluation.

Previously it was doing some hand-crafted checks for evaluation path, that matched the validation path. Same double logic existed for priorities as well.

Now the validation is always called from evaluation, thus sharing the logic. And rule selection is simplified by just picking the first one after priority filtering.
2024-05-07 19:23:35 +03:00
Denys Smirnov
e7962f4444 Pass additional metadata for SIP. (#696) 2024-04-26 13:44:03 +03:00
Denys Smirnov
912f0cf1cd Add bounds check when trimming the number. (#650) 2024-03-13 15:27:33 +02:00
Denys Smirnov
7a70c5da9b Expose trunks/dispatch validation for API/CLI. Deprecate regexps for inbound. (#623) 2024-03-01 11:38:19 +02:00
Denys Smirnov
d89487fdbc More specific SIP call dispatch result codes. (#596) 2024-02-08 17:54:07 +02:00
Denys Smirnov
f56f11e568 Generate unique room names for SIP. (#584) 2024-01-24 22:16:54 +02:00
Denys Smirnov
2e48332992 Pass participant kind in the grant. (#571) 2024-01-16 17:19:18 +02:00
Denys Smirnov
ec88d89da1 Move SIP rules from LiveKit server. (#534) 2023-11-30 12:36:07 -05:00