[ekiga] SIP: Added logging+use SIP OPTIONS to refresh NAT bindings.



commit 90446c1a618790e04cfee27bc12999adb5af5f57
Author: Damien Sandras <dsandras beip be>
Date:   Sun Jun 10 08:07:06 2012 +0200

    SIP: Added logging+use SIP OPTIONS to refresh NAT bindings.

 lib/engine/components/opal/sip-endpoint.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/components/opal/sip-endpoint.cpp b/lib/engine/components/opal/sip-endpoint.cpp
index fabf78a..4e9c212 100644
--- a/lib/engine/components/opal/sip-endpoint.cpp
+++ b/lib/engine/components/opal/sip-endpoint.cpp
@@ -160,7 +160,7 @@ Opal::Sip::EndPoint::EndPoint (Opal::CallManager & _manager,
   manager.AddRouteEntry("pc:.* = sip:<da>");
 
   /* NAT Binding */
-  SetNATBindingRefreshMethod (SIPEndPoint::EmptyRequest);
+  SetNATBindingRefreshMethod (SIPEndPoint::Options);
 }
 
 
@@ -450,6 +450,7 @@ Opal::Sip::EndPoint::get_outbound_proxy () const
 void
 Opal::Sip::EndPoint::set_nat_binding_delay (unsigned delay)
 {
+  PTRACE (3, "Ekiga\tNat binding delay set to " << delay);
   if (delay > 0)
     SetNATBindingTimeout (PTimeInterval (0, delay));
 }



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