chrta/sip_call

The ring duration is too long

Closed this issue · 0 comments

The value of RING_DURATION is not handled correctly.
The timeout in milliseconds has to be devided by portTICK_PERIOD_MS to get a timeout in ticks.

static constexpr uint32_t RING_DURATION_TICKS = RING_DURATION_TIMEOUT_MSEC / portTICK_PERIOD_MS;

static constexpr uint32_t RING_DURATION_TICKS = RING_DURATION_TIMEOUT_MSEC * portTICK_PERIOD_MS;