bugfix: sip:refer would not finish if caller hungup before refer got final notify

This commit is contained in:
Dave Horton
2022-03-02 10:15:40 -05:00
parent fb25389cd1
commit 9908485eb8

View File

@@ -51,6 +51,7 @@ class TaskSipRefer extends Task {
super.kill(cs); super.kill(cs);
const {dlg} = cs; const {dlg} = cs;
dlg.off('notify', this.notifyHandler); dlg.off('notify', this.notifyHandler);
this.notifyTaskDone();
} }
async _handleNotify(cs, dlg, req, res) { async _handleNotify(cs, dlg, req, res) {