Skip to content

Commit f17e1e3

Browse files
committed
Changes done for v2.3.1.
1 parent 28b9762 commit f17e1e3

File tree

47 files changed

+5654
-334
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+5654
-334
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ st submitjob -P tlsPort=9443 -P vgwSessionLoggingNeeded=false -P numberOfS2TEngi
191191
## Examples that showcase this toolkit's features
192192
There are many examples available in this toolkit that can be compiled and tested. Couple of them are generic real-world solutions running in production that can be customized and used when needed.
193193

194+
If you have no need for the call recording and call replay features, you can use the two examples below that end with the word Mini. It will cut down the extra logic to result in a fewer number of overall operators.
195+
194196
* [AccessTokenGenerator](https://github.com/IBMStreams/streamsx.sttgateway/tree/develop/samples/AccessTokenGenerator)
195197
* [AudioFileWatsonSTT](https://github.com/IBMStreams/streamsx.sttgateway/tree/develop/samples/AudioFileWatsonSTT)
196198
* [AudioFileWatsonSTTAllOutput](https://github.com/IBMStreams/streamsx.sttgateway/tree/develop/samples/AudioFileWatsonSTTAllOutput)
@@ -202,6 +204,8 @@ There are many examples available in this toolkit that can be compiled and teste
202204
* [VgwDataRouter](https://github.com/IBMStreams/streamsx.sttgateway/tree/develop/samples/VgwDataRouter)
203205
* [VgwDataRouterToWatsonS2T](https://github.com/IBMStreams/streamsx.sttgateway/tree/develop/samples/VgwDataRouterToWatsonS2T)
204206
* [VgwDataRouterToWatsonSTT](https://github.com/IBMStreams/streamsx.sttgateway/tree/develop/samples/VgwDataRouterToWatsonSTT)
207+
* [VgwDataRouterMini](https://github.com/IBMStreams/streamsx.sttgateway/tree/develop/samples/VgwDataRouterMini)
208+
* [VgwDataRouterToWatsonSTTMini](https://github.com/IBMStreams/streamsx.sttgateway/tree/develop/samples/VgwDataRouterToWatsonSTTMini)
205209
* [stt_results_http_receiver](https://github.com/IBMStreams/streamsx.sttgateway/tree/develop/samples/stt_results_http_receiver)
206210
* [audio_files](https://github.com/IBMStreams/streamsx.sttgateway/tree/develop/samples/audio-files)
207211
* [VoiceDataSimulator](https://github.com/IBMStreams/streamsx.sttgateway/tree/develop/samples/VoiceDataSimulator)

com.ibm.streamsx.sttgateway/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changes
22

3+
## v2.3.1
4+
* Sep/20/2021
5+
* Dynamically change the maximum concurrent calls allowed value.
6+
* Query maximum allowed concurrent calls and active concurrent calls values.
7+
* Utterance latency with reference to the call start time is available.
8+
* New operator metric to display the total throttled calls count.
9+
* Option to redact numeric values in the speech to text result.
10+
* Write the STT engine id and result processor id in the call started file.
11+
* STT URI submission time parameter is made mandatory.
12+
* A new call simulation script is available to send hundreds of calls via WebSocket into the Voice Gateway source operator for testing.
13+
* A new script is available to start many speech processor jobs and a single VgwDataRouter job.
14+
* A new script is available to cancel all the speech processor jobs and a single VgwDataRouter job.
15+
316
## v2.3.0
417
* Aug/23/2021
518
* Made changes in the IBMVoiceGatewaySource operator to parse the SIP invite custom header fields such as Cisco-Guid and include it in the output stream.

com.ibm.streamsx.sttgateway/com.ibm.streamsx.sttgateway.watson/IBMVoiceGatewaySource/IBMVoiceGatewaySource.xml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@
4646
put the customer in the driver's seat to gather real-time intelligence from their
4747
voice infrastructure.
4848

49+
This operator allows the user to set the maximum number of concurrent calls allowed via the
50+
operator parameter named maxConcurrentCallsAllowed. In addition, it also allows the user to
51+
dynamically query and adjust the maximum allowed concurrent calls count via the
52+
following CURL commands.
53+
54+
curl -k -X POST https://host:port -H GetMaxConcurrentCalls:true
55+
56+
curl -k -X POST https://host:port -H SetMaxConcurrentCalls:150
57+
4958
For a detailed documentation about the requirements, operator design, usage patterns and
5059
in-depth technical details, please refer to the official STT Gateway toolkit documentation
5160
available at this URL:
@@ -67,6 +76,16 @@
6776
<kind>Counter</kind>
6877
</metric>
6978

79+
<metric>
80+
<name>nVoiceCallsThrottled</name>
81+
<description>
82+
Number of voice calls throttled by this operator instance.
83+
84+
*NOTE:* This metric is only updated if parameter `vgwLiveMetricsUpdateNeeded` is true.
85+
</description>
86+
<kind>Counter</kind>
87+
</metric>
88+
7089
<metric>
7190
<name>nSpeechDataBytesReceived</name>
7291
<description>
@@ -145,6 +164,10 @@
145164
<description>Returns an rstring value with the call start date time i.e. system clock time.</description>
146165
<prototype><![CDATA[rstring getCallStartDateTime()]]></prototype>
147166
</function>
167+
<function>
168+
<description>Returns an int64 value with the call start time in epoch seconds.</description>
169+
<prototype><![CDATA[int64 getCallStartTimeInEpochSeconds()]]></prototype>
170+
</function>
148171
<function>
149172
<description>Returns an rstring value for the SIP invite custom header Cisco-Guid.</description>
150173
<prototype><![CDATA[rstring getCiscoGuid()]]></prototype>
@@ -287,6 +310,16 @@
287310
<type>boolean</type>
288311
<cardinality>1</cardinality>
289312
</parameter>
313+
314+
<parameter>
315+
<name>maxConcurrentCallsAllowed</name>
316+
<description>This parameter specifies the maximum concurrent calls allowed for processing by this operator. (Default is 10)</description>
317+
<optional>true</optional>
318+
<rewriteAllowed>true</rewriteAllowed>
319+
<expressionMode>AttributeFree</expressionMode>
320+
<type>uint32</type>
321+
<cardinality>1</cardinality>
322+
</parameter>
290323
</parameters>
291324

292325
<inputPorts>

0 commit comments

Comments
 (0)