sip-lab 1.28.5 → 1.28.10
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/DEV.md +1 -4
- package/build_deps.sh +1 -1
- package/package.json +4 -4
- package/prebuilds/linux-x64/node.abi102.node +0 -0
- package/prebuilds/linux-x64/node.abi108.node +0 -0
- package/prebuilds/linux-x64/node.abi111.node +0 -0
- package/prebuilds/linux-x64/node.abi115.node +0 -0
- package/prebuilds/linux-x64/{sip-lab.node → node.abi120.node} +0 -0
- package/prebuilds/linux-x64/node.abi88.node +0 -0
- package/prebuilds/linux-x64/node.abi93.node +0 -0
- package/samples_extra/ws_speech_server.dtmf.js +3 -3
- package/samples_extra/ws_speech_server.google.js +3 -3
package/DEV.md
CHANGED
|
@@ -76,13 +76,10 @@ If it fails due to proxy problems, check if you have proxy configured in ~/.dock
|
|
|
76
76
|
After the message is built you can pass them to prebuildify-cross:
|
|
77
77
|
```
|
|
78
78
|
nvm use v16.13.1
|
|
79
|
-
npx prebuildify-cross -i mayamatakeshi/sip-lab-debian11:latest -t 19.0.0 -t 20.0.0 -t 21.0.0 --strip
|
|
79
|
+
npx prebuildify-cross -i mayamatakeshi/sip-lab-debian11:latest -t 15.0.0 -t 16.0.0 -t 17.0.0 -t 18.0.0 -t 19.0.0 -t 20.0.0 -t 21.0.0 --strip
|
|
80
80
|
```
|
|
81
81
|
Obs: however the above will fail if you are behind proxy (solution pending).
|
|
82
82
|
|
|
83
|
-
Also, although we don't use '-t 15.0.0 -t 16.0.0 -t 17.0.0 -t 18.0.0' it will still work with them.
|
|
84
|
-
And actually, it seem if use the above, it will not work with them (see https://github.com/MayamaTakeshi/sip-lab/issues/68)
|
|
85
|
-
|
|
86
83
|
#### Running tests
|
|
87
84
|
```
|
|
88
85
|
npm test
|
package/build_deps.sh
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sip-lab",
|
|
3
|
-
"version": "1.28.
|
|
3
|
+
"version": "1.28.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"engines": {
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"node-addon-api": "^5.0.0",
|
|
28
28
|
"node-gyp": "^9.3.0",
|
|
29
29
|
"node-gyp-build": "^4.5.0",
|
|
30
|
-
"
|
|
30
|
+
"prebuildify": "^5.0.1",
|
|
31
31
|
"sdp-matching": "^1.3.2",
|
|
32
|
-
"
|
|
32
|
+
"sip-matching": "^1.3.14",
|
|
33
|
+
"sipjs-lab": "^1.1.2"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
35
|
-
"prebuildify": "^6.0.0",
|
|
36
36
|
"prebuildify-cross": "github:MayamaTakeshi/prebuildify-cross#use_existing_images"
|
|
37
37
|
},
|
|
38
38
|
"files": [
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -86,12 +86,12 @@ async function test() {
|
|
|
86
86
|
sip.call.start_record_wav(oc.id, {file: './oc.wav'})
|
|
87
87
|
sip.call.start_record_wav(ic.id, {file: './ic.wav'})
|
|
88
88
|
|
|
89
|
-
sip.call.start_speech_synth(oc.id, {server_url: 'ws://0.0.0.0:8080', engine: 'dtmf-gen', voice: 'dtmf', language: 'dtmf', text: 'abcd', times: 1})
|
|
90
|
-
sip.call.start_speech_synth(ic.id, {server_url: 'ws://0.0.0.0:8080', engine: 'dtmf-gen', voice: 'dtmf', language: 'dtmf', text: 'dcba', times: 1})
|
|
91
|
-
|
|
92
89
|
sip.call.start_speech_recog(oc.id, {server_url: 'ws://0.0.0.0:8080', engine: 'dtmf-det', language: 'dtmf'})
|
|
93
90
|
sip.call.start_speech_recog(ic.id, {server_url: 'ws://0.0.0.0:8080', engine: 'dtmf-det', language: 'dtmf'})
|
|
94
91
|
|
|
92
|
+
sip.call.start_speech_synth(oc.id, {server_url: 'ws://0.0.0.0:8080', engine: 'dtmf-gen', voice: 'dtmf', language: 'dtmf', text: 'abcd', times: 1})
|
|
93
|
+
sip.call.start_speech_synth(ic.id, {server_url: 'ws://0.0.0.0:8080', engine: 'dtmf-gen', voice: 'dtmf', language: 'dtmf', text: 'dcba', times: 1})
|
|
94
|
+
|
|
95
95
|
await z.wait([
|
|
96
96
|
{
|
|
97
97
|
event: 'speech_synth_complete',
|
|
@@ -88,12 +88,12 @@ async function test() {
|
|
|
88
88
|
sip.call.start_record_wav(oc.id, {file: './oc.wav'})
|
|
89
89
|
sip.call.start_record_wav(ic.id, {file: './ic.wav'})
|
|
90
90
|
|
|
91
|
-
sip.call.start_speech_synth(oc.id, {server_url: 'ws://0.0.0.0:8080', engine: 'gss', voice: 'en-US-Standard-E', language: 'en-US', text: 'hello world', times: 1})
|
|
92
|
-
sip.call.start_speech_synth(ic.id, {server_url: 'ws://0.0.0.0:8080', engine: 'gss', voice: 'en-US-Standard-F', language: 'en-US', text: '<speak>Good morning<break time="2s"/>Good Afternoon</speak>', times: 1})
|
|
93
|
-
|
|
94
91
|
sip.call.start_speech_recog(oc.id, {server_url: 'ws://0.0.0.0:8080', engine: 'gsr', language: 'en-US'})
|
|
95
92
|
sip.call.start_speech_recog(ic.id, {server_url: 'ws://0.0.0.0:8080', engine: 'gsr', language: 'en-US'})
|
|
96
93
|
|
|
94
|
+
sip.call.start_speech_synth(oc.id, {server_url: 'ws://0.0.0.0:8080', engine: 'gss', voice: 'en-US-Standard-E', language: 'en-US', text: 'hello world', times: 1})
|
|
95
|
+
sip.call.start_speech_synth(ic.id, {server_url: 'ws://0.0.0.0:8080', engine: 'gss', voice: 'en-US-Standard-F', language: 'en-US', text: '<speak>Good morning<break time="2s"/>Good Afternoon</speak>', times: 1})
|
|
96
|
+
|
|
97
97
|
await z.wait([
|
|
98
98
|
{
|
|
99
99
|
event: 'speech_synth_complete',
|