asterisk
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| asterisk [2025/07/19 02:06] – [Cisco SPA504G IP Phone] nicolas | asterisk [2025/07/21 10:56] (current) – [Oracle Cloud Infrastructure PBX Server Setup] nicolas | ||
|---|---|---|---|
| Line 20: | Line 20: | ||
| # Copy down private key, store and set security on it | # Copy down private key, store and set security on it | ||
| cd keys | cd keys | ||
| - | sudo chmod 60 ssh-key-2025-07-11.key | + | sudo chmod 60 ssh-key-2025-07-19.key |
| # ssh on to cloud instance | # ssh on to cloud instance | ||
| - | sudo ssh -i ./ | + | sudo ssh -i ./ |
| sudo apt update | sudo apt update | ||
| sudo apt full-upgrade | sudo apt full-upgrade | ||
| Line 32: | Line 32: | ||
| sudo systemctl enable cron | sudo systemctl enable cron | ||
| sudo apt install ufw | sudo apt install ufw | ||
| + | sudo apt install net-tools | ||
| </ | </ | ||
| + | ===UFW install=== | ||
| + | |||
| + | Revised to install UFW, use this instead of directly changing iptables | ||
| + | |||
| + | < | ||
| + | sudo ufw status | ||
| + | sudo ufw allow http | ||
| + | sudo ufw allow ssh | ||
| + | sudo ufw allow 5060: | ||
| + | sudo ufw allow 10000: | ||
| + | sudo ufw enable | ||
| + | </ | ||
| ===Asterisk / FreePBX on Ubuntu=== | ===Asterisk / FreePBX on Ubuntu=== | ||
| Line 46: | Line 59: | ||
| sudo fwconsole unlock s231lcov0fbdsnhaiidchantu4 (highlighted PHP session text) | sudo fwconsole unlock s231lcov0fbdsnhaiidchantu4 (highlighted PHP session text) | ||
| - | ===UFW install=== | + | User Ext Setup |
| - | Revised | + | Had to change SIP port directly |
| + | sudo nano / | ||
| - | < | + | Revise |
| - | sudo ufw status | + | sudo nano / |
| - | sudo ufw allow http | + | ; Maximum amount of memory a script may consume |
| - | sudo ufw allow 5060:5061/udp | + | ; https://php.net/memory-limit |
| - | sudo ufw allow 10000:20000/udp | + | memory_limit = 256M |
| - | </code> | + | |
| - | + | ||
| - | User Ext Setup | + | |
| + | SIP TCP Port Min: 560 - 580 updated | ||
| + | 5081 | ||
| + | ===Asterisk Security=== | ||
| + | https:// | ||
| Line 90: | Line 105: | ||
| UDP must be enabled. PBX on different IP so can use default port. | UDP must be enabled. PBX on different IP so can use default port. | ||
| - | Ext 2 tab - line enable AND Phone tab - Line key 2 enabled. | + | Ext 2 tab - Line enable AND Phone tab - Line key 2 enabled. |
| + | |||
| + | ===Connect using a different SIP port=== | ||
| + | |||
| + | In EXT change the SIP port and add the port number to the proxy address 141.147.xx.xx: | ||
| ===Change background image on phone=== | ===Change background image on phone=== | ||
asterisk.1752887175.txt.gz · Last modified: by nicolas
