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

Add support for outbound OPTIONS ping from carrier trunk #362

Open
davehorton opened this issue Dec 12, 2023 · 3 comments
Open

Add support for outbound OPTIONS ping from carrier trunk #362

davehorton opened this issue Dec 12, 2023 · 3 comments

Comments

@davehorton
Copy link
Contributor

We should have an option for outbound gateways to send OPTIONS pings to the remote gateway. This of course is only valid for sip gateways that are outbound. There should be a checkbox for each outbound gateway in the webapp labeled "send OPTIONS ping". If checked, the system (sbc-sip-sidecar) should send an OPTIONS ping every 60 seconds (this should be an env var) to the gateway. If the gateway fails to respond, or responds with a non-success response, the corresponding sip gateway should be set to inactive (we can leverage the is_active column that already exists in the database). When a gateway transitions from active to inactive due to a failure of an OPTIONS ping we should write an alert

@Megamuch
Copy link

I would like to add that a single failure might be too strict for disabling the gateway. I would keep a minimum of 5 missed pings so you really know it is down.

Another thing to think about is recovery. What happens is the gateway goes down for 1 hour and comes back up. Do we require a manual intervention into jambonz to re-activate the gateway?

@vdharashive
Copy link

@xquanluu and @davehorton can this feature be completed , its useful feature to keep the trunk up

@davehorton
Copy link
Contributor Author

yes, this requires database changes so we deferred it to 0.8.6 which we will start shortly

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

No branches or pull requests

3 participants