diff --git a/plugins/sip/calls-sip-origin.c b/plugins/sip/calls-sip-origin.c index 2a8cf54..7f547fe 100644 --- a/plugins/sip/calls-sip-origin.c +++ b/plugins/sip/calls-sip-origin.c @@ -226,7 +226,7 @@ add_call (CallsSipOrigin *self, if (g_strv_length (address_split) >=2 && g_strcmp0 (address_split[2], self->host) == 0) - call_address = address_split[2]; + call_address = address_split[1]; } sip_call = calls_sip_call_new (call_address, inbound, handle);