Update sip_decline.js

This commit is contained in:
Sam Machin
2026-02-20 17:01:55 +00:00
parent 1c724c00ee
commit e7aa0968b4

View File

@@ -17,7 +17,7 @@ class TaskSipDecline extends Task {
async exec(cs, {res}) {
super.exec(cs);
res.send(this.data.status, this.data.reason, {
headers: {'X-Verb': 'SIP Decline', ...this.headers}
headers: {'X-Reason': 'SIP Decline Verb', ...this.headers}
}, (err) => {
if (!err) {
// Call was successfully declined