1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2025-01-06 03:25:31 +00:00

sip: origin: emit message on DNS error

This commit is contained in:
Evangelos Ribeiro Tzaras 2021-02-25 15:07:56 +01:00
parent 3133f25c6b
commit 6681077886

View file

@ -223,6 +223,9 @@ sip_i_state (int status,
NUTAG_CALLSTATE_REF (call_state),
TAG_END ());
if (status == 503) {
CALLS_EMIT_MESSAGE (origin, "DNS error", GTK_MESSAGE_ERROR);
}
/* XXX making some assumptions about the received SDP message here...
* namely: that there is only the session wide connection c= line
* and no individual connections per media stream.