murano-apps/Clearwater/package/Classes/components/Bono.yaml

58 lines
1.6 KiB
YAML

# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
Namespaces:
=: com.mirantis.clearwater.components
base: com.mirantis.clearwater.components.base
Name: Bono
Extends: base:ClearwaterComponentBase
Methods:
getSecurityRules:
Body:
- $rules:
# STUN/TURN
- FromPort: 3478
ToPort: 3478
IpProtocol: tcp
External: true
- FromPort: 3478
ToPort: 3478
IpProtocol: udp
External: true
# Internal SIP
- FromPort: 5058
ToPort: 5058
IpProtocol: tcp
External: false
# External SIP
- FromPort: 5060
ToPort: 5060
IpProtocol: tcp
External: true
- FromPort: 5060
ToPort: 5060
IpProtocol: udp
External: true
# External SIP/WebSocket
- IpProtocol: tcp
ToPort: 5062
FromPort: 5062
External: true
# RTP
- IpProtocol: udp
FromPort: 32768
ToPort: 65535
External: true
- Return: $rules