mirror of
https://github.com/jambonz/jambonz-infrastructure.git
synced 2026-10-30 07:54:11 +00:00
sbc-rtp updates
This commit is contained in:
1 parent
8f8924bbeb
commit
0d9721cc87
2 files changed
+17
-55
No files matched your search
@@ -1,22 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: drachtio-sbc-sip-conf
|
||||
data:
|
||||
drachtio.conf.xml: |
|
||||
<drachtio>
|
||||
|
||||
<!-- udp port to listen on for client connections and shared secret used to authenticate clients -->
|
||||
<admin port="9023" secret="cymru">0.0.0.0</admin>
|
||||
<sip>
|
||||
<contact>sip:*:5064;transport=udp</contact>
|
||||
<udp-mtu>4096</udp-mtu>
|
||||
</sip>
|
||||
<cdrs>false</cdrs>
|
||||
|
||||
<logging>
|
||||
<sofia-loglevel>3</sofia-loglevel>
|
||||
<loglevel>info</loglevel>
|
||||
</logging>
|
||||
|
||||
</drachtio>
|
||||
@@ -14,41 +14,25 @@ spec:
|
||||
app: drachtio-sbc-rtp
|
||||
spec:
|
||||
nodeSelector:
|
||||
eks.amazonaws.com/nodegroup: sbc-node-group
|
||||
voip-environment: edge
|
||||
hostNetwork: true
|
||||
tolerations:
|
||||
- key: "voip-edge"
|
||||
operator: "Exists"
|
||||
effect: "NoSchedule"
|
||||
containers:
|
||||
- name: drachtio
|
||||
image: drachtio/drachtio-server:0.8.12
|
||||
ports:
|
||||
- containerPort: 9023
|
||||
protocol: TCP
|
||||
- containerPort: 5064
|
||||
protocol: UDP
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /etc/drachtio.conf.xml
|
||||
name: drachtio-sbc-rtp-conf
|
||||
subPath: drachtio.conf.xml
|
||||
- name: sbc-rtpengine-sidecar
|
||||
image: jambonz/sbc-rtpengine-sidecar:latest
|
||||
env:
|
||||
- name: NODE_ENV
|
||||
value: production
|
||||
- name: RTPENGINE_DTMF_LOG_PORT
|
||||
value: 22223
|
||||
- name: JAMBONES_CLUSTER_ID
|
||||
value: jb
|
||||
- name: JAMBONES_REDIS_HOST
|
||||
value: redis
|
||||
- name: JAMBONES_REDIS_PORT
|
||||
value: "6379"
|
||||
- name: ENABLE_METRICS
|
||||
value: "0"
|
||||
args: ['drachtio', '--contact', 'sip:*:5064;transport=udp,tcp', '--port', '9023']
|
||||
- name: rtpengine-sidecar
|
||||
image: jambonz/rtpengine-sidecar:latest
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: jambonz
|
||||
- name: rtpengine
|
||||
image: jambonz/rtpengine:latest
|
||||
args: ['rtpengine']
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: jambonz
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: drachtio-sbc-rtp-conf
|
||||
configMap:
|
||||
name: drachtio-sbc-rtp-conf
|
||||
items:
|
||||
- key: drachtio.conf.xml
|
||||
path: drachtio.conf.xml
|
||||
Reference in new issue
Block a user