[calls] sip: origin: Include address in warning when we cannot dial



commit cd6917dcf6b4a3f937403774b3aa6354d85ef9ff
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Tue Dec 21 15:18:03 2021 +0100

    sip: origin: Include address in warning when we cannot dial
    
    This allows figuring out which call failed.

 plugins/sip/calls-sip-origin.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/sip/calls-sip-origin.c b/plugins/sip/calls-sip-origin.c
index 7ae88274..43890597 100644
--- a/plugins/sip/calls-sip-origin.c
+++ b/plugins/sip/calls-sip-origin.c
@@ -283,8 +283,8 @@ dial (CallsOrigin *origin,
   }
 
   if (calls_account_get_state (CALLS_ACCOUNT (origin)) != CALLS_ACCOUNT_ONLINE) {
-    g_warning ("Tried dialing on origin '%s', but it's not online",
-               name);
+    g_warning ("Tried dialing '%s' on origin '%s', but it's not online",
+               address, name);
     return;
   }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]