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/16 10:42]
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 425: Line 428:
 Once the script is created, add a feature code that uses the new script.  Then you can use it in IVRs. Once the script is created, add a feature code that uses the new script.  Then you can use it in IVRs.
  
-<note important>Root Mail</note>+===== Root Mail =====
  
-===== Voicemail to E-Mail =====+To forward administrative mail to a real user, edit ''/etc/aliases'':
  
-ISO 2.0 install includes Postfix MTA, so we tweak it to forward mail to a smarthost rather than configure everything necessary for a full-blown mail server.+<file> 
 +vi /etc/aliases 
 +</file>
  
-System Settings -> Network Settings -> Postfix SMTP rewriting -> iPBX@sonoracomm.com+Edit the bottom of the file:
  
-http://www.cyberciti.biz/faq/postfix-smtp-authentication-for-mail-servers/+<file> 
 +# Person who should get root's mail 
 +root          you@your.domain 
 +</file>
  
-http://www.dnsexit.com/support/mailrelay/postfix.html +Then run the ''newaliases'' command to activate the changes:
- +
-As root (copy 'n paste):+
  
 <file> <file>
-FILE=/etc/postfix/password +newaliases 
-SMTPHOST=www.sonoracomm.com +</file>
-USERPASS=smtp:pill9gale+
  
-cat << EOF >> $FILE +===== Voicemail to E-Mail =====
-#smtp.isp.com       username:password +
-$SMTPHOST  $USERPASS +
-EOF+
  
-chown root:root $FILE +==== Postfix ====
-chmod 0600 $FILE +
-postmap hash:$FILE+
  
-postconf -e "relayhost = $SMTPHOST" +See also **[[networking:linux:postfix_smarthost|Postfix Authenticated Smarthost]]**
-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 +http://www.cyberciti.biz/faq/postfix-smtp-authentication-for-mail-servers/ 
-</file>+ 
 +http://www.dnsexit.com/support/mailrelay/postfix.html 
 + 
 +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**
  
 ==== 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 478: 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:
  
 +<file>
 lspci -vb lspci -vb
 +</file>
  
 ===== Echo Cancellation ===== ===== Echo Cancellation =====
  
-Run fxotune to tune the TDM card to the actual phone lines connected:+Run ''fxotune'' to tune the TDM card to the actual phone lines connected.
  
-Connect the phone lines to the FXO ports +  - Connect the phone lines to the FXO ports 
-Shut down Asterisk+  Shut down Asterisk 
 +  - Run ''fxotune'' to modify the config file 
 +  - Verify the changed config file 
 +  - Restart Asterisk
  
 +Shut down Asterisk, then:
 + 
 +<file>
 fxotune -i 4 fxotune -i 4
  
 cat /etc/fxotune.conf cat /etc/fxotune.conf
 +</file>
  
-Run this to set the running configuration to the settings in /etc/fxotune.conf (created by fxotune -i 4):+Run this to set the running configuration to the settings in ''/etc/fxotune.conf'' (created by fxotune -i 4):
  
 +<file>
 fxotune -s fxotune -s
 +</file>
  
 Normally, fxotune -s is run by Zapata startup. Normally, fxotune -s is run by Zapata startup.
  
-Restart Asterisk+Restart Asterisk.
  
 ===== Provisioning ===== ===== Provisioning =====
Line 507: Line 524:
  
 http://www.thirdlane.com/forum/ftp http://www.thirdlane.com/forum/ftp
 +
 +http://www.fonality.com/trixbox/forums/vendor-moderated-forums/polycom/configuring-polycom-phones-tb-2-2-endpoint-mgr
  
   * Download the appropriate SIP and BOOTROM from Polycom Portal    * Download the appropriate SIP and BOOTROM from Polycom Portal 
Line 591: 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.1324057344.txt.gz · Last modified: 2011/12/16 10:42 by gcooper