diff --git a/plugins/sip/calls-sip-origin.c b/plugins/sip/calls-sip-origin.c index d3b0f6e..744acb3 100644 --- a/plugins/sip/calls-sip-origin.c +++ b/plugins/sip/calls-sip-origin.c @@ -323,7 +323,10 @@ update_nua (CallsSipOrigin *self) g_autofree char *from_str = NULL; g_assert (CALLS_IS_SIP_ORIGIN (self)); - g_assert (self->nua); + if (!self->nua) { + g_warning ("Cannot update nua stack, aborting"); + return; + } self->protocol_prefix = get_protocol_prefix (self->transport_protocol);