mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 00:41:41 +00:00
dont destroy handle when subs are inside a call's dialog
This commit is contained in:
parent
d7a9c18865
commit
228f9772d7
@ -4072,7 +4072,9 @@ void sofia_presence_handle_sip_i_subscribe(int status,
|
|||||||
nua_respond(nh, 481, "INVALID SUBSCRIPTION", TAG_END());
|
nua_respond(nh, 481, "INVALID SUBSCRIPTION", TAG_END());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!sofia_private || !sofia_private->is_call) {
|
||||||
nua_handle_destroy(nh);
|
nua_handle_destroy(nh);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user