How to reset FreePBX admin password

How to reset FreePBX admin password

If you forget the freepbx admin password  and you have  root  ssh access you can reset the admin  password .

1-  Access your login page  and press Ctrl +A

2- Copy the  unique session ID

3- Now on your SSH session type as below adn replace your unique session ID

[root@pbx ~]# fwconsole unlock igg56njsp8bi0h4serfwepsq963
Unlocking:
session unlocked!
[root@pbx ~]#

or

If you are using FreePBX 13 or earlier and the above gives you a ‘command not found’ error message, use the depreciated amportal command

[root@pbx ~]# amportal a u igg56njswewbi0h4odqnupsq963
Fetching FreePBX settings with gen_amp_conf.php..
session unlocked!
[root@pbx ~]#

4- Now refresh the login page and you will be automatically logged in.

5-  Now Go to    Admin -> Administrators and select your user on the right side of the page. At this point you can reset your password.

FreePBX firewall commands

FreePBX firewall commands

fwconsole firewall disable
fwconsole firewall stop
fwconsole firewall start
fwconsole firewall restart
fwconsole firewall trust www.google.com
fwconsole firewall untrust www.google.com
fwconsole firewall untrust 192.168.0.1/24
fwconsole firewall list blacklist
fwconsole firewall list trusted
fwconsole firewall add blacklist example.com 192.168.15.0/24
fwconsole firewall add other 192.168.75.0/24
fwconsole firewall list other
fwconsole firewall del other 192.168.75.0/24

Centos 6.x repository not working

Centos 6.4 repository not working

just rename     /etc/yum.repos.d/CentOS-Base.repo

cd  /etc/yum.repos.d/

mv  CentOS-Base.repo  CentOS-Base.repo.old

copy and paste below code on command prompt

they try to use yum .

cat <<-'EOF' > /etc/yum.repos.d/CentOS-Base.repo
[C6.4-base]
name=CentOS-6.4 - Base
baseurl=http://vault.centos.org/6.4/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=1
metadata_expire=never

[C6.4-updates]
name=CentOS-6.4 - Updates
baseurl=http://vault.centos.org/6.4/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=1
metadata_expire=never

[C6.4-extras]
name=CentOS-6.4 - Extras
baseurl=http://vault.centos.org/6.4/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=1
metadata_expire=never

[C6.4-contrib]
name=CentOS-6.4 - Contrib
baseurl=http://vault.centos.org/6.4/contrib/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0
metadata_expire=never

[C6.4-centosplus]
name=CentOS-6.4 - CentOSPlus
baseurl=http://vault.centos.org/6.4/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0
metadata_expire=never
EOF

 

there is a time synchronization problem with your system, please tell your system administrator

there is a time synchronization problem with your system, please tell your system administrator

Vicidial is having issue with time synchronization when agent is login phone is ringing and giving error as above .

In my case server time and agent machine time was showing  correct.

Vicidial works on meetme application on asterisk and  dahdi

1- check meet me installed and working

  • go to your installation source folder mostly  /usr/src/
  • go to asterisk installation folder  cd asterisk-13.38.1/  ” you choose your folder”
  • run “make menuselect”
  • check under application  > Extended > app_meetme  should look like below

Continue reading there is a time synchronization problem with your system, please tell your system administrator

How to configure Reliance Jio SIP trunk on asterisk

How to configure Reliance Jio SIP trunk on asterisk

Reliance Jio  provide SIP E1 trunks with DIDs . For old PBX they give you SIP to E1 converter which give you RJ45 connector to connect your E1 port.

Jio put a fiber cable and terminate on ONT  from there they provide a network CAT 6 cable to put in to your network switch or directly to your IP PBX network interface not E1 interface .

Reliance jio provide SIP E1 trunk on there own IP address which will be configured on your asterisk server or Grandstream UCM or any IP IPBX .

Continue reading How to configure Reliance Jio SIP trunk on asterisk

Windows server 2012 Hyper-v virtual machine getting shutdown after a while

Windows server 2012 Hyper-v virtual machine getting shutdown after a while.

this may be on of the reason code 0x80000000 if you check the event viewer  with event id 1074 .

Description:
The process C:\Windows\system32\wlms\wlms.exe (<Computer Name>) has initiated the shutdown of computer <Computer Name> on behalf of user NT AUTHORITY\SYSTEM for the following reason: Other (Planned)
Reason Code: 0x80000000
Shutdown Type: shutdown
Comment: The license period for this installation of Windows has expired. The operating system is shutting down.

As the event states: The license period for this installation of Windows has expired.

To reset the evaluation period, Click Start, and then click Command Prompt > type  slmgrvbs –rearm, and then press ENTER.

 

 

Windows 2012 shutdown issue

Windows 2012 shutdown issue.

Event logs for shutdown or reboot of windows 2012 servers.

Event ID 41 The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.
Event ID 1074 Logged when an app (ex: Windows Update) causes the system to restart, or when a user initiates a restart or shutdown.
Event ID 6006 Logged as a clean shutdown. It gives the message “The Event log service was stopped”.
Event ID 6008 Logged as a dirty shutdown. It gives the message “The previous system shutdown at time on date was unexpected”.

Continue reading Windows 2012 shutdown issue