<extension name="echo_DZ">
<condition field="${destination_number}" expression="^(?:\+|00)(\d+)$">
<action application="log" data="Call Received with Call-ID: ${sip_call_id}"/>
<action application="log" data="Call Received with Call-ID: <${sip_call_id}>"/>
<action application="answer"/>
<action application="echo" data=""/>
</condition>
Please install latest sipp (>3.7.3)
wget https://github.com/SIPp/sipp/releases/download/v3.7.3/sipp
chmor +x sipp
mv sipp /usr/bin/sipp
use the following sipp scenario file
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
Enable CRB
dnf config-manager --set-enabled crb
Enable Epel Repo for Rocky 8
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf install https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-8.noarch.rpm
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
#!/usr/bin/env python3.11 | |
# -*- coding: utf-8 -*- | |
"""Converts viscosity export files into an open vpn package | |
Usage: viscosity-to-openvpn.py <input> <output> | |
""" | |
import io | |
import os | |
import sys | |
import tarfile |
Download and install the Latest heplify release
wget https://github.com/sipcapture/heplify/releases/latest/download/heplify
chmod +x heplify
mv heplify /usr/bin/heplify
Create service file for heplify
cat > /etc/systemd/system/heplify.service <<EOF
[Unit]
DEFAULT values
sysctl -a | grep "net.ipv4.ip_forward \|net.ipv6.conf.all.forwarding\|net.ipv4.conf.all.accept_redirects\|net.ipv4.conf.all.send_redirects"
net.ipv4.conf.all.accept_redirects = 1
net.ipv4.conf.all.send_redirects = 1
net.ipv4.ip_forward = 0
net.ipv6.conf.all.accept_redirects = 1
Install fail2ban
apt install fail2ban
create the following file
vim /etc/fail2ban/jail.d/freeswitch.local
copy the foolowing content in file freeswitch.local
Create file in site-available folder
vim /etc/nginx/sites-available/backendservice.conf
and past ethe following line in it
server {
client_max_body_size 100M;
server_name PUB_API;
listen 3555 ssl;
NewerOlder