Setup Asterisk server for telephone validation and cleaning

Prepare a computer with PCI slot

Consider the cost and compatibility, normally I will use Dell desktop or server.

Install telephony interface cards into your computer

Telephony interface cards are PCI or PCI Express expansion cards that connect computers running Asterisk directly to legacy phone lines, phones and phone systems. The cards convert the legacy signaling and media into Asterisk’s internal formats.

I chosen Digium cards, because Asterisk is provided by Digium. A lot of cheaper alternative cards, I just don’t want to facing compatible issue.

More details for telephony interface cards:
http://www.asterisk.org/products/telephony-interface-cards

Digium telephony interface cards products:
https://www.digium.com/products/telephony-cards

Download and install AsteriskNOW

Simple, just refer to this link:
https://wiki.asterisk.org/wiki/display/AST/Installing+AsteriskNOW

Configuration

  1. Login FreePBX Administration via http://<server-ip>
  2. Update Connectivity > DAHDi Config > Global Settings
    • Select Language: <your preferred language>
    • Enable Busy Detect: Yes
    • Other Global Dahdi Settings: callprogress = yes
  3. Update Connectivity > DAHDi Config > System Settings
    • Tone Region: <select your country or compatible>
  4. Update Connectivity > DAHDi Config > Modprobe Settings
    • Opermode: enable, <select your country or compatible>
  5. Click save config andRestart  Dahai and asterisk
  6. Update Settings > Advanced Settings
    1. Country Indication Tones: <select your country or compatible>

Test Asterisk Manager

Default Asterisk Manager User: admin
Default Asterisk Manager Password: amp111

http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+Originate

Dialplan for Asterisk Manager

File: /etc/asterisk/extensions_custom.conf