Feature code *69 does not give last dialed number

I have a fresh install of FPBX 2.8.1 and asterisk 1.6.2.16 with gsm as core sounds. The install went through without errors. The prob I am having is that *69 does not play the last dialed number that called my extensions whether the call was external or internal.

I was getting a fast busy after dialing *69. I then added core sounds ulaw and extra sounds file. Now I get “information about last call from telephone number unknown”, even though the CID is displayed in the CDR report. Can anyone point out where I went wrong. The install was done from the following script:

yum -y update

then reboot
Install extra dependencies

yum install gcc gcc-c++ libtermcap-devel kernel-devel ncurses-devel kernel-smp-devel bison openssl-devel e2fsprogs-devel keyutils-libs-devel krb5-devel libogg libogg-devel libselinux-devel libsepol-devel libxml2-devel libtiff-devel gmp audiofile-devel mysql-devel zlib-devel perl-DateManip sendmail-cf sox php-pear php-pear-DB php-gd php-mysql php-pdo php wget nano

then reboot
setup named one line at a time

echo “options {” >> /var/named/chroot//etc/named.conf

echo " directory “/var/named”;" >> /var/named/chroot//etc/named.conf

echo " dump-file “/var/named/data/cache_dump.db”;" >> /var/named/chroot//etc/named.conf

echo " statistics-file “/var/named/data/named_stats.txt”;" >> /var/named/chroot//etc/named.conf

echo “};” >> /var/named/chroot//etc/named.conf

echo “include “/etc/rndc.key”;” >> /var/named/chroot//etc/named.conf

cd /var/named/chroot//etc/

chmod 640 named.conf

chgrp named named.conf

ln -s /var/named/chroot//etc/named.conf /etc/named.conf

Disable Selinux and open the firewall fully (a fully opened firewall is not advisable, just done for the simplicity of this documentation)

echo “selinux=disabled” > /etc/selinux/config

iptables -P INPUT ACCEPT

iptables -P OUTPUT ACCEPT

iptables -P FORWARD ACCEPT

iptables -F

iptables -X

/etc/init.d/iptables save

Get Asterisk 1.6 and FreePBX

cd /usr/src

wget http://downloads.sourceforge.net/project/lame/lame/3.98.4/lame-3.98.4.tar.gz

wget http://downloads.digium.com/pub/asterisk/asterisk-1.6.2-current.tar.gz

wget http://downloads.digium.com/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz

wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-addons-1.6.2-current.tar.gz

wget http://sourceforge.net/projects/mpg123/files/mpg123/1.12.5/mpg123-1.12.5.tar.bz2/download

wget http://mirror.freepbx.org/freepbx-2.8.1.tar.gz

tar zxvf lame-3.98.4.tar.gz

tar zxvf asterisk-1.6.2-current.tar.gz

tar zxvf dahdi-linux-complete-current.tar.gz

tar zxvf asterisk-addons-1.6.2-current.tar.gz

tar -xjvf mpg123-1.12.5.tar.bz2

tar zxvf freepbx-2.8.1.tar.gz

cd /usr/src/lame-3.98.4

./configure && make && make install

cd /usr/src/dahdi-linux*

make all && make install && make config

chkconfig dahdi on

service dahdi start

cd /usr/src/asterisk-1.6.*

./contrib/scripts/get_ilbc_source.sh

make clean && ./configure && make menuselect

Select the core sounds you want. Same with addon sounds. I suggest ulaw as they sound better than gsm.
x to save.

make && make install && make samples

cd /usr/src

cd /var/lib/asterisk/sounds

wget http://downloads.digium.com/pub/telephony/sounds/asterisk-extra-sounds-en-gsm-current.tar.gz

tar zxvf asterisk-extra-sounds-en-gsm-current.tar.gz

cd /usr/src/asterisk-1.6.*

Set ownership

chown -R asterisk /var/run/asterisk

chown -R asterisk /var/log/asterisk

chown -R asterisk /var/lib/asterisk/moh

chown -R asterisk /var/lib/php/session

Since the Asterisk default moh directory (/moh) and the Freepbx default moh directory (/mohmp3) are different we need to create a symbolic link so moh files are where FreePBX expect them to be.

ln -s /var/lib/asterisk/moh /var/lib/asterisk/mohmp3

cd /usr/src/mpg123-1.12.5

./configure && make && make install

Freepbx php script cannot find mpg123 by default so we need to create a symbolic link.

ln -s /usr/local/bin/mpg123 /usr/bin/mpg123

cd /usr/src/asterisk-addons-1.6.*

make clean && ./configure && make menuselect

make && make install && make samples

cd /usr/src/freepbx-2.8.1

Create the asterisk databases and run the initial SQL setup scripts.

/etc/init.d/mysqld start

chkconfig mysqld on

mysqladmin create asterisk

mysqladmin create asteriskcdrdb

mysql asterisk < SQL/newinstall.sql

mysql asteriskcdrdb < SQL/cdr_mysql_table.sql

Start MySQL.

mysql

Define the user and password for each of the databases.
GRANT ALL PRIVILEGES ON asteriskcdrdb.* TO [email protected] IDENTIFIED BY ‘PASSWORD2’;
GRANT ALL PRIVILEGES ON asterisk.* TO [email protected] IDENTIFIED BY ‘PASSWORD2’;
\q

Select a root password for MySQL. Change PASSWORD1 to your choice. Keep the ‘’

mysqladmin -u root password ‘PASSWORD1’

Update the Apache configuration file.

sed -i “s/User apache/User asterisk/” /etc/httpd/conf/httpd.conf

sed -i “s/Group apache/Group asterisk/” /etc/httpd/conf/httpd.conf

Start Apache

/etc/init.d/httpd start

chkconfig httpd on

Start Asterisk

./start_asterisk start

Install FreePBX

./install_amp