1. libpri มันคือ library ใช่ไหมคับ แล้วมันเกี่ยวกับอะไร แบบว่าเอาไว้ใช่ทำอะไร เพราะว่าผมไม่ต้องลงมันก็ยังใช้ได้นะ
2. ผมใช้ asterisk 1.2 ก็work ทุกอย่าง แล้วผมก็ลองเปลี่ยนมาใช้ asterisk 1.4.2 มันก็ใช้ได้นะคับ แต่ว่ามันขึ้นว่า
[root@localhost asterisk]# asterisk -vvvvcgr
Asterisk 1.4.2, Copyright (C) 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.2 currently running on localhost (pid = 3495)
Verbosity is at least 4
-- Remote UNIX connection
localhost*CLI>
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
ตรงนี้มันหมายถึงอะไรอะคับ 2file นี้มัน config ผิดหรือว่ายังไง
แต่มันใช้งานได้นะ ใช้ softphone คุยกันได้ปกติ
3. Installation of Asterisk GUI ผมconfigเส็จแล้ว แล้วก็ลอง checkconfig ดู มัน ok นะ
[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
--- Everything looks good ---
* GUI should be available at http://127.0.0.1:8088/asterisk/static/config/cfgbasic.html
* Before using the GUI, Please visit the install page at
* http://127.0.0.1:8088/asterisk/static/config/setup/install.html
* Note: If you have bindaddr=127.0.0.1 in /etc/asterisk/http.conf
you will only be able to visit it from the local machine.
Example: http://127.0.0.1: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 = mysecret10149
read = system,call,log,verbose,command,agent,config
write = system,call,log,verbose,command,agent,config
--- Good luck! ---
แต่ มันเข้าเวปไม่ได้ (
http://x.x.x.x:8088/asterisk/static/config/setup/install.html)
[root@localhost asterisk]# netstat -tanp | grep httpd
tcp 0 0 :::80 :::* LISTEN 9770/httpd
port80 ก็เปิด ลอง test page ก็ได้ ผมก็สงสัยว่าน่าจะเปนที่ 2 file ที่ config คือ
http.conf [general]
enabled=yes
enablestatic=yes
bindaddr=0.0.0.0 <<<<<<<<<<<<
bindport=8088
manager.conf[general]
displaysystemname = yes
enabled = yes
webenabled = yes
port = 5038
httptimeout = 60
bindaddr = 0.0.0.0 <<<<<<<<<<
[administrator]
secret = lriur
read = system,call,log,verbose,command,agent,user,config
write = system,call,log,verbose,command,agent,user,config
ผมจึงอยากถามว่า ตรง bindaddr = x.x.x.x ผมควรใส่ip อะไร 0.0.0.0 หรือ 127.0.0.1 หรือ ใส่ip server ไปเลย
หรือมี file อื่นที่เกี่ยวข้องอีก
ขอบคุณมากครับ ไม่รุ้ยาวไปเปล่า