mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
bugfix: sip:refer would not finish if caller hungup before refer got final notify
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user