[ekiga] Use default value for number of retries during registration



commit 022f2d5120e2926593d21c23d64e2447558bbb66
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Mon Sep 12 21:25:55 2011 +0200

    Use default value for number of retries during registration
    
    This speeds up registration when packets get lost.

 lib/engine/components/opal/sip-endpoint.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/engine/components/opal/sip-endpoint.cpp b/lib/engine/components/opal/sip-endpoint.cpp
index c892326..e57b9c4 100644
--- a/lib/engine/components/opal/sip-endpoint.cpp
+++ b/lib/engine/components/opal/sip-endpoint.cpp
@@ -506,8 +506,8 @@ Opal::Sip::EndPoint::Register (const std::string username,
   params.m_authID = auth_username;
   params.m_password = password;
   params.m_expire = is_enabled ? timeout : 0;
-  params.m_minRetryTime = 0;
-  params.m_maxRetryTime = 0;
+  params.m_minRetryTime = PMaxTimeInterval;  // use default value
+  params.m_maxRetryTime = PMaxTimeInterval;  // use default value
 
   // Register the given aor to the give registrar
   if (!SIPEndPoint::Register (params, _aor))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]