mirror of
https://github.com/jambonz/sbc-inbound.git
synced 2025-12-19 04:37:43 +00:00
proxy all headers in request except Authorization
This commit is contained in:
@@ -56,7 +56,7 @@ class CallSession extends Emitter {
|
||||
const {uas, uac} = await this.srf.createB2BUA(this.req, this.res, uri, {
|
||||
proxy,
|
||||
headers,
|
||||
proxyRequestHeaders: ['all'],
|
||||
proxyRequestHeaders: ['all', '-Authorization', '-Max-Forwards'],
|
||||
proxyResponseHeaders: ['all'],
|
||||
localSdpB: response.sdp,
|
||||
localSdpA: async(sdp, res) => {
|
||||
|
||||
6
package-lock.json
generated
6
package-lock.json
generated
@@ -734,9 +734,9 @@
|
||||
}
|
||||
},
|
||||
"drachtio-srf": {
|
||||
"version": "4.4.25",
|
||||
"resolved": "https://registry.npmjs.org/drachtio-srf/-/drachtio-srf-4.4.25.tgz",
|
||||
"integrity": "sha512-y2RcrSCVlADlmgwas8IKPWUR9SGXySma0cmgZ/Y9VrIzlchyoFagCf86gcRGHGp0eJKQdHLgrjf8zN5D6CuyBA==",
|
||||
"version": "4.4.26",
|
||||
"resolved": "https://registry.npmjs.org/drachtio-srf/-/drachtio-srf-4.4.26.tgz",
|
||||
"integrity": "sha512-viEzAhJ2JenpUstXWvHXGpjZckcyfciadD1fG67JxmyvgDYn6RKNeHk/LPjeJUdRNg5z8yS6Lgx4jCtuBP1DJQ==",
|
||||
"requires": {
|
||||
"async": "^1.4.2",
|
||||
"debug": "^3.1.0",
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
"debug": "^4.1.1",
|
||||
"drachtio-fn-b2b-sugar": "0.0.12",
|
||||
"drachtio-http-authenticator": "^0.1.7",
|
||||
"drachtio-srf": "^4.4.25",
|
||||
"drachtio-srf": "^4.4.26",
|
||||
"jambonz-db-helpers": "^0.1.2",
|
||||
"pino": "^5.14.0",
|
||||
"rtpengine-client": "^0.0.8"
|
||||
|
||||
Reference in New Issue
Block a user