sip: fix infinite ringtone loop

by making sure the call-added signal is emitted early enough
so that all consumers (display, ringer, etc) have a chance of getting
notified when the call state changes from f.e. DIALING to DISCONNECTED
similar to how its done in 03d960ccaf
for the dummy provider.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-03-11 23:02:16 +01:00
parent 17ac56fe44
commit 8a6f1bb203
2 changed files with 10 additions and 15 deletions

View File

@@ -140,8 +140,6 @@ hang_up (CallsCall *call)
default:
g_warning ("Hanging up not possible in state %d", self->state);
}
calls_sip_call_set_state (self, CALLS_CALL_STATE_DISCONNECTED);
}
static void