diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/call.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1476,15 +1476,15 @@ static void sipsess_progr_handler(const struct sip_msg *msg, void *arg) break; } - if (media) - call_event_handler(call, CALL_EVENT_PROGRESS, call->peer_uri); - else - call_event_handler(call, CALL_EVENT_RINGING, call->peer_uri); - call_stream_stop(call); if (media) call_stream_start(call, false); + + if (media) + call_event_handler(call, CALL_EVENT_PROGRESS, call->peer_uri); + else + call_event_handler(call, CALL_EVENT_RINGING, call->peer_uri); } |