Posts

Showing posts with the label asterisk

How to Convert Cisco 7965G from SCCP to SIP Firmware Load

SIP Firmware Load on Cisco 7965G First Step is to get the firmware from 3CX Then follow these steps: When SCCP is loaded:     Complete the following steps:     Unplug the power cable from the phone, hold dows the # key, and     then plug the power cable in again.     The phone begins its power up cycle.     Release the # key after the Speaker button is no longer     lit.     You should see the following message on the phone:     "Reset key sequence detected"     Press 123456789*0# within 60 seconds after the Headset, Mute,     and Speaker buttons begin to flash.     If you enter this key sequence correctly, the phone displays     this prompt:     Keep network cfg? 1 = yes 2 = no     In order to maintain the current network configuration settings     for the phone when the phone resets, press 1. In order to r...

Use Postfix to Relay Mail Thru Godaddy SMTP Servers

Image
How to Install and Configure Postfix to Relay Thru Godaddy SMTP postfix logo If you have an Asterisk server on Amazon ECS, you need a means to send voicemails out to email. Use postfix with a godaddy smtp server and your godaddy email credentials. First you need to install ubuntu on an amazon ecs virtual machine. Start by setting up their free tier ubuntu 18 LTS server.  Then you need to use apt-get to install postfix and mailutils. To install the required items: apt install postfix apt install mailutils apt install cyrus-sasl-plain Finally install some configuration files. First file to work on is /etc/postfix/main.cf suppose your server is called asterisk.elevendimensions.com and your domain is called elevendimensions.com.   Do not change the default hostname that amazon ecs gives you.  While installing postfix, the initial dialog will ask you what kind of site to setup. Choose "internet site" you will only be using this service to send and relay o...

Asterisk Newbee Guide and Cookbook

Finally A Guide Full of Quicklinks for New Asterisk Users As a newbie to Asterisk, if you don't have one of the new web interfaces such as FreePbx, and are just going to edit the config files. Then here are some things you should know.  First thing is to know that the configuration directory is /etc/asterisk and the files are extensions.conf and other .conf files. Dial Rules to Record Prompts https://www.voip-info.org/asterisk-cmd-record/ Voicemail to Email Guide https://jonathanmanning.com/2011/07/15/how-to-configure-asterisk-to-send-voicemail-email-via-gmail-smtp-guide/ CA Bundles https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt My Dialplan Cookbook The first thing to know about Asterisk is the dialplan.  You can find this in /etc/extensions.conf.   Here you define your Direct Inbound Dial (DID) and system extensions.  Here are some of my cookbook examples.  To hear them, call this number +19495410155 and +19495410169 and s...

Running Asterisk on Amazon AWS

How Can You Run Asterisk on Amazon AWS First thing to do is to install Amazon AWS's free tier Ubuntu 18 LTS, then you use these commands to install and configure it.   Install your amazon ubuntu server, then configure the amazon firewall to forward ports: 5060-5070, and 16384-32767 all udp to the VM.  If you have a Sonicwall router in your home network, be sure to go to the SIP menu, and enable SIP and H323 transformations.     8  apt -y upgrade     9  apt update    10  apt -y upgrade    11  apt -y install git curl wget libnewt-dev libssl-dev libncurses5-dev subversion  libsqlite3-dev build-essential libjansson-dev libxml2-dev  uuid-dev    12  add-apt-repository universe    13  apt update    14  apt -y install subversion    15  apt policy asterisk    16  cd /usr/src    17  curl -O http://d...

Useful VI Tricks for Editing Asterisk Configuration Files

Image
Useful VIM Tricks for asterisk configuration Scrub out all default documentation lines and blank lines. Just show the current configuration. remove all commented lines :g/^\s*;/d remove all blank lines :g/^$/d