mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-07 12:25:31 +00:00
sip: origin: emit message on DNS error
This commit is contained in:
parent
3133f25c6b
commit
6681077886
1 changed files with 3 additions and 0 deletions
|
@ -223,6 +223,9 @@ sip_i_state (int status,
|
||||||
NUTAG_CALLSTATE_REF (call_state),
|
NUTAG_CALLSTATE_REF (call_state),
|
||||||
TAG_END ());
|
TAG_END ());
|
||||||
|
|
||||||
|
if (status == 503) {
|
||||||
|
CALLS_EMIT_MESSAGE (origin, "DNS error", GTK_MESSAGE_ERROR);
|
||||||
|
}
|
||||||
/* XXX making some assumptions about the received SDP message here...
|
/* XXX making some assumptions about the received SDP message here...
|
||||||
* namely: that there is only the session wide connection c= line
|
* namely: that there is only the session wide connection c= line
|
||||||
* and no individual connections per media stream.
|
* and no individual connections per media stream.
|
||||||
|
|
Loading…
Reference in a new issue