@jambonz/schema 0.4.13 → 0.4.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/schema",
3
- "version": "0.4.13",
3
+ "version": "0.4.16",
4
4
  "description": "JSON Schema definitions and validation for jambonz verb applications",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -88,6 +88,12 @@
88
88
  "type": "boolean",
89
89
  "description": "If true, keep media anchored through the jambonz media server even if a direct media path is possible. Required for features like recording, listen, and DTMF capture during bridged calls."
90
90
  },
91
+ "codecs": {
92
+ "type": "array",
93
+ "items": { "type": "string" },
94
+ "minItems": 1,
95
+ "description": "Codec names, in preference order, to offer on the outbound INVITE (e.g. [\"G722\", \"PCMU\"]). Names are case-insensitive. When omitted, the media server offers its defaults with the inbound leg's codec first so the bridged legs match. If any name is not supported by the media server the whole list is ignored, an error is logged and an alert is written, and default negotiation is used."
96
+ },
91
97
  "exitMediaPath": {
92
98
  "type": "boolean",
93
99
  "description": "If true, remove jambonz from the media path after the call is bridged. Reduces latency but disables mid-call features like recording and DTMF capture."
@@ -103,6 +103,12 @@
103
103
  "timeLimit": {
104
104
  "type": "number",
105
105
  "description": "Maximum call duration in seconds."
106
+ },
107
+ "codecs": {
108
+ "type": "array",
109
+ "items": { "type": "string" },
110
+ "minItems": 1,
111
+ "description": "Codec names, in preference order, to offer on the outbound INVITE (e.g. [\"G722\", \"PCMU\"]). Names are case-insensitive. When omitted the media server offers its default codecs. If any name is not supported by the media server the whole list is ignored, an error is logged and an alert is written, and default negotiation is used."
106
112
  }
107
113
  },
108
114
  "required": [