diff --git a/cloudformation/jambonz-mini.yaml b/cloudformation/jambonz-mini.yaml
index 73784b0..faf1637 100644
--- a/cloudformation/jambonz-mini.yaml
+++ b/cloudformation/jambonz-mini.yaml
@@ -194,11 +194,6 @@ Resources:
echo "alter user 'admin'@'%' identified by '$NEW_DB_PASSWD'" | mysql -h localhost -u admin -D jambones -pJambonzR0ck$
sudo sed -i -e "s/\(.*\)JAMBONES_MYSQL_PASSWORD.*/\1JAMBONES_MYSQL_PASSWORD: '$NEW_DB_PASSWD',/g" /home/admin/apps/ecosystem.config.js
- # get an apiban key
- APIBANKEY=$(curl -X POST -u jambonz:1a074994242182a9e0b67eae93978826 -d "{\"client\": \"$INSTANCE_ID\"}" -s https://apiban.org/sponsor/newkey | jq -r '.ApiKey')
- sudo sed -i -e "s/API-KEY-HERE/$APIBANKEY/g" /usr/local/bin/apiban/config.json
- sudo /usr/local/bin/apiban/apiban-iptables-client FULL
-
# replace ip addresses in the ecosystem.config.js file
sudo sed -i -e "s/\(.*\)PRIVATE_IP\(.*\)/\1$PRIVATE_IPV4\2/g" /home/admin/apps/ecosystem.config.js
sudo sed -i -e "s/\(.*\)AWS_REGION_NAME\(.*\)/\1$AWS_REGION_NAME\2/g" /home/admin/apps/ecosystem.config.js
@@ -307,6 +302,11 @@ Resources:
sudo -u admin bash -c "pm2 save"
sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u admin --hp /home/admin
+ # get an apiban key
+ APIBANKEY=$(curl -X POST -u jambonz:1a074994242182a9e0b67eae93978826 -d "{\"client\": \"$INSTANCE_ID\"}" -s https://apiban.org/sponsor/newkey | jq -r '.ApiKey')
+ sudo sed -i -e "s/API-KEY-HERE/$APIBANKEY/g" /usr/local/bin/apiban/config.json
+ sudo /usr/local/bin/apiban/apiban-iptables-client FULL
+
- URLPortal: !Ref URLPortal
Cloudwatch: !Ref Cloudwatch
CloudwatchLogRetention: !Ref CloudwatchLogRetention
diff --git a/packer/jambonz-feature-server/files/drachtio.conf.xml b/packer/jambonz-feature-server/files/drachtio.conf.xml
index 055c01f..22823b2 100644
--- a/packer/jambonz-feature-server/files/drachtio.conf.xml
+++ b/packer/jambonz-feature-server/files/drachtio.conf.xml
@@ -7,7 +7,7 @@
- 4096
+ 8192
diff --git a/packer/jambonz-feature-server/scripts/install_freeswitch.sh b/packer/jambonz-feature-server/scripts/install_freeswitch.sh
index da30bc4..71991ec 100644
--- a/packer/jambonz-feature-server/scripts/install_freeswitch.sh
+++ b/packer/jambonz-feature-server/scripts/install_freeswitch.sh
@@ -6,7 +6,7 @@ GRPC_VERSION=c66d2cc
GOOGLE_API_VERSION=e9da6f8b469c52b83f900e820be30762e9e05c57
AWS_SDK_VERSION=1.8.129
LWS_VERSION=v3.2.3
-MODULES_VERSION=v0.6.9
+MODULES_VERSION=v0.6.11
echo "freeswitch version to install is ${FREESWITCH_VERSION}"
echo "drachtio modules version to install is ${MODULES_VERSION}"
diff --git a/packer/jambonz-feature-server/template.json b/packer/jambonz-feature-server/template.json
index cafe5ad..1376521 100644
--- a/packer/jambonz-feature-server/template.json
+++ b/packer/jambonz-feature-server/template.json
@@ -5,7 +5,7 @@
"ami_description": "jambonz feature server",
"instance_type": "t2.xlarge",
"drachtio_version": "v0.8.21",
- "jambonz_version": "v0.8.2-rc11",
+ "jambonz_version": "v0.8.2-rc14",
"ami_base_image_arch": "amd64",
"ami_base_image_owner": "136693071363",
"install_telegraf": "yes",
diff --git a/packer/jambonz-mini/files/config.json b/packer/jambonz-mini/files/config.json
index cefb4b9..8f29bb2 100644
--- a/packer/jambonz-mini/files/config.json
+++ b/packer/jambonz-mini/files/config.json
@@ -1,5 +1,6 @@
{
"APIKEY":"API-KEY-HERE",
- "LKID":"0",
- "VERSION":"0.3"
+ "LKID":"100",
+ "VERSION":"0.7",
+ "FLUSH":"200"
}
\ No newline at end of file
diff --git a/packer/jambonz-mini/files/drachtio-5070.conf.xml b/packer/jambonz-mini/files/drachtio-5070.conf.xml
index 61be265..f7ac6ae 100644
--- a/packer/jambonz-mini/files/drachtio-5070.conf.xml
+++ b/packer/jambonz-mini/files/drachtio-5070.conf.xml
@@ -7,7 +7,7 @@
- 4096
+ 8192
diff --git a/packer/jambonz-mini/files/drachtio.conf.xml b/packer/jambonz-mini/files/drachtio.conf.xml
index 276a905..52a0c1f 100644
--- a/packer/jambonz-mini/files/drachtio.conf.xml
+++ b/packer/jambonz-mini/files/drachtio.conf.xml
@@ -11,7 +11,7 @@
- 4096
+ 8192
diff --git a/packer/jambonz-mini/scripts/install_freeswitch.sh b/packer/jambonz-mini/scripts/install_freeswitch.sh
index da30bc4..71991ec 100644
--- a/packer/jambonz-mini/scripts/install_freeswitch.sh
+++ b/packer/jambonz-mini/scripts/install_freeswitch.sh
@@ -6,7 +6,7 @@ GRPC_VERSION=c66d2cc
GOOGLE_API_VERSION=e9da6f8b469c52b83f900e820be30762e9e05c57
AWS_SDK_VERSION=1.8.129
LWS_VERSION=v3.2.3
-MODULES_VERSION=v0.6.9
+MODULES_VERSION=v0.6.11
echo "freeswitch version to install is ${FREESWITCH_VERSION}"
echo "drachtio modules version to install is ${MODULES_VERSION}"
diff --git a/packer/jambonz-mini/template.json b/packer/jambonz-mini/template.json
index c62edee..f331403 100644
--- a/packer/jambonz-mini/template.json
+++ b/packer/jambonz-mini/template.json
@@ -5,7 +5,7 @@
"ami_description": "jambonz all-in-one AMI",
"instance_type": "t2.xlarge",
"drachtio_version": "v0.8.21",
- "jambonz_version": "v0.8.2-rc11",
+ "jambonz_version": "v0.8.2-rc14",
"jambonz_user": "admin",
"jambonz_password": "JambonzR0ck$",
"install_telegraf": "yes",
diff --git a/packer/jambonz-monitoring/template.json b/packer/jambonz-monitoring/template.json
index 57feb8d..a2c8acd 100644
--- a/packer/jambonz-monitoring/template.json
+++ b/packer/jambonz-monitoring/template.json
@@ -4,7 +4,7 @@
"ssh_username": "admin",
"ami_description": "jambonz monitoring server",
"instance_type": "t2.xlarge",
- "jambonz_version": "v0.8.2-rc11",
+ "jambonz_version": "v0.8.2-rc14",
"homer_user": "homer_user",
"homer_password": "XcapJTqy11LnsYRtxXGPTYQkAnI",
"install_influxdb": "yes",
diff --git a/packer/jambonz-sbc-rtp/template.json b/packer/jambonz-sbc-rtp/template.json
index 1613055..da927ff 100644
--- a/packer/jambonz-sbc-rtp/template.json
+++ b/packer/jambonz-sbc-rtp/template.json
@@ -4,7 +4,7 @@
"ssh_username": "admin",
"ami_description": "jambonz SBC RTP server",
"drachtio_version": "v0.8.21",
- "jambonz_version": "v0.8.2-rc11",
+ "jambonz_version": "v0.8.2-rc14",
"ami_base_image_arch": "amd64",
"ami_base_image_owner": "136693071363",
"instance_type": "t3.xlarge",
diff --git a/packer/jambonz-sbc-sip/files/config.json b/packer/jambonz-sbc-sip/files/config.json
index cefb4b9..8f29bb2 100644
--- a/packer/jambonz-sbc-sip/files/config.json
+++ b/packer/jambonz-sbc-sip/files/config.json
@@ -1,5 +1,6 @@
{
"APIKEY":"API-KEY-HERE",
- "LKID":"0",
- "VERSION":"0.3"
+ "LKID":"100",
+ "VERSION":"0.7",
+ "FLUSH":"200"
}
\ No newline at end of file
diff --git a/packer/jambonz-sbc-sip/files/drachtio.conf.xml b/packer/jambonz-sbc-sip/files/drachtio.conf.xml
index b1cc08a..30d6a1e 100644
--- a/packer/jambonz-sbc-sip/files/drachtio.conf.xml
+++ b/packer/jambonz-sbc-sip/files/drachtio.conf.xml
@@ -11,7 +11,7 @@
- 4096
+ 8192
diff --git a/packer/jambonz-sbc-sip/template.json b/packer/jambonz-sbc-sip/template.json
index 60a8417..8fbd6fc 100644
--- a/packer/jambonz-sbc-sip/template.json
+++ b/packer/jambonz-sbc-sip/template.json
@@ -5,7 +5,7 @@
"ami_description": "jambonz SBC SIP",
"instance_type": "t3.xlarge",
"drachtio_version": "v0.8.21",
- "jambonz_version": "v0.8.2-rc11",
+ "jambonz_version": "v0.8.2-rc14",
"ami_base_image_arch": "amd64",
"ami_base_image_owner": "136693071363",
"install_datadog": "no",
diff --git a/packer/jambonz-web-server/template.json b/packer/jambonz-web-server/template.json
index edeaaa7..7558ccb 100644
--- a/packer/jambonz-web-server/template.json
+++ b/packer/jambonz-web-server/template.json
@@ -4,7 +4,7 @@
"ssh_username": "admin",
"ami_description": "jambonz webserver",
"instance_type": "t3.xlarge",
- "jambonz_version": "v0.8.2-rc11",
+ "jambonz_version": "v0.8.2-rc14",
"ami_base_image_arch": "amd64",
"ami_base_image_owner": "136693071363",
"install_datadog": "no",