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 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
@@ -98,7 +98,7 @@ then
98
98
 
99
99
  rm -fr ../../pocketsphinx
100
100
  mkdir -p ../../pocketsphinx
101
- cp -r model/ ../../pocketsphinx/
101
+ cp -rf model/ ../../pocketsphinx/
102
102
  fi
103
103
 
104
104
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sip-lab",
3
- "version": "1.28.5",
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
- "sip-matching": "^1.5.2",
30
+ "prebuildify": "^5.0.1",
31
31
  "sdp-matching": "^1.3.2",
32
- "sipjs-lab": "^1.3.10"
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": [
@@ -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',