Commit Graph

32 Commits

Author SHA1 Message Date
Alex
16b9a98ef1 Sip to grpc error code mapping update (#1305) 2025-11-14 10:29:13 -08:00
Alex
2f76678507 Cement SIP header validation (#1279) 2025-11-14 10:16:11 -08:00
Alex
070839e4ca Added more scrutinizing SIP header validation warnings (#1238) 2025-10-22 17:25:54 -07:00
Nishad
d691833930 Destination region in create sip participant (#1268)
* Adding a destinationRegion field in the CreateSipParticipant request

* generated protobuf

* Using a destination struct instead

* generated protobuf

* Adding validation for the destination field

* Making destination field optional

* generated protobuf

* Tidy

* Using the language package

* Fixing comment

* Fixing return for destination validate

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-22 19:54:59 +05:30
Alex
0475e67b4d Only applying angled brackets to sip: uris. (#1247) 2025-10-08 14:41:24 -07:00
Nishad
a4aabbeb26 Making the sip refer to compliant to the RFC (#1232)
* Making the sip refer to compliant to the RFC and adding validation/tests for the same

* avoiding regex for performance reasons
2025-09-29 18:02:23 +05:30
Alex
3476f457ed Ading configurable SIP display name (#1216) 2025-09-19 09:26:24 -07:00
Denys Smirnov
c608ceafc1 Add a Name helper for SIPTransport. (#1175)
* Add a Name helper for SIPTransport.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-26 16:22:41 +03:00
Nishad
a8834c0778 Normalize trunk filtering (#1126)
* Normalizing the comparison of numbers in the ListSIPInboundTrunkRequest Filter
1. Added normalization to the comparison of trunk and caller number in ListSIPInboundTrunkRequest
2. Moved NormalizeNumber to a utils number to prevent import cycle

* Fixing another import cycle caused by utils importing livekit

* Adding changeset

* PR feedback
2025-07-12 22:27:55 -07:00
Benjamin Pracht
fa4bb37c0c Allow updating trunk destination country (#1087)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-23 10:06:57 -07:00
Denys Smirnov
9de0150f3b Allow '_' in SIP headers. (#1048) 2025-04-16 10:45:59 +03:00
Denys Smirnov
d67a6a9f96 Allow updating SIP media encryption. (#1047) 2025-04-15 10:48:49 +03:00
Denys Smirnov
c193b8d080 Fix SIP update when replacing array fields. (#1038) 2025-04-08 17:31:32 +03:00
Denys Smirnov
01ba6afd74 Add helper to get SIP call status from an error. (#1028) 2025-04-01 12:15:45 +03:00
Denys Smirnov
6d044a0462 Fix incremental SIP dispatch rule update. (#1014) 2025-03-20 18:17:08 +02:00
Denys Smirnov
ce72bd5bb7 Update API for SIP. (#869) 2025-03-19 14:49:48 +02:00
Denys Smirnov
9ce0387a72 Fix hostname validation for a new type. (#968) 2025-02-07 12:26:46 +02:00
Denys Smirnov
fdfc6fd6bc Allow passing all SIP trunk options in CreateSIPParticipant. (#961)
* Allow passing all SIP trunk options in CreateSIPParticipant.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-07 11:21:18 +02:00
Denys Smirnov
e6dce57bcf Use SIP statuses as Go and gRPC errors. (#960) 2025-02-04 12:22:02 +02:00
Denys Smirnov
c909c95e07 Pass SIP statuses as RPC error details. (#958) 2025-01-29 23:08:30 +02:00
Denys Smirnov
369640e32f Use iterators in SIP. (#943) 2025-01-14 12:05:18 +02:00
Denys Smirnov
1975b61b7e Add headers for SIP call transfer. (#926) 2024-12-18 14:42:28 +02:00
Denys Smirnov
9eb0489318 Relax header validation for SIP. (#925) 2024-12-17 18:26:25 +02:00
Denys Smirnov
f6b5078b22 Add filters to SIP list APIs. (#913) 2024-12-09 20:37:53 +02:00
Hamdan
47d9881a2a Add headers for CreateSipParticipant (#911)
* Add headers for CreateSipParticipant

* Fixed CreateSipParticipant wrong IDs

* generated protobuf

* Create tall-colts-invent.md

* removed header mappings from CreateSIpParticipant

* generated protobuf

* merged headers for InternalCreateSIPParticipantRequest

* Properly merge headers.

* Fix changeset.

* Add headers validation.

* Update tests.

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Denys Smirnov <dennwc@pm.me>
2024-12-09 19:55:32 +02:00
Denys Smirnov
9e70d56c78 Map participant attributes to SIP headers. (#893) 2024-11-27 14:30:01 +02:00
Denys Smirnov
4051190713 Require number, CIDR or auth for SIP inbound. (#890) 2024-11-27 14:16:56 +02:00
Denys Smirnov
01b46d7865 Validate SipCallTo in CreateSIPParticipantRequest. (#823) 2024-09-25 21:55:48 +03:00
Benjamin Pracht
a963817d9f Implement Validate on TransferSIPParticipantRequest (#818) 2024-09-24 10:02:28 -07:00
Denys Smirnov
1f5de7d620 Update SIP protocol (#805)
* Update SIP protocol. Pass headers and project ID.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-13 10:45:25 +03:00
Denys Smirnov
7814d0fbc2 Fix typo in SIP Trunk conversion. (#744) 2024-06-20 17:49:23 +03:00
Denys Smirnov
32c577d805 Split SIP Trunk configuration to inbound and outbound parts. (#738) 2024-06-17 21:42:19 +03:00