User Tools

Site Tools


voice:pbx:astlinux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
voice:pbx:astlinux [2013/02/13 15:12]
gcooper
voice:pbx:astlinux [2017/01/25 09:09] (current)
gcooper
Line 19: Line 19:
 **ASTlinux GUI**: https://localhost:4443/status.php **ASTlinux GUI**: https://localhost:4443/status.php
  
-**Asterisk-GUI**: http://localhost:8088/asterisk/static/config/index.html+**Asterisk-GUI**: http://localhost:8088/static/config/index.html or http://localhost:8088/asterisk/static/config/index.html
  
 ===== Installation ===== ===== Installation =====
Line 58: Line 58:
 **AstLinux Management -> System Tab -> Asterisk Sounds Packages -> core-english-ulaw -> Upgrade/Install -> Sounds Package** **AstLinux Management -> System Tab -> Asterisk Sounds Packages -> core-english-ulaw -> Upgrade/Install -> Sounds Package**
  
-also: extra-english-ulaw +also: ''extra-english-ulaw'' 
-also: moh-english-ulaw+also: ''moh-english-ulaw''
  
 FIXME Is this next line necessary? FIXME Is this next line necessary?
  
-Edit path in musiconhold.conf to be /var/lib/asterisk/moh/.+Edit path in ''musiconhold.conf'' to be ''/var/lib/asterisk/moh/''.
  
 ===== Configuration ===== ===== Configuration =====
  
-The main configuration files for ASTLinux are in /mnt/kd/rc.conf.d. If you never used the web interface, that file will not exist so you should edit /mnt/kd/rc.conf instead. If the /mnt/kd/rc.conf.d directory exists, do not edit /mnt/kd/rc.conf.+:!: The main configuration files for ASTLinux are in ''/mnt/kd/rc.conf.d''. If you never used the web interface, that file will not exist so you should edit ''/mnt/kd/rc.conf'' instead. If the ''/mnt/kd/rc.conf.d'' directory exists, do not edit ''/mnt/kd/rc.conf''.
  
-Do not manually edit the files in /etc/asterisk. Use the Edit tab in the web interface. This is due to the design of ASTLinux to run from flash storage and to minimize write operations.+:!: Do not manually edit the files in /etc/asterisk. Use the Edit tab in the web interface. This is due to the design of ASTLinux to run from flash storage and to minimize write operations.
  
 That being said, here is some sample (minimal) web interface configuration. That being said, here is some sample (minimal) web interface configuration.
Line 84: Line 84:
  
   * Hostname -> PBX   * Hostname -> PBX
-  * Domain -> familycooper.org+  * Domain -> yourdomainname.org
   * DNS -> 8.8.8.8   * DNS -> 8.8.8.8
   * Static -> 192.168.2.30   * Static -> 192.168.2.30
Line 94: Line 94:
 **AstLinux Management -> Network -> Outbound SMTP Mail Relay ->** **AstLinux Management -> Network -> Outbound SMTP Mail Relay ->**
  
-  * SMTP Server -> mail.sonoracomm.com (with local mail and DNS servers, use IP address) +  * SMTP Server -> mail.yourdomainname.com (with local mail and DNS servers, use IP address) 
-  * SMTP Domain -> sonoracomm.com (be sure to use full e-mail addresses - no shortcuts)+  * SMTP Domain -> yourdomainname.com (be sure to use full e-mail addresses - no shortcuts)
   * SMTP Authentication -> Plain   * SMTP Authentication -> Plain
   * SMTP Encryption -> SSL - Ignore Cert   * SMTP Encryption -> SSL - Ignore Cert
   * SMTP Username -> smtp   * SMTP Username -> smtp
-  * SMTP Password -> pill9gale +  * SMTP Password -> yourchosenpassword 
  
 **Save Settings -> Confirm -> Reboot** **Save Settings -> Confirm -> Reboot**
Line 115: Line 115:
 Comment out any unnecessary drivers with '#' and save. Comment out any unnecessary drivers with '#' and save.
  
-===== DAHDI (Zaptel) Hardware =====+===== DAHDI (Analog) Hardware =====
  
 http://doc.astlinux.org/userdoc:dahdi http://doc.astlinux.org/userdoc:dahdi
  
-Edit /mnt/kd/rc.conf.d/user.conf and add/change the DAHDIMODS setting to load the proper module for your+Create DAHDI configuration if it did not previously exist: 
 + 
 +<file> 
 +dahdi_genconf 
 +</file> 
 + 
 +Edit ''/mnt/kd/rc.conf.d/user.conf'' and add/change the ''DAHDIMODS'' setting to load the proper module for your
 Digium (or other Zap) card: Digium (or other Zap) card:
  
-  * DAHDIMODS=wctdm #OLD Digium 400p (and clones) +  * ''DAHDIMODS=wctdm'' #OLD Digium 400p (and clones) 
-  * DAHDIMODS=wctdm24xxp # NEW Digium cards 410p, etc +  * ''DAHDIMODS=wctdm24xxp'' # NEW Digium cards 410p, etc 
-  * DAHDIMODS=rcbfx # Rhino 8 and 24 port analog cards+  * ''DAHDIMODS=rcbfx'' # Rhino 8 and 24 port analog cards
  
 Create a system.conf (old name was zaptel.conf) file in /mnt/kd/dahdi.  This will be used after rebooting. Create or edit a chan_dahdi.conf (old name was zapata.conf) file in /mnt/kd/asterisk/. Create a system.conf (old name was zaptel.conf) file in /mnt/kd/dahdi.  This will be used after rebooting. Create or edit a chan_dahdi.conf (old name was zapata.conf) file in /mnt/kd/asterisk/.
Line 130: Line 136:
 If your DAHDI hardware does not have hardware echo cancellation, you will need to enable software echo cancellation in the system.conf file: If your DAHDI hardware does not have hardware echo cancellation, you will need to enable software echo cancellation in the system.conf file:
  
-  * echocanceller=mg2,1-8+  * ''echocanceller=mg2,1-8''
  
 This specifies use of the mg2 echo canceller on channels 1-8. This specifies use of the mg2 echo canceller on channels 1-8.
Line 139: Line 145:
  
 ===== Asterisk-GUI ===== ===== Asterisk-GUI =====
 +
 +http://doc.astlinux.org/userdoc:tt_asterisk-gui
  
 ==== Backup ==== ==== Backup ====
Line 150: Line 158:
 ==== Enable Asterisk-GUI ==== ==== Enable Asterisk-GUI ====
  
-Create a link to the asterisk-gui in the Astlinux web interface:+:!: Asterisk-GUI is no longer supported with AstLinux 1.2.3 and later. 
  
-Prefs -> General Options -> External URL Link: http://localhost:8088/asterisk/static/config/index.html+Create a link to the Asterisk-GUI in the Astlinux web interface:
  
-**AstLinux Management -> Prefs -> General Options -> External URL NameAsterisk-GUI**+**Prefs -> General Options -> External URL Link** 
 + 
 +<file> 
 +http://localhost:8088/static/config/index.html 
 +</file> 
 + 
 +:!: Try this URL if that URL doesn't work: 
 + 
 +<file> 
 +http://localhost:8088/asterisk/static/config/index.html 
 +</file> 
 + 
 +**AstLinux Management -> Prefs -> General Options -> External URL Name** 
 + 
 +<file> 
 +Asterisk-GUI 
 +</file>
  
 ==== Configure Admin Credentials ==== ==== Configure Admin Credentials ====
  
-Edit manager.conf from the Edit tab. Leave the [webinterface] stanza, but add new credentials with:+Edit ''manager.conf'' from the Edit tab. Leave the ''[webinterface]'' stanza, but add new credentials with:
  
 <file> <file>
 [admin] [admin]
-secret = bad1egg ; this will be the user and password for the GUI login+secret = yoursecret ; this will be the user and password for the GUI login
 deny = 0.0.0.0/0.0.0.0 ; deny all not specifically permitted deny = 0.0.0.0/0.0.0.0 ; deny all not specifically permitted
-permit = 192.168.2.0/255.255.255.0 ; set apprpriately for your network+permit = 192.168.2.0/255.255.255.0 ; set appropriately for your network
 read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan
 write = system,call,agent,user,config,command,reporting,originate write = system,call,agent,user,config,command,reporting,originate
voice/pbx/astlinux.1360793568.txt.gz · Last modified: 2013/02/13 15:12 by gcooper