1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-09-29 23:35:26 +00:00

sip-origin: Only use NUTAG_URL for the sip case (not sips)

When configured to use sips (TLS) we don't want to listen for
unencrypted traffic.

Fixes: #454
This commit is contained in:
Evangelos Ribeiro Tzaras 2023-05-03 10:01:18 +02:00
parent d28831dd14
commit 0106f43715

View file

@ -1006,7 +1006,7 @@ setup_nua (CallsSipOrigin *self)
sip_callback,
self,
NUTAG_USER_AGENT (APP_DATA_NAME),
NUTAG_URL (sip_url),
TAG_IF (!use_sips, NUTAG_URL (sip_url)),
TAG_IF (use_sips, NUTAG_SIPS_URL (sips_url)),
SIPTAG_FROM_STR (from_str),
NUTAG_ALLOW ("INVITE, ACK, BYE, CANCEL, OPTIONS, UPDATE"),