User Tools

Site Tools


voice:pbx:thirdlane

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:thirdlane [2011/12/21 13:45]
gcooper
voice:pbx:thirdlane [2016/08/18 13:21] (current)
gcooper
Line 18: Line 18:
 If you create a backup, then delete these files from the .tar.gz, the temporary license will not be overwritten: If you create a backup, then delete these files from the .tar.gz, the temporary license will not be overwritten:
  
 +<file>
 /etc/webmin/asterisk/license-data /etc/webmin/asterisk/license-data
 /etc/webmin/asterisk/pbxmanager.license /etc/webmin/asterisk/pbxmanager.license
 +</file>
  
 ==== Spoof a MAC Address ==== ==== Spoof a MAC Address ====
Line 28: Line 30:
 vim /etc/rc.local vim /etc/rc.local
  
-ifconfig eth0 down hw ether 00:07:E9:DA:56:EB #specify desired MAC address+ifconfig eth0 down hw ether 00:07:E9:DA:56:01 #specify desired MAC address
 ifconfig eth0 up ifconfig eth0 up
 </file> </file>
Line 95: Line 97:
 mysql -u root mysql -u root
   use mysql;   use mysql;
-  update user set password=PASSWORD("bad1egg") where User='root'; +  update user set password=PASSWORD("new-password-here") where User='root'; 
-  flush privileges;SpIp+  flush privileges;
   quit   quit
      
Line 108: Line 110:
 === Configuration === === Configuration ===
  
-See [[voice:pbx:dahdi|DAHDI]]+See **[[voice:pbx:dahdi|DAHDI]]**
  
 ===== NTP ===== ===== NTP =====
Line 128: Line 129:
  
 ===== DHCP Server ===== ===== DHCP Server =====
-<note important> 
-DHCP Server (SME Server) 
  
-Polycom</note>+FIXME
  
 ===== Music on Hold ===== ===== Music on Hold =====
  
-See [[voice:pbx:moh|Music on Hold]].+See **[[voice:pbx:moh|Music on Hold]]**
  
 ===== Configuration ===== ===== Configuration =====
Line 245: Line 244:
  Direction: Inbound  Direction: Inbound
  Context: from-outside  Context: from-outside
- Caller ID: Sonora Comm <5204072000>+ Caller ID: Company Name <NXXNXXXXXX>
  Codecs: G.711u, G.729, GSM # order by preference  Codecs: G.711u, G.729, GSM # order by preference
  DTMF mode: Auto  DTMF mode: Auto
Line 254: Line 253:
  
  Name: vitel-outbound  Name: vitel-outbound
- Host: 64.2.142.93+ Host: <outbound_ip_address>
  Description: Vitelity Outbound SIP Trunk  Description: Vitelity Outbound SIP Trunk
  Direction: Outbound  Direction: Outbound
Line 287: Line 286:
   * DID   * DID
     * Create Schedule-based Route     * Create Schedule-based Route
-    * DID/Pattern: 5203341104 +    * DID/Pattern: <your_did_number> 
-    * Description: Gene - Direct Dial+    * Description: My Direct Dial
     * When: All Hours     * When: All Hours
     * Script: Goto User Extension     * Script: Goto User Extension
Line 314: Line 313:
  
 ===== IVR (Auto-Attendant) ===== ===== IVR (Auto-Attendant) =====
- + 
 +FIXME 
 +
 ===== Backup ===== ===== Backup =====
  
Line 322: Line 323:
  Schedule backup  Schedule backup
  Simple -> Daily  Simple -> Daily
- FTP Server -> linus.sonoracomm.local + FTP Server -> <ftp_server_name> 
- File on FTP Server -> /users/pbxbackup/home/backup.thirdlane.tar.gz+ File on FTP Server -> /path/to/your/backup.thirdlane.tar.gz
  
 I also had to edit root's crontab to suppress useless e-mail messages sent nightly: I also had to edit root's crontab to suppress useless e-mail messages sent nightly:
Line 351: Line 352:
 ==== Fail2Ban ==== ==== Fail2Ban ====
  
-[[networking:linux:fail2ban|Fail2Ban]] is installed by default using TL ISO 2.0+.+**[[networking:linux:fail2ban|Fail2Ban]]** is installed by default using TL ISO 2.0+.
  
-Fail2ban can complicate troubleshooting, so check it!+:!: Fail2ban can complicate troubleshooting, so check it!
  
 ==== Arno's Firewall ==== ==== Arno's Firewall ====
Line 416: Line 417:
  
 If you want to announce the extension number to the callers, and dial by first name, clone the script tl-directory into tl-directory-first-ext. If you want to announce the extension number to the callers, and dial by first name, clone the script tl-directory into tl-directory-first-ext.
 +
 +To clone a script on Web Interface menu go to PBX Settings > Script Library > choose script to clone and use button at the bottom of the page.
  
 Add '|ef' to the options: Add '|ef' to the options:
Line 449: Line 452:
  
 ==== Postfix ==== ==== Postfix ====
 +
 +See also **[[networking:linux:postfix_smarthost|Postfix Authenticated Smarthost]]**
  
 http://www.cyberciti.biz/faq/postfix-smtp-authentication-for-mail-servers/ http://www.cyberciti.biz/faq/postfix-smtp-authentication-for-mail-servers/
Line 455: Line 460:
  
 ISO 2.0 install includes the Postfix MTA, so we tweak it to **forward mail to a smarthost** rather than configure everything necessary for a full-blown mail server. ISO 2.0 install includes the Postfix MTA, so we tweak it to **forward mail to a smarthost** rather than configure everything necessary for a full-blown mail server.
 +
 +Set the From Address for messages from the PBX:
  
 **System Settings -> Network Settings -> Postfix SMTP rewriting -> iPBX@sonoracomm.com** **System Settings -> Network Settings -> Postfix SMTP rewriting -> iPBX@sonoracomm.com**
- 
-You can copy and paste the following into an editor, then adjust the $SMTPHOST and $USERPASS variables for your needs.  Then, as ''root'', paste it to the command line: 
- 
-<file> 
-FILE=/etc/postfix/password 
-SMTPHOST=your.mailserver.domain 
-USERPASS=user:pass 
- 
-cat << EOF >> $FILE 
-#smtp.isp.com       username:password 
-$SMTPHOST  $USERPASS 
-EOF 
- 
-chown root:root $FILE 
-chmod 0600 $FILE 
-postmap hash:$FILE 
- 
-postconf -e "relayhost = $SMTPHOST" 
-postconf -e 'smtp_sasl_auth_enable = yes' 
-postconf -e 'smtp_sasl_password_maps = hash:/etc/postfix/password' 
-postconf -e 'smtp_sasl_security_options =' 
- 
-/etc/init.d/postfix reload 
-</file> 
  
 ==== voicemail.conf ==== ==== voicemail.conf ====
  
-Edit voicemail.conf.  Set format for e-mail attachments to 'wav'.+Edit ''voicemail.conf''.  Set format for e-mail attachments to 'wav'.
  
 <file> <file>
Line 499: Line 482:
  
 ===== Digium TDM Cards ===== ===== Digium TDM Cards =====
 +
 +:!: TDM (FXO) cards don't like to share a hardware interrupt.
  
 Check for shared IRQ: Check for shared IRQ:
Line 512: Line 497:
   - Connect the phone lines to the FXO ports   - Connect the phone lines to the FXO ports
   - Shut down Asterisk   - Shut down Asterisk
-  - Run ''fxotune'':+  - Run ''fxotune'' to modify the config file 
 +  - Verify the changed config file 
 +  - Restart Asterisk 
 + 
 +Shut down Asterisk, then: 
 + 
 <file> <file>
 fxotune -i 4 fxotune -i 4
Line 527: Line 517:
 Normally, fxotune -s is run by Zapata startup. Normally, fxotune -s is run by Zapata startup.
  
-Restart Asterisk+Restart Asterisk.
  
 ===== Provisioning ===== ===== Provisioning =====
Line 620: Line 610:
  
 === Programming === === Programming ===
 +
 +http://www.thirdlane.com/forum/custom-polycom-soft-key-programming
  
 Edit /etc/asterisk/user_provisioning/polycom_mac.cfg: Edit /etc/asterisk/user_provisioning/polycom_mac.cfg:
voice/pbx/thirdlane.1324500355.txt.gz · Last modified: 2011/12/21 13:45 by gcooper