/** * empathy_call_handler_stop_call: * @handler: an #EmpathyCallHandler * * Closes the #EmpathyCallHandler's call and frees its resources. */ void empathy_call_handler_stop_call (EmpathyCallHandler *handler) { EmpathyCallHandlerPriv *priv = GET_PRIV (handler); if (priv->call != NULL) { tp_call_channel_hangup_async (priv->call, TP_CALL_STATE_CHANGE_REASON_USER_REQUESTED, "", "", NULL, NULL); } }
void tf_call_channel_error (TfCallChannel *channel) { tp_call_channel_hangup_async (TP_CALL_CHANNEL (channel->proxy), TP_CALL_STATE_CHANGE_REASON_UNKNOWN, "", "", NULL, NULL); }