Evangelos Ribeiro Tzaras
18173f067f
sip-provider: Use STR_IS_NULL_OR_EMPTY macro
2023-01-26 12:03:39 +00:00
Evangelos Ribeiro Tzaras
204772abbd
sip-provider: Sort includes
...
We want the configuration to be included first
2023-01-26 12:03:39 +00:00
Evangelos Ribeiro Tzaras
bb6b76107c
build: Rename util.{c,h} to calls-util.{c,h}
...
"util" is a very generic name. This guards against accidentally
including similarly named headers from elsewhere.
2023-01-22 07:33:02 +00:00
Evangelos Ribeiro Tzaras
8d15f46b3f
sip-pipeline: Only use gstreamer debugging if option is set
...
Fixes build issues when gstreamer has not been compiled with debugging
enabled.
Fixes : #533
2022-12-22 15:08:18 +00:00
Evangelos Ribeiro Tzaras
f997048a38
build: Rename config.h to calls-config.h
...
This guards against accidentally including configuration from elsewhere.
2022-12-22 15:08:18 +00:00
Julian Sparber
270d145b65
tests: Use CALLS_PLUGIN_DIR to search for plugins in the build dir
...
There is no need to add a second variable to search for plugins, we can
use CALLS_PLUGIN_DIR directly.
2022-12-03 12:32:29 +01:00
Julian Sparber
baeae94c2e
meson: Don't set G_TEST_*
...
Those env variables aren't needed.
2022-12-03 12:32:29 +01:00
Julian Sparber
7537e37d3b
tests: Fix sdp-crypto test for flatpak
...
Debian patches sofia-sip therefore the test worked outside of flatpak.
See: 4df0ebb90a
2022-12-03 12:32:29 +01:00
Дилян Палаузов
dee7e1b9ae
provider/sip: on_origin_pw_looked_up() display_name is read twice
2022-11-20 12:51:23 +00:00
Дилян Палаузов
90228e968c
SIP dial() convert the port from int to string
2022-11-18 13:48:55 +00:00
Evangelos Ribeiro Tzaras
662befeb48
mm-provider: Cancel ongoing operations
...
both when MM has appeared on DBus and
when disposing of the provider.
2022-11-08 13:40:37 +00:00
Evangelos Ribeiro Tzaras
9d63f8961c
sip-origin: Honour set port when completing address
...
This makes sure to include the port when dialing the short form.
Fixes : #506
2022-11-04 10:00:02 +00:00
Evangelos Ribeiro Tzaras
563ceb770c
media-pipeline: Dump dot graph without GST_DEBUG_DUMP_DOT_DIR set
...
gst_debug_bin_to_dot_file() NOOPs if GStreamer was initialized without
the enviroment variable GST_DEBUG_DUMP_DOT_DIR.
If SIGUSR2 was signalled we want to have a dot file dumped no matter
what. Functions for asynchronously writing the graph as obtained by
gst_debug_bin_dot_data() to a temporary file and print the path to
stdout.
Note: Usage of GST_DEBUG_BIN_DOT_FILE() on pipeline state change is left
as is, because we don't want to dump graphs for every change on every
pipeline.
2022-11-01 12:25:43 +00:00
Evangelos Ribeiro Tzaras
9dd3066649
sip: media-manager: Simplify SDP generation
...
Use the newly added get_address_family().
2022-11-01 11:04:35 +00:00
Evangelos Ribeiro Tzaras
8cdd017c2f
Revert "Disable g722 to avoid test failure with ffmpeg 5.0/gst-libav"
...
This reverts commit 857c375ab9
.
The failure to register types due to invalid type names seems to be
resolved, so let's revert to reenable g722 codecs.
2022-10-12 23:18:13 +02:00
Evangelos Ribeiro Tzaras
2a5e96cda2
media-pipeline: Bind to the unspecified IPv6 address
...
IPv4 keeps working through the magic of IPv4 mapped IPv6 addresses.
Without this change errors about invalid address family will be raised
when trying to connect to a IPv6 host.
Bail out! CallsSipMediaPipeline-FATAL-WARNING: Error on the message bus: Could not get/set settings from/on resource. (../gst/udp/gstmultiudpsink.c(1228): gst_multiudpsink_configure_client (): /GstPipeline:media-pipeline/GstUDPSink:rtcp-udp-sink:
Invalid address family (got 10))
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019292
2022-10-12 20:35:40 +00:00
Evangelos Ribeiro Tzaras
f2a22d0c02
meson: Sort sources alphabetically
2022-09-21 12:40:31 +02:00
Evangelos Ribeiro Tzaras
39c182ffca
i18n: mm-call: Clarify "transfer" and "deflect"
...
Closes : #499
2022-09-17 09:11:12 +02:00
Evangelos Ribeiro Tzaras
f44e8025c9
mm-provider: Don't leak MMManager
2022-09-03 18:26:55 +02:00
Evangelos Ribeiro Tzaras
d0c4374a0b
mm-provider: Prefer g_clear_*() in dispose() and finalize()
2022-09-03 18:26:55 +02:00
Evangelos Ribeiro Tzaras
a4f845206e
mm-provider: Remove unused variable
2022-09-03 18:26:55 +02:00
Evangelos Ribeiro Tzaras
adb1cdb18a
ofono-provider: Don't g_error() without good reason
...
Use g_warning() for things are not fatal.
Closes : #4
2022-09-03 08:40:56 +00:00
Evangelos Ribeiro Tzaras
1016505357
mm-provider: Avoid using g_error()
...
First steps in closing #4 .
2022-09-03 08:40:56 +00:00
Evangelos Ribeiro Tzaras
e7c3775f42
mm-provider: Don't leak error
2022-09-03 08:40:56 +00:00
Evangelos Ribeiro Tzaras
b543d61f3b
ofono-provider: Add TODO about preferring async functions
2022-09-03 08:40:56 +00:00
Evangelos Ribeiro Tzaras
4b99660e3f
mm: call: Check call direction when mapping waiting state
...
MM_CALL_STATE_WAITING may also be used on outgoing calls,
so we need to check the call direction.
Fixes #465
2022-09-01 17:48:02 +02:00
Evangelos Ribeiro Tzaras
a4c4687208
sip: origin: Actually set "auto-connect" property
...
Closes : #466
Fixes ef56c8f51c
2022-09-01 07:08:23 +00:00
Evangelos Ribeiro Tzaras
92e7b962cc
plugins.in: Add package version and update copyright
2022-08-19 08:43:57 +00:00
Evangelos Ribeiro Tzaras
11ba83c16e
Move plugin specific tests into dedicated directory
...
This will prove beneficial when we also add tests for the policy engine
plugins. The increased locality is also nice to have.
2022-08-19 08:43:57 +00:00
Evangelos Ribeiro Tzaras
86a8f3ae22
Move provider plugins into a dedicated directory
...
Since we will introduce another type of plugin for the policy engine
we want to have each plugin type in separate directories.
We also have to adjust:
- plugin search directories
- po file location
- update paths for calls-doc target
2022-08-19 08:43:57 +00:00