diff --git a/channels/chan_sip.c b/channels/chan_sip.c index bdff0a998a..ea69363719 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -33288,7 +33288,7 @@ static int reload_config(enum channelreloadreason reason) ast_sockaddr_cmp_addr(&bindaddr, &sip_tls_desc.local_address) && ast_sockaddr_cmp_addr(&sip_tcp_desc.local_address, &sip_tls_desc.local_address)) { - add_sip_domain(ast_sockaddr_stringify_addr(&sip_tcp_desc.local_address), + add_sip_domain(ast_sockaddr_stringify_addr(&sip_tls_desc.local_address), SIP_DOMAIN_AUTO, NULL); }