@jambonz/schema 0.4.9 → 0.4.12
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.
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"description": "Current call state."
|
|
20
20
|
},
|
|
21
21
|
"sip_status": { "type": "integer", "description": "SIP response code (e.g. 200, 486)." },
|
|
22
|
-
"sip_reason": { "type": "string", "description": "SIP reason phrase (e.g. 'OK', 'Busy Here')." },
|
|
22
|
+
"sip_reason": { "type": "string", "description": "SIP reason phrase from the SIP status line (e.g. 'OK', 'Busy Here'). Not the RFC 3326 Reason header - see sip_reason_header." },
|
|
23
|
+
"sip_reason_header": { "type": "string", "description": "RFC 3326 Reason header of the SIP message that caused this status change (e.g. 'Q.850;cause=18'), if it carried one; absent otherwise. Carriers fronting ISDN/E1 PRI trunks put the authoritative disconnect cause here rather than in the status line, and the same SIP status can carry different causes - a 503 may be cause=38 (network out of order) or cause=41 (temporary failure) - so the status code alone cannot classify the outcome. Present on whichever event observed it: a final failure response, a BYE, or a CANCEL. Two caveats: the header is re-serialized in transit, which normalizes the optional whitespace RFC 3326 allows around ';' (a carrier's 'Q.850 ;cause=18' arrives as 'Q.850;cause=18'), so parse tolerantly rather than string-matching; and a message may carry more than one Reason header, in which case they arrive comma-separated - split on commas outside quotes, since a text=\"...\" value may contain one." },
|
|
23
24
|
"trace_id": { "type": "string", "description": "Distributed tracing identifier for correlating logs across jambonz components." },
|
|
24
25
|
"originating_sip_ip": { "type": "string", "description": "IP address of the originating SIP trunk." },
|
|
25
26
|
"originating_sip_trunk_name": { "type": "string", "description": "Name of the originating SIP trunk as configured in jambonz." },
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"vendor": {
|
|
9
9
|
"type": "string",
|
|
10
10
|
"description": "The TTS vendor to use. Must match a vendor configured in the jambonz platform.",
|
|
11
|
-
"examples": ["google", "aws", "microsoft", "elevenlabs", "cartesia", "gradium", "nineninesix", "deepgram", "deepgramflux", "ibm", "nvidia", "wellsaid", "whisper", "custom"]
|
|
11
|
+
"examples": ["google", "aws", "microsoft", "elevenlabs", "cartesia", "fishaudio", "gradium", "nineninesix", "deepgram", "deepgramflux", "ibm", "nvidia", "wellsaid", "whisper", "custom"]
|
|
12
12
|
},
|
|
13
13
|
"label": {
|
|
14
14
|
"type": "string",
|
package/package.json
CHANGED
|
@@ -59,6 +59,11 @@
|
|
|
59
59
|
"type": "string",
|
|
60
60
|
"description": "The language code for the conversation (e.g. 'en-US')."
|
|
61
61
|
},
|
|
62
|
+
"sessionId": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"pattern": "^[A-Za-z0-9_-]{1,200}$",
|
|
65
|
+
"description": "Names the conversation on the Dialogflow side. Reuse the same value on a later dialogflow verb in the same call to return the caller to the same conversation, with the history the agent had built up - for example after handing the caller to a dial leg and back. Defaults to the call sid."
|
|
66
|
+
},
|
|
62
67
|
"actionHook": {
|
|
63
68
|
"$ref": "../components/actionHook",
|
|
64
69
|
"description": "A webhook invoked when the Dialogflow session ends."
|