feat, add sip hedaer to sip info hook (#481)

This commit is contained in:
Hoan Luu Huu
2023-10-12 20:10:26 +07:00
committed by GitHub
parent 2285ec5329
commit 4ffa9f915b

View File

@@ -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);
}