Evangelos Ribeiro Tzaras
432c7fd0d2
network-watch: Don't fail initialization when unable to fetch local IP
...
This would mean we're failing when Calls is started with all NICs not connected
or disabled. To make matters worse this would only be fixable by restarting
Calls.
(cherry picked from commit b5defda27f
)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
d55b737fb9
network-watch: Only g_set_error if error is not NULL
...
(cherry picked from commit ab20b6b8e3
)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
0380bc08eb
network-watch: More descriptive warning
...
And make sure we're not continually spamming warnings.
Closes #330
(cherry picked from commit 4fc0a52873
)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
ef7248d60c
best-match: Don't free unowned data
...
Fixes #331
(cherry picked from commit 9d27d5bae6
)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
46ddc22822
best-match: codestyle
...
(cherry picked from commit d9e5c6a252
)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
ef84973a22
number-query: Take country code into account
...
Fixes #312
(cherry picked from commit bd045be4e4
)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
6c4d433191
contact-box: Do not hardcode length of match_fields[]
...
(cherry picked from commit d936a4572d
)
2021-10-22 05:26:00 +02:00
Jiri Groenroos
bfbfcbd9fe
Update Finnish translation
...
(cherry picked from commit ab4094f2d4
)
2021-10-22 05:26:00 +02:00
Jiri Groenroos
ea7b45d002
Update Finnish translation
...
(cherry picked from commit 1b13615c81
)
2021-10-22 05:26:00 +02:00
Hugo Carvalho
8d70affbf6
Update Portuguese translation
...
(cherry picked from commit de0a1a2006
)
2021-10-22 05:26:00 +02:00
Daniel Șerbănescu
e2ee690988
Update Romanian translation
...
(cherry picked from commit 54bac16d4b
)
2021-10-22 05:26:00 +02:00
Yuri Chornoivan
eee70d4dc7
Update Ukrainian translation
...
(cherry picked from commit 7f10687066
)
2021-10-22 05:26:00 +02:00
Danial Behzadi
19bc5e3822
Update Persian translation
...
(cherry picked from commit 7b59644278
)
2021-10-22 05:26:00 +02:00
Anders Jonsson
b6dc4b05a5
Update Swedish translation
...
(cherry picked from commit 058f7e65a5
)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
54bfb4fc22
sip: sdp: Hang up call when there are no common codecs
...
(cherry picked from commit b6ee0bb48d
)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
0066e41d7a
sip: sdp: Honour per media connections
...
Otherwise we might miss the IP of the remote peer leaving us unable to
establish a connection for RTP.
From https://datatracker.ietf.org/doc/html/rfc4566#section-5.7
A session description MUST contain either at least one "c=" field in
each media description or a single "c=" field at the session level.
It MAY contain a single session-level "c=" field and additional "c="
field(s) per media description, in which case the per-media values
override the session-level settings for the respective media.
(cherry picked from commit 929d76708a
)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
175d2a81cd
sip: Fix possible NULL pointer dereference
...
The assumption that the IP of the remote peer can always be found in the
sdp_connection member of the sdp_session_s struct does not always hold true
and we should handle this case gracefully (i.e. without crashing).
(cherry picked from commit cf3face6cc
)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
2227e99466
sip: origin: Fix memory leak
...
(cherry picked from commit 400281c07e
)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
459d4817be
sip: media: Fix gtk-doc transfer annotation
...
(cherry picked from commit 24040c2122
)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
bfb7e2696a
new-call-box: Clear entry after dialing
...
Closes #332
(cherry picked from commit 528fb11dcd
)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
eed45bd168
record-row: Reword accessible name
...
"party" in "Call the party" could lead to confusion.
Fixes #319
(cherry picked from commit b458f6f040
)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
849e971199
application: Do not prepend country code when dialing
...
Fixes #176
(cherry picked from commit 1a14075945
)
2021-10-22 05:26:00 +02:00
Evangelos Ribeiro Tzaras
f9cafbb6e1
application: Clarify that -l flag is to be used with numbers only
...
This will also help unifying handling of tel: URIs.
(cherry picked from commit 464f3a993e
)
2021-10-22 05:26:00 +02:00
Vittorio Monti
968458a219
po: Update Italian translation
...
(cherry picked from commit b46acbd4ce
)
2021-10-22 05:26:00 +02:00
Dušan Kazik
598f8ff9bf
Update Slovak translation
2021-10-04 09:39:05 +00:00
Dušan Kazik
35648d82d0
Add Slovak translation
2021-10-04 09:33:49 +00:00
Evangelos Ribeiro Tzaras
897a394833
Document and release 41.0
2021-09-18 17:46:02 +02:00
Goran Vidović
0144b5e7f5
Add Croatian translation
2021-09-17 14:33:55 +00:00
Nathan Follens
12c225b01d
Update Dutch translation
2021-09-14 17:16:01 +00:00
Evangelos Ribeiro Tzaras
eca598ed42
meson: Post release bump
2021-09-07 12:28:14 +02:00
Evangelos Ribeiro Tzaras
a5cfd9eb24
sip: origin: Bind sockets to NIC with default route
...
Otherwise sofia may use the wrong interface resulting in unroutable packets.
Closes #317
2021-09-05 18:16:24 +02:00
Evangelos Ribeiro Tzaras
6b33845b11
sip: origin: Do not use CallsNetworkWatch during tests
...
As local testing showed we might get netlink message headers of type
NLMSG_ERROR which leads to a warning being printed and the test to fail.
2021-09-05 18:01:45 +02:00
Evangelos Ribeiro Tzaras
876375a39b
sip: provider: Skip creating credential directory on test
...
As it's not guaranteed that the home directory is always writable
during the build. Debspawn for example does not allow this
and we might get such a warning:
`CallsSipProvider-WARNING **: 21:58:14.839: Failed to create directory '/home/salsaci/.config/calls': 13`
2021-09-03 00:08:05 +02:00
Evangelos Ribeiro Tzaras
72a513c138
Document and release 41.rc
2021-09-02 22:47:21 +02:00
Evangelos Ribeiro Tzaras
56259fd1f1
sip: origin: Destroy registration handle on deinit
...
Otherwise shutting down may be timing out, because there are pending messages.
Calling nua_destroy_handle() will kill any dialog/leg.
2021-09-02 20:13:25 +02:00
Evangelos Ribeiro Tzaras
a3d91d92b5
sip: origin: Handle nua_shutdown() timeout gracefully
...
If we don't handle the timeout explicitly we would never leave the
`while (!self->is_nua_shutdown)` loop.
2021-09-02 20:11:36 +02:00
Evangelos Ribeiro Tzaras
bede9f42e8
sip: origin: Recreate sofia handles on network change
...
Otherwise the origin will not be able to do any communication anymore
as used sockets might not be valid any more.
Fixes #317
2021-09-02 20:08:48 +02:00
Evangelos Ribeiro Tzaras
3714f99d38
Introduce CallsNetworkWatch to notify of network changes
...
The libsofia-sip stack needs to bind to a specific interface when there are
multiple network interfaces available.
Handles should be recreated when the default route changes.
2021-09-02 09:17:12 +02:00
Evangelos Ribeiro Tzaras
2df221c94c
sip: origin: Warn instead of asserting in update_nua() on nua stack
...
Crashing the application is overkill in this case.
2021-09-02 09:12:13 +02:00
Evangelos Ribeiro Tzaras
16897eebe6
sip: origin: Include transport parameter in NUTAG_URL and friends
...
This makes sure all of the supported protocols have a chance of working.
Since nua_set_params does not update NUTAG_URL (carefully rechecking the docs
verifies this), it is safe to remove the code in update_nua().
However, this means that we will have to recreate the nua stack,
which incidentally is currently being worked on:
https://gitlab.gnome.org/GNOME/calls/-/merge_requests/402
2021-09-02 09:12:13 +02:00
Evangelos Ribeiro Tzaras
7330fe11fd
account-widget: Fix apply button not becoming sensitive
...
when only the transport protocol has been changed.
2021-09-02 09:12:13 +02:00
Evangelos Ribeiro Tzaras
42c0872499
origin: Fix the password when updating credentials
...
Updating the credentials was broken otherwise.
2021-09-02 09:12:13 +02:00
Evangelos Ribeiro Tzaras
0bfa55473e
sip: Make save_to_disk() public and use it when updating accounts
...
Account credentials will not get updated at all otherwise.
2021-09-02 09:12:13 +02:00
Evangelos Ribeiro Tzaras
f47139f7d2
account-widget: Actually use the entered port
2021-09-02 09:12:13 +02:00
Evangelos Ribeiro Tzaras
9faac7e789
account-widget: Actually use the selected protocol
...
instead of using the hardcoded UDP value.
2021-09-02 09:12:13 +02:00
Evangelos Ribeiro Tzaras
5371debc57
sip: origin: Bail when trying to go online but nua handle is not present
...
This fixes a segmentation fault.
2021-09-02 09:12:13 +02:00
Danial Behzadi
b8f628740a
Update Persian translation
2021-09-01 13:39:27 +00:00
Quentin PAGÈS
501398ff0b
Add Occitan translation
2021-08-28 21:38:24 +00:00
Andika Triwidada
3083430160
Update Indonesian translation
2021-08-28 02:14:14 +00:00
Evangelos Ribeiro Tzaras
876ffb1e8c
new-call-box: Always update the UI when the list of origins changes
...
Otherwise this can lead to being stuck in numeric/non-numeric input mode.
2021-08-26 12:47:57 +00:00