diff --git a/sflphone-gtk/src/dbus.c b/sflphone-gtk/src/dbus.c
index 33e9063a75e58898641d768a7c1b127bdc58a78b..fcc40fa928585415438cb605e4f1ea48d1ef481d 100644
--- a/sflphone-gtk/src/dbus.c
+++ b/sflphone-gtk/src/dbus.c
@@ -458,7 +458,7 @@ dbus_account_details(gchar * accountID)
 }
 
 void
-dbus_send_register ( gchar* accountID , int expire)
+dbus_send_register ( gchar* accountID , const guint expire)
 {
   GError *error = NULL;
   org_sflphone_SFLphone_ConfigurationManager_send_register ( configurationManagerProxy, accountID, expire ,&error);
diff --git a/sflphone-gtk/src/dbus.h b/sflphone-gtk/src/dbus.h
index aa414876c21983242650750f0cf6d137dbbad5e7..d902bd17ebd4273b7bf94bc1af6c9e1df2e9f7ed 100644
--- a/sflphone-gtk/src/dbus.h
+++ b/sflphone-gtk/src/dbus.h
@@ -111,7 +111,7 @@ void dbus_set_account_details(account_t *a);
  *		 0 for unregistration request
  *		 1 for registration request
  */
-void dbus_send_register( gchar* accountID , int expire );
+void dbus_send_register( gchar* accountID , const guint expire );
 
 /**
  * ConfigurationManager - Add an account to the list
diff --git a/src/managerimpl.cpp b/src/managerimpl.cpp
index 5882c7ae41faa455ce9ee01fcb9ff970f070cfce..29a641ff5f49a4350a950ad71a69478be3a68e4f 100644
--- a/src/managerimpl.cpp
+++ b/src/managerimpl.cpp
@@ -1877,7 +1877,7 @@ ManagerImpl::setAccountDetails( const ::DBus::String& accountID,
 }
 
 void
-ManagerImpl::sendRegister( const ::DBus::String& accountID , bool expire )
+ManagerImpl::sendRegister( const ::DBus::String& accountID , const DBus::Int32& expire )
 {
   // Update the active field
   setConfig( accountID, CONFIG_ACCOUNT_ENABLE, expire );
diff --git a/src/managerimpl.h b/src/managerimpl.h
index c26a62fe8925ae4696d5c005d9d22c6b18755477..5fa813b9061597a4a26c99ca63f99cab681ff783 100644
--- a/src/managerimpl.h
+++ b/src/managerimpl.h
@@ -292,7 +292,7 @@ class ManagerImpl {
      *		 0 for unregistration request
      *		 1 for registration request
      */
-    void sendRegister( const ::DBus::String& accountId , bool expire );
+    void sendRegister( const ::DBus::String& accountId , const DBus::Int32& expire );
 
     bool getZeroconf(const std::string& sequenceId);
     bool attachZeroconfEvents(const std::string& sequenceId, Pattern::Observer& observer);