Cisco SPA8000 as office PBX

This device recomended itself as very flexible and configurable thing. I configured this device for one small office with 5-6 employees. As a result this device replaced hardware server with asterisk inside. Important notice Device should have firmware version >= 6.1.12(XU). Otherwise you won’t see this options At first we need to login to web-ui of device with administrator privileges. Clicking on button Advanced. Then we need to go to Voice tab and find channel T1....

13 Jun 2018, 17:28 · 2 min · Dmytro Prokhorenkov

Asterisk for small office without web

Long time ago my friend asked to configure SIP server without any web-ui. As result I got next configuration which is a bit specific for Ukraine. extensions.ael context local { _1[1-3]XX => { Dial(SIP/${EXTEN},20,Tt); }; _NXXXXXX => { Set(CALLERID(all)=DEFAULT_TRUNK); Dial(SIP/${EXTEN}@DEFAULT_TRUNK,20,TtwW); }; _0NXXXXXXXX => { Set(CALLERID(all)=DEFAULT_TRUNK); Dial(SIP/${EXTEN}@DEFAULT_TRUNK,20,TtwW); }; _10[1-4] => { Set(CALLERID(all)=DEFAULT_TRUNK); Dial(SIP/${EXTEN}@DEFAULT_TRUNK,20,TtwW); }; _911 => { Set(CALLERID(all)=DEFAULT_TRUNK); Dial(SIP/${EXTEN}@DEFAULT_TRUNK,20,TtwW); }; _15XX => { Set(CALLERID(all)=DEFAULT_TRUNK); Dial(SIP/${EXTEN}@DEFAULT_TRUNK,20,TtwW); }; _00. => { Set(CALLERID(all)=DEFAULT_TRUNK); Dial(SIP/${EXTEN}@DEFAULT_TRUNK,20,TtwW); }; _88....

12 Jun 2018, 23:57 · 2 min · Dmytro Prokhorenkov

Learning bash scripting for beginners

Bash (Bourne-Again SHell) is a Linux and Unix-like system shell or command language interpreter. It is a default shell on many operating systems including Linux and Apple OS X. If you have always used a graphic user interface like KDE or Gnome or MS-Windows or Apple OS X, you are likely to find bash shell confusing. If you spend some time with the bash shell prompt and it will be difficult for you to go back. ...

12 Jun 2018, 23:23 · 2 min · Dmytro Prokhorenkov

Connect Vyos to Aws With Ipsec

Setup VPN in AWS Create Virtual Private Gateway in “VPC” → “Virtual Private Gateways” and attach it to current VPC. Enable route propagation in Route Table in “VPC” → “Route Tables”: Add Inbound rule for local IPs of server(s) behind Vyos which you want to allow access from: Create VPN connection in “VPC” → “VPN Connections” with following details: In the same VPN section, select the VPN you just created and hit “Download Configuration” button....

12 Jun 2018, 23:03 · 2 min · Dmytro Prokhorenkov

Recovery Broken Vmdk Image

Disk images for virtual machines in VMWare products are stored in 2 files: disk description and data. In filesystem virtual machine partition stored as 2 files: disk file image: linux-flat.vmdk disk file config: linux.vmdk So in situation when you accidentally removed linux.vmdk (when you’re connected with SSH) or it’s broken, you can restore your disk drive image and mount it to another virtual machine. To restore image you should do next steps (example is for ESXi installation as the most common for me)....

09 May 2018, 08:55 · 3 min · Dmytro Prokhorenkov