AlexsProg / virtual-pbx

Automatically exported from code.google.com/p/virtual-pbx
0 stars 1 forks source link

Обновление asterisk до актуальной версии #93

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Приветствую.
Есть ли инструкции по обновлению?
Попробовал сам, не получилось.
Имею:
# uname -a
Linux voip.site.ru 2.6.32-042stab094.7 #1 SMP Wed Oct 22 12:43:21 MSK 2014 i686 
i686 i386 GNU/Linux

Добавил репозиторий астериска (как у них 
написано). В итоге получил:

#  yum upgrade
Loaded plugins: fastestmirror
Setting up Upgrade Process
Loading mirror speeds from cached hostfile
 * base: mirror.tversu.ru
 * epel: mirror.datacenter.by
 * extras: mirror.yandex.ru
 * rpmforge: mirror.de.leaseweb.net
 * updates: centosh5.centos.org
Resolving Dependencies
--> Running transaction check
---> Package dahdi-linux.i686 0:2.6.2-71.el6 will be updated
--> Processing Dependency: dahdi-linux = 2.6.2-71.el6 for package: 
dahdi-linux-kmdl-2.6.32-431.3.1.el6-2.6.2-71.el6.i686
---> Package dahdi-linux.i686 0:2.9.0-1_centos6 will be an update
--> Processing Dependency: dahdi-firmware for package: 
dahdi-linux-2.9.0-1_centos6.i686
--> Processing Dependency: kmod-dahdi-linux for package: 
dahdi-linux-2.9.0-1_centos6.i686
---> Package libpri.i686 0:1.4.13-1.el6 will be updated
---> Package libpri.i686 0:1.4.14-1_centos6 will be an update
--> Running transaction check
---> Package dahdi-firmware.noarch 0:2.0.6-1_centos6 will be installed
--> Processing Dependency: dahdi-firmware-oct6114-064 = 1.05.01 for package: 
dahdi-firmware-2.0.6-1_centos6.noarch
--> Processing Dependency: dahdi-firmware-te820 = 1.76 for package: 
dahdi-firmware-2.0.6-1_centos6.noarch
--> Processing Dependency: dahdi-firmware-oct6114-128 = 1.05.01 for package: 
dahdi-firmware-2.0.6-1_centos6.noarch
--> Processing Dependency: dahdi-firmware-te134 = 6f0017 for package: 
dahdi-firmware-2.0.6-1_centos6.noarch
--> Processing Dependency: dahdi-firmware-oct6114-032 = 1.05.01 for package: 
dahdi-firmware-2.0.6-1_centos6.noarch
--> Processing Dependency: dahdi-firmware-tc400m = MR6.12 for package: 
dahdi-firmware-2.0.6-1_centos6.noarch
--> Processing Dependency: dahdi-firmware-te133 = 6f0017 for package: 
dahdi-firmware-2.0.6-1_centos6.noarch
--> Processing Dependency: dahdi-firmware-oct6114-256 = 1.05.01 for package: 
dahdi-firmware-2.0.6-1_centos6.noarch
--> Processing Dependency: dahdi-firmware-vpmoct032 = 1.12.0 for package: 
dahdi-firmware-2.0.6-1_centos6.noarch
--> Processing Dependency: dahdi-firmware-hx8 = 2.06 for package: 
dahdi-firmware-2.0.6-1_centos6.noarch
--> Processing Dependency: dahdi-linux-fwload-vpmadt032-kmod for package: 
dahdi-firmware-2.0.6-1_centos6.noarch
---> Package dahdi-linux.i686 0:2.6.2-71.el6 will be updated
--> Processing Dependency: dahdi-linux = 2.6.2-71.el6 for package: 
dahdi-linux-kmdl-2.6.32-431.3.1.el6-2.6.2-71.el6.i686
---> Package kmod-dahdi-linux.i686 0:2.9.0-1_centos6.2.6.32_279.14.1.el6.i686 
will be installed
--> Running transaction check
---> Package dahdi-firmware-hx8.noarch 0:2.06-1_centos6 will be installed
---> Package dahdi-firmware-oct6114-032.noarch 0:1.05.01-1_centos6 will be 
installed
---> Package dahdi-firmware-oct6114-064.noarch 0:1.05.01-1_centos6 will be 
installed
---> Package dahdi-firmware-oct6114-128.noarch 0:1.05.01-1_centos6 will be 
installed
---> Package dahdi-firmware-oct6114-256.noarch 0:1.05.01-1_centos6 will be 
installed
---> Package dahdi-firmware-tc400m.noarch 0:MR6.12-1_centos6 will be installed
---> Package dahdi-firmware-te133.noarch 0:6f0017-1_centos6 will be installed
---> Package dahdi-firmware-te134.noarch 0:6f0017-1_centos6 will be installed
---> Package dahdi-firmware-te820.noarch 0:1.76-1_centos6 will be installed
---> Package dahdi-firmware-vpmoct032.noarch 0:1.12.0-1_centos6 will be 
installed
---> Package dahdi-linux.i686 0:2.6.2-71.el6 will be updated
--> Processing Dependency: dahdi-linux = 2.6.2-71.el6 for package: 
dahdi-linux-kmdl-2.6.32-431.3.1.el6-2.6.2-71.el6.i686
---> Package kmod-dahdi-linux-fwload-vpmadt032.i686 
0:2.9.0-1_centos6.2.6.32_279.14.1.el6.i686 will be installed
--> Finished Dependency Resolution
Error: Package: dahdi-linux-kmdl-2.6.32-431.3.1.el6-2.6.2-71.el6.i686 (@atrpms)
           Requires: dahdi-linux = 2.6.2-71.el6
           Removing: dahdi-linux-2.6.2-71.el6.i686 (@atrpms)
               dahdi-linux = 2.6.2-71.el6
           Updated By: dahdi-linux-2.9.0-1_centos6.i686 (asterisk-current)
               dahdi-linux = 2.9.0-1_centos6
           Available: dahdi-linux-2.6.2-1_centos6.i686 (asterisk-current)
               dahdi-linux = 2.6.2-1_centos6
           Available: dahdi-linux-2.7.0-1_centos6.i686 (asterisk-current)
               dahdi-linux = 2.7.0-1_centos6
           Available: dahdi-linux-2.8.0.1-1_centos6.i686 (asterisk-current)
               dahdi-linux = 2.8.0.1-1_centos6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

П.С. Обновить хочу из за попытки решить 
проблему с обрывом связи при звонке на usb 
модем с ошибками типо:

[May 11 09:41:13] DEBUG[29662]: 
audiohook.c:233 audiohook_read_frame_both: 
Read factory 0x9509cb8 and write factory 0x950a6e0 both fail to provide 160 
samples

[May 11 09:41:13] DEBUG[29662]: 
audiohook.c:245 audiohook_read_frame_both: 
Read factory 0x9509cb8 was pretty quick last time, waiting for them.

Original issue reported on code.google.com by ad...@elgorsk.ru on 11 May 2015 at 3:33

GoogleCodeExporter commented 8 years ago
Забыл отписать, что использую сборку в 
образе.

Original comment by ad...@elgorsk.ru on 11 May 2015 at 3:34

GoogleCodeExporter commented 8 years ago
vpbx тестировался только с 1.8. Если есть 
желание двинуться на 11 (или 13) то штатными 
средствами обновляетесь. про ошибку вверху 
- разрешите/запретите atrpm репозиторий. и 
вообще проверьте какие у вас разрешены.

Original comment by igor.oku...@gmail.com on 13 May 2015 at 12:00

GoogleCodeExporter commented 8 years ago
Может подскажите с такой ошибкой:
[May 11 09:41:13] DEBUG[29662]: 
audiohook.c:233 audiohook_read_frame_both: 
Read factory 0x9509cb8 and write factory 0x950a6e0 both fail to provide 160 
samples 

[May 11 09:41:13] DEBUG[29662]: 
audiohook.c:245 audiohook_read_frame_both: 
Read factory 0x9509cb8 was pretty quick last time, waiting for them. 

[May 11 09:41:13] DEBUG[29662]: 
audiohook.c:233 audiohook_read_frame_both: 
Read factory 0x9509cb8 and write factory 0x950a6e0 both fail to provide 160 
samples 

[May 11 09:41:13] DEBUG[29662]: 
audiohook.c:245 audiohook_read_frame_both: 
Read factory 0x9509cb8 was pretty quick last time, waiting for them.

единственное что вычитал, это то что 
связано это с записью разговора. Но с СИП 
номером проблем нет, только с номером через 
модем.

Original comment by ad...@elgorsk.ru on 13 May 2015 at 8:30

GoogleCodeExporter commented 8 years ago
оно что то ломает ?

Original comment by igor.oku...@gmail.com on 14 May 2015 at 2:08

GoogleCodeExporter commented 8 years ago
происходит отключение звука.
т.е. человек мне звонит на мобильный, 
астериск его обрабатывает через usb модем. 
Х-надцать (когда как, обычно около 1.2 мин 
разговора) сек я разговариваю с человеком и 
потом бац, тишина. Ни я ни меня не слышат.

Original comment by ad...@elgorsk.ru on 14 May 2015 at 2:19

GoogleCodeExporter commented 8 years ago
из за этих сообщений, пропадает слышимость 
при разговоре через usb модем. т.е. идет 
звонок, разговариваю минуту максимум и 
тишина. в логах такие сообщения сыпят.

Original comment by ad...@elgorsk.ru on 23 May 2015 at 7:52

GoogleCodeExporter commented 8 years ago

Original comment by igor.oku...@gmail.com on 25 May 2015 at 12:03