diff --git a/src/ringdht/ringaccount.h b/src/ringdht/ringaccount.h
index 6eb828d15784de6695b7048fa59a7b31c749fd76..e930a3247fe1ebb62db43b2dde12ab139951187b 100644
--- a/src/ringdht/ringaccount.h
+++ b/src/ringdht/ringaccount.h
@@ -228,9 +228,15 @@ class RingAccount : public SIPAccountBase {
          *      The type of this instance is given in template argument.
          *      This type can be any base class of SIPCall class (included).
          */
-        template <class T=SIPCall>
-        std::shared_ptr<enable_if_base_of<T, SIPCall> >
-        newOutgoingCall(const std::string& toUrl);
+#ifndef RING_UWP
+        template <class T=SIPCall>
+        std::shared_ptr<enable_if_base_of<T, SIPCall> >
+        newOutgoingCall(const std::string& toUrl);
+#else
+        template <class T>
+        std::shared_ptr<T>
+        newOutgoingCall(const std::string& toUrl);
+#endif
 
         /**
          * Create incoming SIPCall.