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_handle_destroy(nh);
|
||||
if (!sofia_private || !sofia_private->is_call) {
|
||||
nua_handle_destroy(nh);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue