Board logo

標題: asterisk如何自动启动? [打印本頁]

作者: lttliang    時間: 2010-11-13 12:56     標題: asterisk如何自动启动?

我用code安装左asterisk  请问如何做先可以令到一开电脑就可以自动启动asterisk?
可以写详细D?
作者: bubblestar    時間: 2010-11-13 13:48

唔係好明白!

如果你電腦的系統所裝的是單一CentOS 及把 Asterisk 安裝在其次上,一開機它已經會自動啟動的。
作者: lttliang    時間: 2010-11-13 16:13

唔係好明白!

如果你電腦的系統所裝的是單一CentOS 及把 Asterisk 安裝在其次上,一開機它已經會自動啟動的 ...
bubblestar 發表於 2010-11-13 13:48



    我是先装好centos5.5  然之后再装asterisk1.47   每次开电脑  都要手动输入asterisk -vvvvvvvvvvc  然之后先至可以打开gui
作者: ckleea    時間: 2010-11-13 18:12

chkconfig asterisk on
service asterisk start
作者: 角色    時間: 2010-11-13 21:20

我记得好像要运行一个script,在不同的UNIX环境下有不同的script。

角色
作者: Qnewbie    時間: 2010-11-14 17:19

If you install asterisk from the source tarball, for instance, the source is extraxted to /usr/src/asterisk. If you type in ls command, it would say:
  1. ~# ls /usr/src/asterisk/contrib/init.d/
  2. CVS/
  3. rc.gentoo.asterisk*
  4. rc.mandrake.zaptel
  5. rc.slackware.asterisk
  6. rc.debian.asterisk
  7. rc.mandrake.asterisk
  8. rc.redhat.asterisk*
複製代碼
Select your system script file, copy to the /etc/init.d directory, chmod to 755. And add you it to rc.d and update.
作者: 角色    時間: 2010-11-14 18:02

That is exactly that I described. Thanks is given to Qnewbie.

YH
作者: lttliang    時間: 2010-11-15 00:16

我用左asterisknow1.7.1中的第6项asterisk1.4  然之后用svn自己装左gui   这样asterisk一开机就可以自动启动了  呵。。。
作者: lttliang    時間: 2010-11-15 12:07

chkconfig asterisk on
service asterisk start
ckleea 發表於 2010-11-13 18:12



    ckleea的方法是对的,我之前一直以为这两项输不输入都一样  原来是可以令到asterisk自动运行
作者: ckleea    時間: 2010-11-15 12:44

可參考這網頁

http://www.voip-info.org/wiki/vi ... +1.6.x+installation




歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/) Powered by Discuz! 7.2