send invite to registered device with aor from registration

This commit is contained in:
Dave Horton
2020-12-11 14:54:52 -05:00
parent 4a0ed4cdca
commit 3512fb468d
3 changed files with 7 additions and 7 deletions

View File

@@ -80,8 +80,8 @@ class CallSession extends Emitter {
uris = [contact];
}
else {
proxy = this.req.locals.registration.contact;
uris = [destUri];
proxy = this.req.locals.registration.proxy;
uris = [this.req.locals.registration.contact];
}
}
else if (this.req.locals.target === 'forward') {

8
package-lock.json generated
View File

@@ -747,11 +747,11 @@
}
},
"debug": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
"integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
"version": "4.3.1",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
"integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
"requires": {
"ms": "^2.1.1"
"ms": "2.1.2"
}
},
"decamelize": {

View File

@@ -30,7 +30,7 @@
"@jambonz/db-helpers": "^0.4.2",
"@jambonz/rtpengine-utils": "^0.1.7",
"@jambonz/stats-collector": "0.1.4",
"debug": "^4.1.1",
"debug": "^4.3.1",
"drachtio-fn-b2b-sugar": "^0.0.12",
"drachtio-srf": "^4.4.44",
"jambonz-mw-registrar": "^0.1.3",