summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMikhail Zabaluev <mikhail.zabaluev@nokia.com>2011-03-04 19:44:00 +0200
committerMikhail Zabaluev <mikhail.zabaluev@nokia.com>2011-03-04 19:44:00 +0200
commit024ce4dcbfd4b21c076cad79686cc2cb2adf37dd (patch)
treea16d7029c3ce572166fea9dabaf754766c89301d /src
parent2ff3e6a357852c88c09680b3c2fef3c9eea6b5b6 (diff)
Don't default the 'keepalive-interval' parameter to 0 (no keepalives)
There is already support for NUA stack-defined default, we just failed to use it.
Diffstat (limited to 'src')
-rw-r--r--src/sip-connection-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sip-connection-manager.c b/src/sip-connection-manager.c
index 523b3a2..34ca30f 100644
--- a/src/sip-connection-manager.c
+++ b/src/sip-connection-manager.c
@@ -169,7 +169,7 @@ static const TpCMParamSpec tpsip_params[] = {
G_STRUCT_OFFSET (TpsipConnParams, keepalive_mechanism) },
/* Keep-alive interval */
{ "keepalive-interval", DBUS_TYPE_UINT32_AS_STRING, G_TYPE_UINT,
- TP_CONN_MGR_PARAM_FLAG_HAS_DEFAULT, GUINT_TO_POINTER(0),
+ 0, NULL,
G_STRUCT_OFFSET (TpsipConnParams, keepalive_interval) },
/* Use SRV DNS lookup to discover STUN server for media NAT traversal
* (defaults to true unless stun-server is set) */