mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-07-24 21:12:10 +00:00
add voip_carriers.e164_leading_plus for carrier-level configuration of E.164 dial string
This commit is contained in:
@@ -21,6 +21,18 @@ VoipCarrier.fields = [
|
||||
{
|
||||
name: 'description',
|
||||
type: 'string'
|
||||
},
|
||||
{
|
||||
name: 'account_sid',
|
||||
type: 'string',
|
||||
},
|
||||
{
|
||||
name: 'application_sid',
|
||||
type: 'string'
|
||||
},
|
||||
{
|
||||
name: 'e164_leading_plus',
|
||||
type: 'number'
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
@@ -250,6 +250,8 @@ paths:
|
||||
description: voip carrier name
|
||||
description:
|
||||
type: string
|
||||
e164_leading_plus:
|
||||
type: boolean
|
||||
required:
|
||||
- name
|
||||
responses:
|
||||
@@ -1613,6 +1615,8 @@ components:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
e164_leading_plus:
|
||||
type: boolean
|
||||
required:
|
||||
- voip_carrier_sid
|
||||
- name
|
||||
|
||||
Reference in New Issue
Block a user