Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send DTMF via hidden call #537

Merged
merged 2 commits into from
Sep 23, 2022
Merged

send DTMF via hidden call #537

merged 2 commits into from
Sep 23, 2022

Conversation

cspiel1
Copy link
Collaborator

@cspiel1 cspiel1 commented Sep 20, 2022

Adds a function telev_is_empty() to query if DTMF characters have been sent out completely.

@@ -341,6 +341,12 @@ int telev_poll(struct telev *tel, bool *marker, struct mbuf *mb)
}


bool telev_is_empty(struct telev *tel)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

input parameter can be const

please check for a valid tel pointer. If tel is NULL then return false

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe better should return true if tel is NULL.

@cspiel1 cspiel1 marked this pull request as ready for review September 21, 2022 08:41
@sreimers sreimers merged commit 8ee6930 into baresip:main Sep 23, 2022
@cspiel1 cspiel1 deleted the call_hidden_flag branch September 26, 2022 07:02
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.

3 participants