Skip to content

Commit

Permalink
feat, add sip hedaer to sip info hook
Browse files Browse the repository at this point in the history
  • Loading branch information
xquanluu committed Oct 11, 2023
1 parent 2285ec5 commit 3da4a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/session/call-session.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 3da4a99

Please sign in to comment.