What is Fail2Ban? Any service that is exposed to the internet is susceptible to attacks from malicious parties. If your service requires authentication, illegitimate users and bots will attempt to break into your system by repeatedly trying to authenticate using different credentials. A common example of this is with SSH, which will be the subject […]
Asterisk
Protected: Connect Asterisk with Dialog SIP Trunk
There is no excerpt because this is a protected post.
Installing the Free G729 Codec for Asterisk
This tutorial will let you install the G729 Codec on an Asterisk installation in under 5 minutes. Navigate to the codecs directory: cd /usr/lib/asterisk/modules Download the codec Codecs are provided as binary .so files, you can find the archive at http://asterisk.hosting.lv/#bin Take care of the following when picking up one of the files, they depend […]
OBD Call using Asterisk CLI
This is a useful command when building your dial plan, it allows testing of the dial plan remotely. There are a couple of commands to explain. The first is the originate command a highly useful tool for checking any IVR context’s, this is how to use it. originate SIP/14075551234@sip-outbound extension s@auto-att Let me explain this.: […]
Howto setup Asterisk behind NAT
This HOWTO assumes that your FreePBX system is sitting behind a NATed firewall with no direct connection to the outside world and it is NOT in the DMZ zone. If you have your system facing outside, or have used Mapped IP addresses or other techniques, then it is assumed that you have adequate knowledge to […]
Fix Asterisk 1 way Audio Issues
NAT issues Perhaps the most common problem encountered is one-way audio, and 99% of the time, this is caused by a NAT firewall. So here are the steps you must take to configure the PBX to work behind a NAT firewall. Make sure you have a resolvable address on the Internet. If you don’t want […]
Connect Cisco SPA400 SIP Gateway (4 FXO Ports) with Asterisk
On Asterisk /etc/asterisk/sip.conf, you need to configure the account exactly similar to User ID of SPA400 The entries in sip.conf to enable Asterisk register to SPA400 are as follow: [general] register => 9000@192.168.0.6/9000 Replace 9000 with the value you entered in the User ID of SPA400, and replace 192.168.0.2 with the IP address of the […]
Connect 2 Asterisk servers with IAX2 Trunk
Server 1 configurations [usa-IAX] host=10.0.0.1 username=panadura secret=RMoBaNvjZO type=peer qualify=yes context=from-trunk-iax2-usa-IAX [usa-IAX_user] secret=RMoBaNvjZO type=user context=from-internal Server 2 Configurations [panadura-IAX] host=10.0.0.1 username=panadura secret=RMoBaNvjZO type=peer qualify=yes context=from-trunk-iax2-panadura-IAX [panadura-IAX_user] secret=RMoBaNvjZO type=user context=from-internal
Asterisk – Setup Elastix in exist CentOS or VPS
Case 1 (With Elastix Repository) Create new repository vi /etc/yum.repos.d/elastix.repo [elastix-base] name=Base RPM Repository for Elastix mirrorlist=http://mirror.elastix.org/?release=2&arch=$basearch&repo=base #baseurl=http://repo.elastix.org/elastix/2/base/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix [elastix-updates] name=Updates RPM Repository for Elastix mirrorlist=http://mirror.elastix.org/?release=2&arch=$basearch&repo=updates #baseurl=http://repo.elastix.org/elastix/2/updates/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix [elastix-beta] name=Beta RPM Repository for Elastix mirrorlist=http://mirror.elastix.org/?release=2&arch=$basearch&repo=beta #baseurl=http://repo.elastix.org/elastix/2/beta/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix [elastix-extras] name=Extras RPM Repository for Elastix mirrorlist=http://mirror.elastix.org/?release=2&arch=$basearch&repo=extras #baseurl=http://repo.elastix.org/elastix/2/extras/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix Install […]