Skip to content
Snippets Groups Projects
Commit 5840e4df authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Restore account selection to make call with

parent 9066b099
Branches
Tags
No related merge requests found
...@@ -373,7 +373,6 @@ sflphone_off_hold () ...@@ -373,7 +373,6 @@ sflphone_off_hold ()
g_print("Currently recording! \n"); g_print("Currently recording! \n");
else else
g_print("Not recording currently \n"); g_print("Not recording currently \n");
} }
...@@ -701,11 +700,13 @@ sflphone_place_call ( call_t * c ) ...@@ -701,11 +700,13 @@ sflphone_place_call ( call_t * c )
{ {
account_t * current; account_t * current;
if(c->accountID != 0) if(g_strcasecmp(c->accountID, "") != 0) {
g_print ("account_list_get_by_id : %s\n", c->accountID);
current = account_list_get_by_id(c->accountID); current = account_list_get_by_id(c->accountID);
else } else {
g_print ("account_list_get_current\n");
current = account_list_get_current(); current = account_list_get_current();
}
// printf("sflphone_place_call :: c->accountID : %i \n",c->accountID); // printf("sflphone_place_call :: c->accountID : %i \n",c->accountID);
// account_t * current = c->accountID; // account_t * current = c->accountID;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment