Miscellany
public text v1 · immutable switch (priv->keepalive_mechanism)
{
case SIP_CONNECTION_KEEPALIVE_NONE:
case SIP_CONNECTION_KEEPALIVE_REGISTER:
/* For REGISTER keepalives, we use NUTAG_M_FEATURES */
g_hash_table_insert (option_table,
g_strdup ("options-keepalive"),
GINT_TO_POINTER(FALSE));
break;
case SIP_CONNECTION_KEEPALIVE_OPTIONS:
g_hash_table_insert (option_table,
g_strdup ("options-keepalive"),
GINT_TO_POINTER(TRUE));
break;