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

Handle occupied remote SAT>IP server #1190

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/satipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ int satipc_reply(sockets *s) {
ad->tp.mtype = QAM_256;
}

if (rc == 404) {
sip->state = SATIP_STATE_OPTIONS;
if (rc == 404 && (strstr((char *)s->buf, "minisatip") != NULL)) {
rc = 503; // Hack the response from minisatip!
}

// quirk for Geniatech EyeTV Netstream 4C when fe=x is in the URL
Expand All @@ -282,7 +282,8 @@ int satipc_reply(sockets *s) {
sip->satip_fe = 0;

if (rc == 454 || rc == 503 || rc == 405) {
sip->state = SATIP_STATE_OPTIONS;
LOG("satipc %d: Ocuppied server, can't use it", s->sid);
sip->state = SATIP_STATE_INACTIVE;
sip->last_setup = -10000;
} else if (rc != 200) {
if (rc != 0) // AVM Fritz!Box workaround sdp reply without header
Expand Down
Loading