Skip to content

Fix calls being declined automatically on reception when defining a call timeout#262

Open
fhilleriteau-fdi wants to merge 1 commit into
BelledonneCommunications:release/5.4from
fhilleriteau-fdi:release/5.4
Open

Fix calls being declined automatically on reception when defining a call timeout#262
fhilleriteau-fdi wants to merge 1 commit into
BelledonneCommunications:release/5.4from
fhilleriteau-fdi:release/5.4

Conversation

@fhilleriteau-fdi
Copy link
Copy Markdown

The commit fe504f0e40875e4cc4e729b13422ec277760008d introduced a bug which causes liblinphone to decline every call on reception when a call timeout is configured.

The commit fe504f0e changed the default value of mConnectedTime (Connecting date of the call in seconds as expressed in a time_t) from 0 to -1, but did not apply this change to the condition checking if the call duration should be compared with the call timeout parameter, to stop the call. The condition checks if mConnectedTime has been set by comparing it to its old default value (0) instead of the new one (-1).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant