how to configure sip trunk between cme and issabel

how to configure sip trunk between cme and issabel or how to configure sip trunk between cme and elastix.

Some time we require sip communication between Cisco CME and Asterisk servers to send and receive  calls to and from CME to Asterisk .

First we will configure Issabel side  with following steps. we will go through following steps .

1- Configure Trunk

2- Configure Outbound Routes

3-Inbound  Routes

Continue reading how to configure sip trunk between cme and issabel

centos 5.11 yum repository

centos 5.11 yum repository

It is now EOD no updates available. but we require yum repo to install old applications .

go to and run

cd /etc/yum.repos.d
for i in $(ls *.repo); do mv $i $i.orig; done

copy the below code and save as  CentOS-Base.repo

# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://vault.centos.org/5.11/os/$basearch
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#released updates 
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
baseurl=http://vault.centos.org/5.11/updates/$basearch
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
baseurl=http://vault.centos.org/5.11/addons/$basearch
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
baseurl=http://vault.centos.org/5.11/extras/$basearch
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
baseurl=http://vault.centos.org/5.11/centosplus/$basearch
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
baseurl=http://vault.centos.org/5.11/contrib/$basearch
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

Source link 

 

How to check Internet Speed on Centos CLI

How to check Internet Speed on Centos CLI

Speedtest-cli is Python script  its works on Python program.

you must have Python installed. check if have installed .

python –version
python3 –version
lsb_release -a

if you have not install then install it by

# yum install python

Download the script

#wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py

#chmod +x speedtest-cli

Now check the internet speed

#./speedtest-cli

or

#python speedtest-cli

Source link 

How to block Country in Mikrotik Firewall

How to block Country in Mikrotik Firewall.

If you want to block whole country in Mikrotik firewall  visit the website https://mikrotikconfig.com/firewall/

step 1 :-  Check the countries you want included in the address list. Scroll down for additional countries.

Step 2- Click this button to generate your stand alone address list for use with your own custom rules

it will generate the firewall command with IP address . now copy and paste in Mikrotik  CLI.

 

 

 

 

 

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