AsteriskThailand
May 22, 2012, 11:02:34 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Installation of Asterisk GUI  (Read 4842 times)
tonhor
Newbie
*
Posts: 7


View Profile Email
« on: December 26, 2007, 08:55:42 PM »

     Installation of 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

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

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

   ที่มา : http://tonhor.exteen.com/
   ref : http://asteriskguru.com
« Last Edit: August 03, 2008, 08:21:02 AM by tonhor » Logged
Patrickz
Global Moderator
Sr. Member
*****
Posts: 274


View Profile WWW
« Reply #1 on: December 27, 2007, 10:20:26 AM »

ขอบคุณครับ  ดูเหมือนว่า asterisk-gui ติดตั้งง่ายกว่า FreePBX แฮะ
Logged

echooff
Newbie
*
Posts: 1


View Profile Email
« Reply #2 on: April 08, 2008, 07:39:25 PM »

แจ่ม ครับ
ขอบคุณมากครับ
Logged
CEeTeE
Newbie
*
Posts: 4



View Profile Email
« Reply #3 on: June 16, 2008, 04:21:26 PM »

มือใหม่ครับ  ใช้ asterisk .1.4.X บน Ubuntu 8.04  ใช้ที่ command line ก็โอเค(ลองเล่นบนโน้ตบุ้ค) 
พอรู้ว่ามี GUI ก็อยากใช้บ้างแต่  มันลงไม่ผ่าน ./configure ไม่จบ

root@ceetee-laptop:~/asterisk-gui# ./configure
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking for uname... /bin/uname
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
root@ceetee-laptop:~/asterisk-gui#

ขอความช่วยเหลือ ผู้รู้ด้วยครับ


« Last Edit: June 16, 2008, 04:35:58 PM by CEeTeE » Logged

tonhor
Newbie
*
Posts: 7


View Profile Email
« Reply #4 on: July 28, 2008, 11:31:59 AM »


 ลง packet ครบหรือยังครับลอง

 apt-get install build-essential  ดูครับ

 
Logged
CEeTeE
Newbie
*
Posts: 4



View Profile Email
« Reply #5 on: July 31, 2008, 12:18:40 AM »

ขอบคุณครับ  ผ่านทุกด่านถึง make checkconfig แล้วครับ 

root@ceetee-laptop:~/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
 --- Everything looks good ---   
 * GUI should be available at http://ceetee-laptop:8088/asterisk/static/config/cfgbasic.html

 * The login and password should be an entry from /etc/asterisk/manager.conf
   which has 'config' permission in read and write.  For example:

    [admin]
    secret = mysecret8344
    read = system,call,log,verbose,command,agent,config
    write = system,call,log,verbose,command,agent,config

 --- Good luck! ---   
root@ceetee-laptop:~/asterisk-gui#


แต่......


/etc/init.d/httpd  start ไม่ขึ้น    เลย เปิดเว็บเพจไม่ได้  ไล่ดูใน /etc/init.d/  ไม่มี httpd  มีแต่ apache2  (เปิด http://localhost ธรรมดาได้ )




http://localhost:8088/asterisk/static/config/cfgbasic.html

Not Found

Nothing to see here. Move along.
Asterisk Server


(ในส่วน command line ยังโทร.ได้อยู่)

« Last Edit: July 31, 2008, 12:37:02 AM by CEeTeE » Logged

uncclenart
Newbie
*
Posts: 3


View Profile
« Reply #6 on: July 31, 2008, 06:44:24 AM »

ของผมอาการเดียวกันเลยครับ
เลยตัดสินใจ กลับไปใช้ Trixbox อีกเหมือนเดิม ทีเดียวจบ
ขอบคุณครับ
ขอบคุณครับ  ผ่านทุกด่านถึง make checkconfig แล้วครับ 

root@ceetee-laptop:~/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
 --- Everything looks good ---   
 * GUI should be available at http://ceetee-laptop:8088/asterisk/static/config/cfgbasic.html

 * The login and password should be an entry from /etc/asterisk/manager.conf
   which has 'config' permission in read and write.  For example:

    [admin]
    secret = mysecret8344
    read = system,call,log,verbose,command,agent,config
    write = system,call,log,verbose,command,agent,config

 --- Good luck! ---   
root@ceetee-laptop:~/asterisk-gui#


แต่......


/etc/init.d/httpd  start ไม่ขึ้น    เลย เปิดเว็บเพจไม่ได้  ไล่ดูใน /etc/init.d/  ไม่มี httpd  มีแต่ apache2  (เปิด http://localhost ธรรมดาได้ )




http://localhost:8088/asterisk/static/config/cfgbasic.html

Not Found

Nothing to see here. Move along.
Asterisk Server


(ในส่วน command line ยังโทร.ได้อยู่)


Logged
CEeTeE
Newbie
*
Posts: 4



View Profile Email
« Reply #7 on: July 31, 2008, 06:57:59 PM »

หุหุ...ฝรั่งก็เป็น  http://www.asteriskguru.com/tutorials/asterisk_gui.html

เค้าให้แก้โดย   
Solution :

You must clear from /usr/share/asterisk/
directory static-http/
and make symbolic link :
ln -s /var/lib/asterisk/static-http/ /usr/share/asterisk/

แปลว่าให้เคลียร์ /usr/share/asterisk/  เอา static-http ทิ้งไปซะ  แล้ว  ln -s /var/lib/asterisk/static-http/ /usr/share/asterisk/  มาแทน  แค่นี้เอง 555++


โอเช  สำเร็จ
เค้ามี http.conf / manager.conf ให้โหลดมาใช้ด้วย (ข้อ 6)

ขอบคุณ  เพื่อนร่วมชะตากรรม ผู้รัก Asterisk / Ubuntu ทุกท่าน   อาจมีเรื่องมารบกวนอีก
« Last Edit: July 31, 2008, 07:00:28 PM by CEeTeE » Logged

tonhor
Newbie
*
Posts: 7


View Profile Email
« Reply #8 on: August 03, 2008, 08:16:44 AM »

 
Quote
แต่......


/etc/init.d/httpd  start ไม่ขึ้น    เลย เปิดเว็บเพจไม่ได้  ไล่ดูใน /etc/init.d/  ไม่มี httpd  มีแต่ apache2  (เปิด http://localhost ธรรมดาได้ )

 อ่อ แสดงว่าคุณใช้ตระกูลพวก debian / ubuntu อะครับ ผมใช้ redhat

 file อาจแตกต่้างกันบ้าง

-----------------------------------------------

นานๆมาที ขออภัยครับ เพราะเดียวนี้ไม่ได้ไปยุ่งกะพวก voice เลย
« Last Edit: August 03, 2008, 08:19:18 AM by tonhor » Logged
uncclenart
Newbie
*
Posts: 3


View Profile
« Reply #9 on: August 04, 2008, 05:04:17 PM »

ผมยอม เปลี่ยนไปคบกับ trixbox เช่นเดิมแล้วครับ ยอมครับ (รีบ)
ขอบคุณครับ
Logged
SHVENIL LTD.
Newbie
*
Posts: 16


View Profile Email
« Reply #10 on: April 30, 2009, 03:11:33 PM »

รับสมัครผู้เชี่ยวชาญระบบAsterisk
02-2674252
Logged
hardxman
Newbie
*
Posts: 3


View Profile Email
« Reply #11 on: August 14, 2009, 10:07:31 AM »

หุหุ...ฝรั่งก็เป็น  http://www.asteriskguru.com/tutorials/asterisk_gui.html

เค้าให้แก้โดย   
Solution :

You must clear from /usr/share/asterisk/
directory static-http/
and make symbolic link :
ln -s /var/lib/asterisk/static-http/ /usr/share/asterisk/

แปลว่าให้เคลียร์ /usr/share/asterisk/  เอา static-http ทิ้งไปซะ  แล้ว  ln -s /var/lib/asterisk/static-http/ /usr/share/asterisk/  มาแทน  แค่นี้เอง 555++


โอเช  สำเร็จ
เค้ามี http.conf / manager.conf ให้โหลดมาใช้ด้วย (ข้อ 6)

ขอบคุณ  เพื่อนร่วมชะตากรรม ผู้รัก Asterisk / Ubuntu ทุกท่าน   อาจมีเรื่องมารบกวนอีก



ได้แล้วครับท่าน ตามนนี้เลย
Logged
peeturn
Newbie
*
Posts: 8


View Profile
« Reply #12 on: August 27, 2009, 11:04:44 AM »

ลงได้ครับ แต่พอจะสร้าง extension มันไม่ได้ครับ
No DialPlans found !!
No DialPlans defined !!

A dialplan is required for creating new users.
You will now be redirected to the 'Manage DialPlans' page.
   
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
SEM | Asterisk | สถานที่ท่องเที่ยว | สัมมนา SEM