This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
voice:pbx:thirdlane [2012/06/26 13:24] 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: | ||
+ | < | ||
/ | / | ||
/ | / | ||
+ | </ | ||
==== Spoof a MAC Address ==== | ==== Spoof a MAC Address ==== | ||
Line 28: | Line 30: | ||
vim / | vim / | ||
- | ifconfig eth0 down hw ether 00: | + | ifconfig eth0 down hw ether 00: |
ifconfig eth0 up | ifconfig eth0 up | ||
</ | </ | ||
Line 95: | Line 97: | ||
mysql -u root | mysql -u root | ||
use mysql; | use mysql; | ||
- | update user set password=PASSWORD(" | + | update user set password=PASSWORD(" |
- | flush privileges;SpIp | + | flush privileges; |
quit | quit | ||
| | ||
Line 108: | Line 110: | ||
=== Configuration === | === Configuration === | ||
- | See [[voice: | + | See **[[voice: |
===== NTP ===== | ===== NTP ===== | ||
Line 128: | Line 129: | ||
===== DHCP Server ===== | ===== DHCP Server ===== | ||
- | <note important> | ||
- | DHCP Server (SME Server) | ||
- | Polycom</ | + | FIXME |
===== Music on Hold ===== | ===== Music on Hold ===== | ||
- | See [[voice: | + | See **[[voice: |
===== 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: | + | Host: |
Description: | Description: | ||
Direction: Outbound | Direction: Outbound | ||
Line 287: | Line 286: | ||
* DID | * DID | ||
* Create Schedule-based Route | * Create Schedule-based Route | ||
- | * DID/ | + | * DID/ |
- | * Description: | + | * Description: |
* 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 -> < |
- | File on FTP Server -> /users/pbxbackup/home/ | + | File on FTP Server -> /path/to/your/ |
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: | + | **[[networking: |
- | Fail2ban can complicate troubleshooting, | + | :!: Fail2ban can complicate troubleshooting, |
==== 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 ' | Add ' | ||
Line 449: | Line 452: | ||
==== Postfix ==== | ==== Postfix ==== | ||
+ | |||
+ | See also **[[networking: | ||
http:// | http:// | ||
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. | ||
- | |||
- | < | ||
- | FILE=/ | ||
- | SMTPHOST=your.mailserver.domain | ||
- | USERPASS=user: | ||
- | |||
- | cat << EOF >> $FILE | ||
- | # | ||
- | $SMTPHOST | ||
- | EOF | ||
- | |||
- | chown root:root $FILE | ||
- | chmod 0600 $FILE | ||
- | postmap hash:$FILE | ||
- | |||
- | postconf -e " | ||
- | postconf -e ' | ||
- | postconf -e ' | ||
- | postconf -e ' | ||
- | |||
- | / | ||
- | </ | ||
==== voicemail.conf ==== | ==== voicemail.conf ==== | ||
- | Edit voicemail.conf. | + | Edit '' |
< | < | ||
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: |