diff --git a/packer/jambonz-sbc-sip-rtp/scripts/install_apiban.sh b/packer/jambonz-sbc-sip-rtp/scripts/install_apiban.sh index 3a4d806..bdfb156 100644 --- a/packer/jambonz-sbc-sip-rtp/scripts/install_apiban.sh +++ b/packer/jambonz-sbc-sip-rtp/scripts/install_apiban.sh @@ -9,5 +9,5 @@ sudo chmod 0644 /usr/local/bin/apiban/config.json sudo cp /tmp/apiban.logrotate /etc/logrotate.d/apiban-client sudo chmod 0644 /etc/logrotate.d/apiban-client cd /usr/local/bin/apiban/ -sudo ./apiban-iptables-client +sudo ./apiban-iptables-client FULL echo "*/4 * * * * root cd /usr/local/bin/apiban && ./apiban-iptables-client >/dev/null 2>&1" | sudo tee -a /etc/crontab diff --git a/packer/jambonz-sbc-sip-rtp/scripts/install_app.sh b/packer/jambonz-sbc-sip-rtp/scripts/install_app.sh index 6ee404f..28ea099 100755 --- a/packer/jambonz-sbc-sip-rtp/scripts/install_app.sh +++ b/packer/jambonz-sbc-sip-rtp/scripts/install_app.sh @@ -9,7 +9,6 @@ cd apps git clone https://github.com/jambonz/sbc-outbound.git -b ${VERSION} git clone https://github.com/jambonz/sbc-inbound.git -b ${VERSION} git clone https://github.com/jambonz/sbc-registrar.git -b ${VERSION} -git clone https://github.com/jambonz/sbc-api-server.git -b ${VERSION} git clone https://github.com/jambonz/sbc-call-router.git -b ${VERSION} git clone https://github.com/jambonz/jambonz-api-server.git -b ${VERSION} git clone https://github.com/jambonz/jambonz-webapp.git -b ${VERSION} diff --git a/packer/jambonz-sbc-sip-rtp/scripts/install_drachtio.sh b/packer/jambonz-sbc-sip-rtp/scripts/install_drachtio.sh index 8c3bc79..b9fd36c 100644 --- a/packer/jambonz-sbc-sip-rtp/scripts/install_drachtio.sh +++ b/packer/jambonz-sbc-sip-rtp/scripts/install_drachtio.sh @@ -11,9 +11,6 @@ git submodule update --init --recursive ./autogen.sh && mkdir -p build && cd $_ && ../configure CPPFLAGS='-DNDEBUG' && make && sudo make install sudo mv /tmp/drachtio.conf.xml /etc sudo mv /tmp/drachtio.service /etc/systemd/system -sudo mv /tmp/vimrc.local /etc/vim/vimrc.local sudo chmod 644 /etc/drachtio.conf.xml sudo chmod 644 /etc/systemd/system/drachtio.service -sudo chmod 644 /etc/vim/vimrc.local -sudo chown root:root /etc/drachtio.conf.xml /etc/vim/vimrc.local sudo systemctl enable drachtio diff --git a/packer/jambonz-sbc-sip-rtp/template.json b/packer/jambonz-sbc-sip-rtp/template.json index 2ff44c8..418991b 100644 --- a/packer/jambonz-sbc-sip-rtp/template.json +++ b/packer/jambonz-sbc-sip-rtp/template.json @@ -3,7 +3,7 @@ "region": "us-east-1", "ssh_username": "admin", "ami_description": "jambonz SBC SIP+RTP", - "drachtio_version": "v0.8.5", + "drachtio_version": "develop", "jambonz_version": "master", "instance_type": "t2.medium", "rtp_engine_version": "mr8.4.1.1", diff --git a/packer/jambonz-sbc-sip/scripts/install_apiban.sh b/packer/jambonz-sbc-sip/scripts/install_apiban.sh index 3a4d806..bdfb156 100644 --- a/packer/jambonz-sbc-sip/scripts/install_apiban.sh +++ b/packer/jambonz-sbc-sip/scripts/install_apiban.sh @@ -9,5 +9,5 @@ sudo chmod 0644 /usr/local/bin/apiban/config.json sudo cp /tmp/apiban.logrotate /etc/logrotate.d/apiban-client sudo chmod 0644 /etc/logrotate.d/apiban-client cd /usr/local/bin/apiban/ -sudo ./apiban-iptables-client +sudo ./apiban-iptables-client FULL echo "*/4 * * * * root cd /usr/local/bin/apiban && ./apiban-iptables-client >/dev/null 2>&1" | sudo tee -a /etc/crontab diff --git a/packer/jambonz-sbc-sip/scripts/install_app.sh b/packer/jambonz-sbc-sip/scripts/install_app.sh index 6ee404f..28ea099 100755 --- a/packer/jambonz-sbc-sip/scripts/install_app.sh +++ b/packer/jambonz-sbc-sip/scripts/install_app.sh @@ -9,7 +9,6 @@ cd apps git clone https://github.com/jambonz/sbc-outbound.git -b ${VERSION} git clone https://github.com/jambonz/sbc-inbound.git -b ${VERSION} git clone https://github.com/jambonz/sbc-registrar.git -b ${VERSION} -git clone https://github.com/jambonz/sbc-api-server.git -b ${VERSION} git clone https://github.com/jambonz/sbc-call-router.git -b ${VERSION} git clone https://github.com/jambonz/jambonz-api-server.git -b ${VERSION} git clone https://github.com/jambonz/jambonz-webapp.git -b ${VERSION} diff --git a/packer/jambonz-sbc-sip/scripts/install_drachtio.sh b/packer/jambonz-sbc-sip/scripts/install_drachtio.sh index 8c3bc79..b9fd36c 100644 --- a/packer/jambonz-sbc-sip/scripts/install_drachtio.sh +++ b/packer/jambonz-sbc-sip/scripts/install_drachtio.sh @@ -11,9 +11,6 @@ git submodule update --init --recursive ./autogen.sh && mkdir -p build && cd $_ && ../configure CPPFLAGS='-DNDEBUG' && make && sudo make install sudo mv /tmp/drachtio.conf.xml /etc sudo mv /tmp/drachtio.service /etc/systemd/system -sudo mv /tmp/vimrc.local /etc/vim/vimrc.local sudo chmod 644 /etc/drachtio.conf.xml sudo chmod 644 /etc/systemd/system/drachtio.service -sudo chmod 644 /etc/vim/vimrc.local -sudo chown root:root /etc/drachtio.conf.xml /etc/vim/vimrc.local sudo systemctl enable drachtio diff --git a/packer/jambonz-sbc-sip/template.json b/packer/jambonz-sbc-sip/template.json index fbe41bc..df16980 100644 --- a/packer/jambonz-sbc-sip/template.json +++ b/packer/jambonz-sbc-sip/template.json @@ -4,7 +4,7 @@ "ssh_username": "admin", "ami_description": "jambonz SBC SIP", "instance_type": "t2.medium", - "drachtio_version": "v0.8.5", + "drachtio_version": "develop", "jambonz_version": "master" }, "builders": [{