mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
feat, add sip hedaer to sip info hook (#481)
This commit is contained in:
@@ -1676,7 +1676,7 @@ class CallSession extends Emitter {
|
|||||||
res.send(501);
|
res.send(501);
|
||||||
return;
|
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);
|
this.currentTask.performHook(this, this.sipRequestWithinDialogHook, params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user