feat: add sip gateway protocol for outbound traffic (#249)

* feat: add sip gateway protocol for outbound traffic

* fix: add tls/srtp
This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2023-05-10 16:02:39 -04:00
1 parent 41423a443a
commit 4d7e84fa43
4 files changed
+51 -14

No files matched your search

+20
View File
@@ -90,6 +90,26 @@ export const NETMASK_OPTIONS = NETMASK_BITS.map((bit) => ({
value: bit.toString(),
}));
/** SIP Gateway Protocol */
export const SIP_GATEWAY_PROTOCOL_OPTIONS = [
{
name: "UDP",
value: "udp",
},
{
name: "TCP",
value: "tcp",
},
{
name: "TLS",
value: "tls",
},
{
name: "TLS/SRTP",
value: "tls/srtp",
},
];
/** Password Length options */
export const PASSWORD_MIN = 8;
+1
View File
@@ -385,6 +385,7 @@ export interface Gateway {
export interface SipGateway extends Gateway {
sip_gateway_sid?: null | string;
is_active: boolean;
protocol?: string;
}
export interface SmppGateway extends Gateway {