24/07/2560

การตั้งค่าการใช้งาน Elastix กับ AIS SIP Trunk

หลังจากได้เปิดใช้งาน AIS Fixed Line IP (AIS SIP Trunk แบบ Corporate)

ก็จะได้เอกสารมาหนึ่งแผ่น ซึ่งจะแจ้งข้อมูลดังนี้

  1. หมายเลขโทรศัพท์ ที่ใช้เป็นเลขหมายสำหรับโทรเข้าออก
  2. หมายเลขโทรศัพท์ ที่สามารถใช้งานได้ทั้งหมด (เป็นชุดเลขหมาย)
    เบื้องต้นที่ขอติดตั้ง 15 เลขหมาย 30 Concurrent
  3. จำนวน Call Pre Sec: 1
  4. Concurrent: 30
  5. Voice Codec: G711 & G729
  6. Fax Protocol: T38
  7. Authentication: IP Address Peering (ไม่ต้องทำการ Register โดยจะทำการเชื่อมต่อกันผ่าน IP Address ซึ่งหากเป็น IP ที่กำหนด จะสามารถใช้งานได้)
    โดยการติดตั้ง จะให้อุปกรณ์ Router Gateway พร้อม กำหนด IP Address ไว้แล้ว
  8. กดหนด IP SIP Server ของลูกค้า
  9. กำหนด IP Gateway ที่จะวิ่งไปหา SIP Server ของ AIS
  10. กำหนด IP SBC Server (SIP Server ของ AIS)
  11. แจ้งไว้ด้วยว่าในการใช้งาน ให้ตัด 0 ด้านหน้าออก เช่น 023456789 ก็ใช้เพียง 23456789 แทน User หรือเลขหมายที่ใช้งาน
เริ่มต้น ตั้งค่า

20/07/2560

ติดตั้ง Elastix แล้วไม่สามารถใช้คำสั่ง yum ได้

เมื่อติดตั้ง Elastix แล้วไม่สามารถใช้คำสั่ง yum ได้ 

กรณีพบปัญหา
[root@sip ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/addons/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: addons


ให้ทำการแก้ไขไฟล์

/etc/yum.repos.d/CentOS-Base.repo

ให้มีค่าตามนี้

how to add static route (Elastix) : วิธีเพิ่ม Staic Route ให้ Elastix

กรณีElastix มี หลาย Network Card
แล้วต้องการเพิ่ม Route เข้าไปในระบบ สามารถเพิ่ม Static Route ได้ตามนี้

# route add -host <Destination IP>  gw <Gateway IP> eth1


17/07/2560

Elastix cannot create some extension : Elastix ไม่สามารถสร้าง บาง เลขหมาย ได้

ให้ตรวจสอบ เพราะอาจจะไปซ้ำกับเลขหมายใน Feature Code
--------------------------------------------------------------------------
Please Check in Feature Code Number


16/07/2560

phpbb3 change password ldap admin

In-case

phpbb3 user ldap mode

when you change password of administrator system cannot connect to LDAP server.

First you clear cache Folder in phpbb3.
path of cache /phpbb3/cache
please delete app file.
after delete please test login again



-------------------------------------------------------------
ภาษาไทย

กรณีที่ท่านใช้งาน phpbb3 แล้วเปิด Authen mode เป็น LDAP
โดยจะต้อง กำหนด user และ password เพื่อเชื่อมต่อ
หากเปลี่ยน password จะต้องทำการ reset ข้อมูลใน cache ก่อน โดย path ที่ต้องเข้าไปลบข้อมูลคือ
/phpbb3/cache
เมื่อลบข้อมูลใน Folder ดังกล่าวแล้ว จะสามารถใช้งานได้ตามปกติ


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

ref
ข้อมูลที่ควรทราาบ

Path เก็บ cache : /phpbb3/cache
DB of
ldap config : phpbb_config : (search for ldap)
authen mode : auth_method : disable (for internal), ldap (for ldap)