allow sip port is null (#323)

* allow sip port is null

* fix port placeholder when protocol is tls or tls/srtp
This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2023-09-18 20:15:53 -04:00
1 parent 62234f9f64
commit 4a2c36ebba
2 files changed
+33 -6

No files matched your search

+2 -1
View File
@@ -459,7 +459,6 @@ export interface PredefinedCarrier extends Carrier {
export interface Gateway {
voip_carrier_sid: string;
ipv4: string;
port: number;
netmask: number;
inbound: number;
outbound: number;
@@ -469,6 +468,7 @@ export interface SipGateway extends Gateway {
sip_gateway_sid?: null | string;
is_active: boolean;
protocol?: string;
port: number | null;
pad_crypto?: boolean;
}
@@ -476,6 +476,7 @@ export interface SmppGateway extends Gateway {
smpp_gateway_sid?: null | string;
is_primary: boolean;
use_tls: boolean;
port: number;
}
export interface Lcr {