diff --git a/daemon/src/call.h b/daemon/src/call.h
index 6457929c379d8974af4bd6f75af0787e50cef0b2..d05daef07ff9b5a83b03597ec4a4137b9f063485 100644
--- a/daemon/src/call.h
+++ b/daemon/src/call.h
@@ -97,11 +97,11 @@ class Call: public Recordable
              * Return a reference on the conference id
              * @return call id
              */
-        const std::string& getConfId() const {
+        std::string getConfId() const {
             return _confID;
         }
 
-        void setConfId (std::string id) {
+        void setConfId (const std::string &id) {
             _confID = id;
         }