openwrt / openwrt/telephony

siproxd: Service should restart when wan (outbound) interface goes up/down

Open
#855 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
133
Forks
327
PR merge metrics
No merged PRs in 30d

Description

I am using the stun plugin. On startup, siproxd tries to resolve the stun server address, this fails because my PPP connection takes some seconds to come up. When then outboung interface gets ready, siproxd should be restarted as other services also do.

Possible solution:
https://github.com/openwrt/telephony/blob/master/net/rtpproxy/files/rtpproxy.hotplug

Notify maintainer: @guidosarducci

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the referenced rtpproxy.hotplug file to understand how interface changes trigger service restarts, then locate the siproxd package entry point that should receive the equivalent handling. Verify that siproxd restarts when the WAN/outbound interface goes up or down and that the STUN server can be resolved after the PPP connection becomes available.

Written by the indexing model from the issue text.

Assessment

Domain
networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.