1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-14 08:27:36 +00:00
Purism-Calls/plugins/sip
Evangelos Ribeiro Tzaras 8b126484cb sip: Use per origin IP instead of a global IP
Sofia detects a NAT by presence of the "received" parameter in the Via header in
the response to a REGISTER. Sofia will then update the Contact header to use the
IP as reported by the registrar.

The "received" parameter MUST be included in the response according to
https://datatracker.ietf.org/doc/html/rfc3261#section-18.2.1
when the registrar detects a difference between the domain part of the top Via
header and the packet source address but practice has shown that this will not
always be the case.

Addditionally this change allows us to have origins bound to different network
interfaces which would be useful when a registrar can only be accessed through a
VPN.

This also fixes an issue with SDP introduced in
36880c3d34 which was only seen on some SIP
providers:

The session name ("s=") line is not relevant for establishing a connection,
the connection data (c=") line is.

See https://datatracker.ietf.org/doc/html/rfc4566 section 5.3 and 5.7
2022-01-08 21:25:09 +00:00
..
calls-sip-account-widget.c sip-account-widget: Add switch to specify account can handle tel URI 2021-12-26 17:45:12 +01:00
calls-sip-account-widget.h sip: Introduce CallsSipAccountWidget 2021-07-20 10:17:17 +02:00
calls-sip-call.c sip: Use per origin IP instead of a global IP 2022-01-08 21:25:09 +00:00
calls-sip-call.h sip: Use per origin IP instead of a global IP 2022-01-08 21:25:09 +00:00
calls-sip-enums.c.in sip: sipify provider with sofia 2021-04-03 00:08:31 +02:00
calls-sip-enums.h.in sip: sipify provider with sofia 2021-04-03 00:08:31 +02:00
calls-sip-media-manager.c sip: Use per origin IP instead of a global IP 2022-01-08 21:25:09 +00:00
calls-sip-media-manager.h sip: Use per origin IP instead of a global IP 2022-01-08 21:25:09 +00:00
calls-sip-media-pipeline.c sip: Avoid g_error for non-fatal issues 2021-08-26 12:23:19 +02:00
calls-sip-media-pipeline.h sip: Add media manager and sipify origin 2021-04-03 00:08:31 +02:00
calls-sip-origin.c sip: Use per origin IP instead of a global IP 2022-01-08 21:25:09 +00:00
calls-sip-origin.h sip: origin: Add property tracking usage for tel URIs 2021-12-26 17:45:12 +01:00
calls-sip-provider.c sip: origin: Add property tracking usage for tel URIs 2021-12-26 17:45:12 +01:00
calls-sip-provider.h sip: origin: Add property tracking usage for tel URIs 2021-12-26 17:45:12 +01:00
calls-sip-util.c Various codestyle fixes 2021-07-20 10:17:17 +02:00
calls-sip-util.h Various codestyle fixes 2021-07-20 10:17:17 +02:00
gst-rfc3551.c media-codecs: Clarify that codec availability should be checked before use 2021-12-21 15:05:47 +01:00
gst-rfc3551.h media-codecs: Add codec availability check to public API 2021-12-21 15:05:47 +01:00
meson.build sip: provider: Use the secret store to store credentials 2021-07-20 10:17:17 +02:00
sip-account-widget.ui sip-account-widget: Add switch to specify account can handle tel URI 2021-12-26 17:45:12 +01:00
sip.gresources.xml sip: Introduce CallsSipAccountWidget 2021-07-20 10:17:17 +02:00
sip.plugin.in sip: Initial provider 2021-04-03 00:08:31 +02:00