-
-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #252 from fonoster/feat/maxContact-peer-support
Replace "backend" prefix in AORs with "maxContact" for clarity
- Loading branch information
Showing
385 changed files
with
1,150 additions
and
943 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,7 +122,7 @@ Furthermore, an Agent can utilize the custom header X-Connect-Token to transmit | |
{ | ||
"ref": "agent-01", | ||
"aor": "sip:[email protected]", | ||
"aorLink": "backend:voice", | ||
"aorLink": "sip:voice@sip.local", | ||
"domain": "sip.local", | ||
"domainRef": "domain-01", | ||
"allowedMethods": [ "INVITE", "REGISTER"], | ||
|
@@ -245,7 +245,7 @@ Numbers represent virtual numbers that route calls from/to the PSTN via a Trunk. | |
"trunkRef": "trunk-01", | ||
"location": { | ||
"telUrl": "tel:+17066041487", | ||
"aorLink": "backend:conference", | ||
"aorLink": "sip:conference@sip.local", | ||
"sessionAffinityHeader": "X-Room-Id", | ||
"extraHeaders": [{ | ||
"name": "X-Room-Id", | ||
|
@@ -268,7 +268,7 @@ Like Agents, Peers represent SIP endpoints such as Media Servers. Unlike Agents, | |
}, | ||
"spec": { | ||
"username": "asterisk", | ||
"aor": "backend:conference", | ||
"aor": "sip:conference@sip.local", | ||
"contactAddr": "192.168.1.2:6060", | ||
"credentialsRef": "credentials-01", | ||
"loadBalancing": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
## | ||
## Build and pack the service | ||
## | ||
FROM alpine:3.18 as builder | ||
FROM alpine:3.19 as builder | ||
LABEL maintainer="Pedro Sanders <[email protected]>" | ||
|
||
ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk | ||
ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk | ||
WORKDIR /work | ||
|
||
COPY mods/one . | ||
COPY mods/pgdata/schema.prisma . | ||
COPY .scripts/custom-jre.sh . | ||
|
||
RUN apk add --no-cache --update npm nodejs curl git tini python3 make cmake g++ openjdk11-jdk \ | ||
RUN apk add --no-cache --update npm nodejs curl git tini python3 make cmake g++ openjdk17-jdk \ | ||
&& sh custom-jre.sh \ | ||
&& npm install --omit=dev \ | ||
&& mv schema.prisma node_modules/@routr/pgdata/ \ | ||
|
@@ -23,7 +23,7 @@ RUN apk add --no-cache --update npm nodejs curl git tini python3 make cmake g++ | |
## | ||
## Runner | ||
## | ||
FROM alpine:3.18 as runner | ||
FROM alpine:3.19 as runner | ||
|
||
ARG PKCS_PASSWORD=changeme | ||
ARG POSTGRES_USER=postgres | ||
|
@@ -42,8 +42,7 @@ ENV PKCS_PASSWORD=$PKCS_PASSWORD \ | |
CA_CERT_SUBJECT=$CA_CERT_SUBJECT \ | ||
SERVER_CERT_SUBJECT=$SERVER_CERT_SUBJECT \ | ||
DATABASE_URL=postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5432/routr \ | ||
IGNORE_LOOPBACK_FROM_LOCALNETS=true \ | ||
LOG4J2=/etc/routr/log4j2.yaml | ||
IGNORE_LOOPBACK_FROM_LOCALNETS=true | ||
|
||
WORKDIR /service | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.