0 امتیاز
677 بازدید
در تلفن (سانترال و VoIP) توسط مدیر کل (15.6k امتیاز)

عد از این که به سرور ssh زدیم
کامند زیر رو میزنیم تا ورژن موجود رو ببینیم:
dahdi_cfg -vvv

حالا سرویس استریسک و dahdi رو stop میکنیم:
amportal stop
service dahdi stop

حالا فایل درایور رو دانلود و نصب میکنیم:
cd /usr/src
wget -c http://downloads.openvox.cn/pub/driv...current.tar.gz
tar -zxvf openvox_dahdi-linux-complete-current.tar.gz 
cd dahdi-linux-complete-2.7.0+2.7.0/
make
make install
make config

وبعد سرور رو reboot میکنیم:
reboot

بعد از بالا اومدن سرور:
dahdi_cfg
amportal start
service dahdi start

حالا ورژن جدید رو چک کنید:
dahdi_cfg -vvv

 

1 پاسخ

0 امتیاز
توسط مدیر کل (15.6k امتیاز)
This example is updating dahdi 2.2.1 to dahdi 2.4.0 (which is the latest version at this time). This is based on updating dahdi drivers from a working configured system that dahdi works properly already. This is NOT a howto on updating from zaptel to dahdi. If you are looking at how to update from zaptel to dahdi - look elsewhere!

Warning: If your system doesn't run using the existing dahdi drivers then you have a configuration issue. Updating the drivers to the latest version will not solve your configuration problem.

If you are updating the dahdi drivers, this implies that you have a knowledge of how to configure a PBX in a Flash server properly for dahdi and can competently troubleshoot dahdi configuration issues.

Backup your dahdi configs to the /usr/local/backup directory (just in case!)

1. Backup all files in /etc/dahdi/

cd
mkdir /usr/local/backup
cp /etc/dahdi/* /usr/local/backup


2. Backup the following asterisk config files in /etc/asterisk:

cp /etc/asterisk/chan_dahdi* /usr/local/backup
cp /etc/asterisk/dahdi* /usr/local/backkup


3. Stop asterisk and dahdi:

amportal stop
service dahdi stop

4. Download and install dahdi 2.4.0 complete:

cd /usr/src
wget http://downloads.asterisk.org/pub/t...eases/dahdi-linux-complete-2.4.0+2.4.0.tar.gz
(last part should read pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.4.0+2.4.0.tar.gz - forum won't print it correctly)
tar -zxvf dahdi-linux-complete-2.4.0+2.4.0.tar.gz
cd dahdi-linux-complete-2.4.0+2.4.0
make
make install
make config

5. Rename old dahdi version directory to dahdi-old:

cd /usr/src
mv dahdi dahdi-old

6. Create a soft link so /usr/src/dahdi points to version 2.4.0

ln -s /usr/src/dahdi-linux-complete-2.4.0+2.4.0 /usr/src/dahdi

7. Start dahdi services:

service dahdi start

8. Test that dahdi is running with the new version

cd <= moves you to root's home directory for testing
modinfo dahdi will show you the dahdi version loaded
dahdi_tool should show your dahdi interfaces and Xorcom devices like astribanks.

9. Start asterisk

amportal start

10. Run the status command. It should now show that you are running dahdi 2.4.0+2.4.0

11. From the asterisk CLI> help dahdi, you should have the dahdi commands show up. If not, you have a configuration issue.

12. From the asterisk CLI> dahdi show channels, this should show your previous dahdi channel configuration.
FOXNET محلی برای دانستن واشتراک مطالبی که نمی دانستید

سوالات مشابه

0 امتیاز
0 پاسخ 338 بازدید
سوال شده فوریه 10, 2016 در تلفن (سانترال و VoIP) توسط admin مدیر کل (15.6k امتیاز)
0 امتیاز
0 پاسخ 583 بازدید
سوال شده فوریه 10, 2016 در تلفن (سانترال و VoIP) توسط admin مدیر کل (15.6k امتیاز)
0 امتیاز
0 پاسخ 302 بازدید
سوال شده فوریه 9, 2016 در تلفن (سانترال و VoIP) توسط admin مدیر کل (15.6k امتیاز)
0 امتیاز
0 پاسخ 545 بازدید
سوال شده نوامبر 19, 2015 در تلفن (سانترال و VoIP) توسط admin مدیر کل (15.6k امتیاز)
0 امتیاز
1 پاسخ 1.1k بازدید
سوال شده ژوئیه 5, 2015 در تلفن (سانترال و VoIP) توسط admin مدیر کل (15.6k امتیاز)
...