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 [2012/02/16 16:43]
gcooper
voice:pbx:astlinux [2017/01/25 09:09] (current)
gcooper
Line 14: Line 14:
  
 <file> <file>
-ssh -p 2222 -l root -L 4443:pbx:443 -L 8088:pbx:8088 -L 8080:ata1:80 mail.janzenwahl.com+ssh -p 2222 -l root -L 4443:pbx:443 -L 8088:pbx:8088 -L 8080:ata:80 <remote host>
 </file> </file>
  
 **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 =====
  
-==== From CD ====+http://doc.astlinux.org/userdoc:new-install
  
-Boot from CD. +Download and extract the image file and write it to the flash card:
- +
-Credentials: **root** / **astlinux** +
- +
-<file> +
-astinstall +
-</file> +
- +
-The most common device to install to is ''/dev/hda'' or ''/dev/sda''+
- +
-==== From Disk Image ==== +
- +
-Copy the latest image to the CF card (512MB or larger): +
- +
-<file> +
-fdisk -l +
-sudo sh -c "gunzip -c /path/to/astlinux.img.gz > /dev/sdb" +
-</file> +
- +
-Or, unzip package, then:+
  
 <file> <file>
-sudo dd if=Desktop/astlinux.img of=/dev/sdb+sudo dd if=Desktop/astlinux-1.1.0.img of=/dev/sdx
 </file> </file>
  
Line 58: Line 39:
 Web Interface (HTTPS): **admin/astlinux** Web Interface (HTTPS): **admin/astlinux**
  
-https://192.168.1.30+https://192.168.1.30/admin/setup.php
  
 ==== Serial Console ==== ==== Serial Console ====
Line 77: 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''
  
-Edit path in musiconhold.conf to be /var/lib/asterisk/moh/.+FIXME Is this next line necessary? 
 + 
 +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 101: 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 111: 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 132: 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 147: 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 156: Line 145:
  
 ===== Asterisk-GUI ===== ===== Asterisk-GUI =====
 +
 +http://doc.astlinux.org/userdoc:tt_asterisk-gui
  
 ==== Backup ==== ==== Backup ====
Line 167: 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
Line 203: Line 210:
  
 Change this value to “no” to have the system timezone used for the CDR. Change this value to “no” to have the system timezone used for the CDR.
 +
 +==== Dialplan Customization ====
 +
 +http://forums.asterisk.org/viewtopic.php?f=35&t=72076
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
Line 238: Line 249:
 <file> <file>
 service ntpd restart service ntpd restart
 +
 +tail /var/log/messages
 </file> </file>
voice/pbx/astlinux.1329435780.txt.gz · Last modified: 2012/02/16 16:43 by gcooper