Skip to content

Update inbound.go #369

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update inbound.go #369

wants to merge 1 commit into from

Conversation

skotow
Copy link

@skotow skotow commented May 20, 2025

I found issue when call won't hung-up if did not met Dispatch Rules . Caller will ring forever until decide to hung-up

I found issue when call won't hung-up if did not met Dispatch Rules . Caller will ring forever until decide to hung-up
@skotow skotow requested a review from a team as a code owner May 20, 2025 22:46
@CLAassistant
Copy link

CLAassistant commented May 20, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

codecov bot commented May 20, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 62.36%. Comparing base (0460b40) to head (018a450).
Report is 98 commits behind head on main.

Files with missing lines Patch % Lines
pkg/sip/inbound.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #369      +/-   ##
==========================================
- Coverage   65.25%   62.36%   -2.90%     
==========================================
  Files          51       32      -19     
  Lines        6588     6302     -286     
==========================================
- Hits         4299     3930     -369     
- Misses       1915     1997      +82     
- Partials      374      375       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@skotow
Copy link
Author

skotow commented May 20, 2025

best one set to c.cc.RespondAndDrop(sip.StatusBusyHere, "")

@dennwc
Copy link
Contributor

dennwc commented May 21, 2025

This is intentional, so that we are not answering SIP spam. Automated scanners would (hopefully) think it's not a SIP server if we do not respond with a proper status code.

@skotow
Copy link
Author

skotow commented May 21, 2025 via email

@dennwc
Copy link
Contributor

dennwc commented May 26, 2025

YAML option makes sense. Actually we already have it: HideInboundPort. So let's add it to switch this behavior.

@skotow
Copy link
Author

skotow commented May 27, 2025 via email

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