mirror of
https://github.com/jambonz/jambonz-webapp.git
synced 2026-10-22 19:34:26 +00:00
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:
1 parent
41423a443a
commit
4d7e84fa43
4 files changed
+51
-14
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user