We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ce0387 commit 81a3dfbCopy full SHA for 81a3dfb
2 files changed
.changeset/silly-tips-remain.md
@@ -0,0 +1,5 @@
1
+---
2
+"github.com/livekit/protocol": patch
3
4
+
5
+Remove SIP outbound number normalization for Telnyx.
rpc/sip.go
@@ -55,9 +55,6 @@ func NewCreateSIPParticipantRequest(
55
}
56
// A sanity check for the number format for well-known providers.
57
switch {
58
- case strings.HasSuffix(hostname, "telnyx.com"):
59
- // Telnyx omits leading '+' by default.
60
- outboundNumber = strings.TrimPrefix(outboundNumber, "+")
61
case strings.HasSuffix(hostname, "twilio.com"):
62
// Twilio requires leading '+'.
63
if !strings.HasPrefix(outboundNumber, "+") {
0 commit comments