diff --git a/sflphone-gtk/src/actions.c b/sflphone-gtk/src/actions.c
index 9dd317901c5b6080082763f4fae1bd6b99fa9df3..74652e67c8245b0c01fdc8ff663c745ba0c7cf3f 100644
--- a/sflphone-gtk/src/actions.c
+++ b/sflphone-gtk/src/actions.c
@@ -677,7 +677,17 @@ sflphone_place_call ( call_t * c )
     
         else
         {
-            account_t * current = account_list_get_current();
+            account_t * current;
+
+            if(c->accountID != 0)
+                current = account_list_get_by_id(c->accountID);
+            else
+                current = account_list_get_current();
+
+            // printf("sflphone_place_call :: c->accountID : %i \n",c->accountID);
+
+            // account_t * current = c->accountID;
+
             if( current )
             {
 	            if(g_strcasecmp(g_hash_table_lookup( current->properties, "Status"),"REGISTERED")==0)
diff --git a/sflphone-gtk/src/calltree.c b/sflphone-gtk/src/calltree.c
index 9b56a004f7abb92acc019f3d55b6b783adbe1809..591f276ca0a91642aaf6cc3b18536017da73983f 100644
--- a/sflphone-gtk/src/calltree.c
+++ b/sflphone-gtk/src/calltree.c
@@ -37,7 +37,7 @@ GtkToolItem * hangupButton;
 GtkToolItem * holdButton;
 GtkToolItem * transfertButton;
 GtkToolItem * unholdButton;
-GtkToolItem * historyButton;
+// GtkToolItem * historyButton;
 GtkToolItem * mailboxButton;
 GtkToolItem * recButton;
 guint transfertButtonConnId; //The button toggled signal connection ID
@@ -395,6 +395,7 @@ void  row_activated(GtkTreeView       *tree_view UNUSED,
 	  break;
       }
     }
+    // if history
     else
     {
       newCall = g_new0( call_t, 1 );
@@ -405,7 +406,8 @@ void  row_activated(GtkTreeView       *tree_view UNUSED,
       g_sprintf(newCall->callID, "%d", rand()); 
       newCall->_start = 0;
       newCall->_stop = 0;
-
+      printf("call : account : %s \n", selectedCall->accountID);
+      newCall->accountID = selectedCall->accountID;
       printf("call : from : %s to %s\n", newCall->from, newCall->to);
       call_list_add(current_calls, newCall);
       update_call_tree_add(current_calls, newCall);
diff --git a/src/iaxvoiplink.cpp b/src/iaxvoiplink.cpp
index c61cc81f727085b61138db4d3f8f98c63c6811bc..688fd7f37b37ae16e3bd1372922d138694b7fc5f 100644
--- a/src/iaxvoiplink.cpp
+++ b/src/iaxvoiplink.cpp
@@ -222,7 +222,7 @@ IAXVoIPLink::getEvent()
     }
 
     if(call){
-      _debug("Are we recording");
+      // _debug("Are we recording");
         call->recAudio.recData(spkrDataConverted,micData,nbSampleForRec_,nbSampleForRec_);
     }