@routr/connect 2.0.5-alpha.16 → 2.0.5-alpha.17
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/dist/router.js +2 -2
- package/package.json +5 -5
package/dist/router.js
CHANGED
@@ -32,7 +32,7 @@ const types_1 = require("./types");
|
|
32
32
|
const utils_1 = require("./utils");
|
33
33
|
const processor_1 = require("@routr/processor");
|
34
34
|
const errors_1 = require("./errors");
|
35
|
-
const
|
35
|
+
const location_1 = require("@routr/location");
|
36
36
|
const logger_1 = require("@fonoster/logger");
|
37
37
|
const logger = (0, logger_1.getLogger)({ service: "connect", filePath: __filename });
|
38
38
|
const getSIPURI = (uri) => `sip:${uri.user}@${uri.host}`;
|
@@ -82,7 +82,7 @@ function fromPSTN(location, _, callee) {
|
|
82
82
|
aor: callee.spec.location.aorLink
|
83
83
|
}))[0];
|
84
84
|
if (!route) {
|
85
|
-
throw new
|
85
|
+
throw new location_1.NotRoutesFoundForAOR(callee.spec.location.aorLink);
|
86
86
|
}
|
87
87
|
if (!route.headers)
|
88
88
|
route.headers = [];
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@routr/connect",
|
3
|
-
"version": "2.0.5-alpha.
|
3
|
+
"version": "2.0.5-alpha.17",
|
4
4
|
"description": "Default processor",
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
6
6
|
"homepage": "https://github.com/fonoster/routr#readme",
|
@@ -28,9 +28,9 @@
|
|
28
28
|
"@opentelemetry/sdk-trace-base": "^1.0.4",
|
29
29
|
"@opentelemetry/sdk-trace-node": "^1.0.4",
|
30
30
|
"@opentelemetry/semantic-conventions": "^1.0.4",
|
31
|
-
"@routr/common": "^2.0.5-alpha.
|
32
|
-
"@routr/location": "^2.0.5-alpha.
|
33
|
-
"@routr/processor": "^2.0.5-alpha.
|
31
|
+
"@routr/common": "^2.0.5-alpha.17",
|
32
|
+
"@routr/location": "^2.0.5-alpha.17",
|
33
|
+
"@routr/processor": "^2.0.5-alpha.17"
|
34
34
|
},
|
35
35
|
"files": [
|
36
36
|
"dist"
|
@@ -45,5 +45,5 @@
|
|
45
45
|
"bugs": {
|
46
46
|
"url": "https://github.com/fonoster/routr/issues"
|
47
47
|
},
|
48
|
-
"gitHead": "
|
48
|
+
"gitHead": "724e4e690f3cdd960ad6660b602a84876fc444dc"
|
49
49
|
}
|