sip: origin: Include address in warning when we cannot dial

This allows figuring out which call failed.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-12-21 15:18:03 +01:00
parent 8575adf998
commit cd6917dcf6

View File

@@ -283,8 +283,8 @@ dial (CallsOrigin *origin,
} }
if (calls_account_get_state (CALLS_ACCOUNT (origin)) != CALLS_ACCOUNT_ONLINE) { if (calls_account_get_state (CALLS_ACCOUNT (origin)) != CALLS_ACCOUNT_ONLINE) {
g_warning ("Tried dialing on origin '%s', but it's not online", g_warning ("Tried dialing '%s' on origin '%s', but it's not online",
name); address, name);
return; return;
} }