Installation of Asterisk GUI

posted on 02 Nov 2007 14:40 by tonhor in Linux

Installation of Asterisk GUI
จากบทความที่แล้วเรา add user โดยconfig ที่ file [sip.conf] & [extensions.conf]
แต่คราวนี้เราจะ add user แบบง่ายๆ ผ่าน Asterisk GUI

Requirements
In order to install "Asterisk GUI" you'll need:
Concurrent Versions System (CVS)
asterisk 1.4 - and all modules needed to compile and install asterisk 1.4

/////////////////////////////////////////////////////////////////////////////

How to config Asterisk GUI?

[root@localhost ~]#yum install subversion
[root@localhost src]#svn checkout http://svn.digium.com/svn/asterisk-gui/trunk asterisk-gui

//see our sample output log svn.log

[root@localhost asterisk-gui]# ./configure
[root@localhost asterisk-gui]# make
[root@localhost asterisk-gui]# make install
[root@localhost asterisk-gui]# make samples

>Configuration
ก่อน config ให้ backup ไว้ก่อน
[root@localhost asterisk-gui]#cp -r /etc/asterisk /etc/asterisk.backup

มี 2 file ที่เราจะ config --> [manager.conf] & [http.conf]

[root@localhost asterisk]#vi manager.conf

[1:manager.conf]

displaysystemname = yes
enabled = yes
webenabled = yes
port = 5038

We will have to add a new user to `manager.conf`:
[administrator]
secret = asterisk
read = system,call,log,verbose,command,agent,user,config
write = system,call,log,verbose,command,agent,user,config

[root@localhost asterisk]#vi http.conf

[2:http.conf]

enabled=yes
enablestatic=yes
bindaddr=0.0.0.0

After that run `make checkconfig` in your asterisk-gui directory
[root@localhost asterisk-gui]# make checkconfig

--- Checking Asterisk configuration to see if it will support the GUI ---
* Checking for http.conf: OK
* Checking for manager.conf: OK
* Checking if HTTP is enabled: OK
* Checking if HTTP static support is enabled: OK
* Checking if manager is enabled: OK
* Checking if manager over HTTP is enabled: OK
--- Good luck! ---

ถ้า make checkconfig แล้วขึ้นแบบนี้ ก็ OK

สุดท้าย reload สักหน่อยครับ
localhost*CLI> reload

///////////////////////////////////////////////////////////////////////////

ก่อนอื่นเลย ลอง check ดูว่า port80 เปิด อยู่หรือเปล่า
[root@localhost asterisk-gui]# netstat -tanp | grep httpd
tcp 0 0 :::80 :::* LISTEN 24700/httpd

ถ้ายังไม่เปิด ให้ใช้คำสั่ง
[root@localhost asterisk-gui]# /etc/init.d/httpd start
Starting httpd: [ OK ]

แล้วลอง Apache Test Page ดู

///////////////////////////////////////////////////////////////////////////


เข้า Asterisk GUI ด้วย link นี้
http://x.x.x.x:8088/asterisk/static/config/cfgbasic.html

ถ้าเกิดว่า page ไม่ขึ้นให้ config ที่ http.conf
[root@localhost asterisk]# vi http.conf
prefix=asterisk // ใส่ในบรรทัดสุดท้าย

ที่มา จากคุณ pc-tech : http://www.asteriskguru.com/board/asterisk-gui-bug-or-error-vt2039.html
 ขอขอบคุณ asteriskguru.com


//////////////////////////////////////////////////////////////////////////

Free Image Hosting at www.ImageShack.us

หน้าตาของ Asterisk-gui


edit @ 1 Mar 2008 01:56:10 by TonHor

Comment

Comment:

Tweet

Ankara Escort Sitesi;
yetişkin erkekler için escort arama sitesi olarak tasarlanmıştır.
Ankara escort bayan
sitede rahatsız edici görüntüler olabilir!Escort Ankara
Eğer 21 yaşından küçük iseniz lütfen siteyi terk ediniz.izmit escort İçerikleri görüntülemek tamamen sizin seçiminizdir,
Ankara escort bayanları
görüntüleyerek bütün sorumluluğun kendinize ait olduğunu bilmenizi isteriz.
Evde masaj ankara hizmeti ile birbirinden güzel masözler eşliğinde keyifli anlar yaşayabilirisniz.
ankara escort
Ayrıca türkiye'nin güney kesimindeki mersin escort bayanları ile de iletişime geçebilirsiniz.
Ege bölgesinin eğlence mekanlarından bodrum escort kızları ile coşabilirsiniz.
Ülkemizin en egzotik şehri olan Antalya escort bayanları ile tatilleriniz dahada renklendirebilirsiniz.istanbul escort
İstanbuldaki en sexi, en çılgın istanbul escort ları ile istanbul escort istanbulu baştan fethedebilirsiniz.
İzmit ve kocaeli çevresindeki kocaeli escort kızları ile izmit escort tanışıp çılgın anları ateşli bir şekilde yaşayabilirsiniz.
ankara masaj
Başkentin en seçkin escort bayanları ile ankara escort sayfasında iletişime geçip tanışıp fantazilerinize cevap bulabilirsiniz.
eskişehir escort

#10 By ankara escort (78.162.169.175|78.162.169.175) on 2015-05-13 12:10

Bothered about how to write a resume? Contact Prime Resume company "prime-resume.com" to obtain resume writing tips. Buy resumes from highly qualified resume writers or view CV templates if you want to learn what professional CV writing looks like.

#9 By here (103.7.57.18|46.161.41.16) on 2013-04-18 19:09

Professional resume writers review will hint you where to buy resume paper in case you are busy to write a resume, just visit Resumes expert company, check out resume writing samples and our certified resume writers will successfully provide you resume writing tips. Buying resume with us is pretty easy, order resume now and stay confident about your career.

#8 By Web page (103.7.57.18|91.201.64.16) on 2012-12-10 23:28

Are you looking where to buy resume paper or where to obtain CV sample and professional CV writing services? Or you simply want to buy resume from clever resume writers? Only contact Resume company exclusiveresume.com.

#7 By resume writing services (103.7.57.18|91.201.64.16) on 2012-12-10 23:26

Are not willing to be a looser? Want to confirm your good name? To buy <a href="http://topwritingservice.com/already-written-essay.html">written essay</a> supposes to be a correct way to relize your wishes.

#6 By LouGILES27 (103.7.57.18|31.184.238.21) on 2012-07-02 22:01

ขอบคุณมากกคับ กำลังหาข้อมูล gui อยู่พอดี

ใช้แบบ command มาตลอด

#5 By 240 hz lcd hdtv (58.8.119.127) on 2009-10-07 14:41

ผมใช้ asterisk อยู่ แต่ติดปัญหา คือ add sip trunk ได้แค่ trunk เดียว ถ้า add trunk เพิ่มจะทำให้ trunk ไม่สามารถใช้งานได้ทั้งหมด
มันจะขึ้น request sent สลับกับ unregistered ตลอด ไม่ทราบว่าพอมีทางแก้ไขมัยครับbig smile

#4 By june (115.64.36.41) on 2009-05-28 22:03

ไม่รู้ตอบช้าไปไหม (น่าจะช้าอยู่)

ตรงส่วนนี้อยู่ที่ network ครับ

ไม่ก็ติด fw นะครับเพราะใน ตย.ใช้ port 8088

#3 By TonHor on 2009-04-30 11:40

ถ้า config ตามนี้แล้ว make checkconfig ก็ ok ครับ
แต่เรียก GUI ผ่าน เครื่องอื่นไม่ได้ เรียกได้เฉพาะบนเครื่องที่ run asterisk ครับ
รบกวนขอคำแนะนำหน่อยครับ
ขอบคุณมากครับ

#2 By Man (203.113.0.205) on 2008-04-03 11:37

กรูก็ใช่อยู่...บทความดีมากก

#1 By iHall (203.185.129.245) on 2007-11-21 13:10