How to reset FreePBX Admin password

How to reset FreePBX Admin password

If you forget your administrator login password for FreePBX, there is a simple way to log in and reset password. You require  your current root password for this process .

    1. Log into your FreePBX server via SSH as the root .
    2. Next, bring up your FreePBX web interface in a web browser. Once the page has loaded, press Ctrl + A on your keyboard to highlight everything on the page.
    3. Locate the unique session ID as I got 2uh2ltqvbipra038qu2627ca93 , highlighted on above picture
    4. on your SSH connection  type below command with your session id as example

Continue reading How to reset FreePBX Admin password

vos3000 illegal calls query to block IP address

vos3000 illegal calls query to block IP address

All call records are saved in e_cdr_files

you can query to get ip addresses of illegal calls source.

mysql> select DISTINCT callerip from e_cdr_20180818 where endreason = ‘-9’;
+—————-+
| callerip |
+—————-+
| 195.154.93.229 |
| 50.2.187.130 |
| 5.62.63.181 |
| 216.244.84.202 |
| 37.49.231.161 |
| 88.198.57.146 |
| 37.49.231.63 |
| 50.22.52.22 |
| 93.190.143.70 |
| 216.244.73.98 |
+—————-+
10 rows in set (0.00 sec)

if someone can write a script to get IP address from current date CDR  for every 5 min and update the iptables automatically.

Protect your Asterisk PBX server from Black listed IP address

Protect your Asterisk PBX server from Black listed IP address

VoIPBL is a distributed VoIP blacklist that is aimed to protects against VoIP Fraud and minimizing abuse for network that have publicly accessible PBX’s.

For more details http://www.voipbl.org/

For Asterisk PBX  you  need to install Fail2ban. This is the only required dependency needed to run VoIP Blacklist on your server.

Continue reading Protect your Asterisk PBX server from Black listed IP address

Extension information saved in Elastix

Extension information saved in Elastix

cat /etc/asterisk/sip_additional.conf

 

[root@pbx asterisk]# cat /etc/asterisk/sip_additional.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make    ;
; custom modifications, details at: http://freepbx.org/configuration_files       ;
;--------------------------------------------------------------------------------;
;


[2235]
deny=0.0.0.0/0.0.0.0
secret=P@ssw0rd
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
sendrpid=no
type=friend
nat=yes
port=5060
qualify=yes
qualifyfreq=3600
transport=udp
avpf=no
icesupport=no
dtlsenable=no
dtlsverify=no
dtlssetup=actpass
encryption=no
callgroup=
pickupgroup=
dial=SIP/2235
mailbox=2235@device
permit=0.0.0.0/0.0.0.0
callerid=Gkhan <2235>
callcounter=yes
faxdetect=no

 

How to configure Cisco Phone 7911 with Elastix

How to configure Cisco Phone 7911 with Elastix

Cisco Phone 7911 looks for  term06.default.loads  file to upgrade in to SIP firmware.

Download the SIP firmware from cisco or google it and get the firmware files

Configure your TFTP server and upgrade SIP firmware.

For SIP configuration this phone support XML configuration file . SEPMACADD.cnf.xml

Continue reading How to configure Cisco Phone 7911 with Elastix

How to configure Cisco Phone 7960 or 7940 with Elastix

How to configure Cisco Phone 7960 or 7940 with Elastix

Cisco Phone 7960 or 7940 comes default with SCCP firmware you need to change the firmware to SIP .

After the SIP firmware update you need to configure these phone to work with Elastix .

Cisco Phone 7960 or 7940 does not support XML configuration file it support cnf  configuration file.

If my Phone MAC address is 0014A9713F98 then my configuration file name should be SIP0014A9713F98.cnf and place it in to Elastix server /tftpboot/ folder

 

I am giving simple example to configure one Extension . You can change according to your requirement.

Continue reading How to configure Cisco Phone 7960 or 7940 with Elastix

How to Configure Cisco Phone 7912G with Elastix

How to Configure Cisco Phone 7912G with Elastix

Cisco Phone 7912G comes with SCCP firmware and you have to convert it to SIP .

The easy way to convert this phone in to SIP .

1- Download the SIP firmware from Cisco or  google it and get it.

SIP Firmware Version: 8.0001
Filename: CP7912080001SIP060412A.tar

2- Extract the file and upload to Elastix   server /tftpboot/    folder

CP7912080001SIP060412A.sbin     and    gkdefault.cfg

Continue reading How to Configure Cisco Phone 7912G with Elastix