diff --git a/lib/session/call-session.js b/lib/session/call-session.js index 48ca3eb5..fb6d9980 100644 --- a/lib/session/call-session.js +++ b/lib/session/call-session.js @@ -1676,7 +1676,7 @@ class CallSession extends Emitter { res.send(501); return; } - const params = {sip_method, sip_body: req.body}; + const params = {sip_method, sip_body: req.body, sip_headers: req.headers}; this.currentTask.performHook(this, this.sipRequestWithinDialogHook, params); }