Laman

Minggu, 21 Desember 2014

HOW TO create Trunk Connection betwen Grandstream GXW4104 to Elastix

Elastix is IP-PBX, so we need connection to PSTN line in order to call to PSTN. How to connect ? So we need VoIP gateway.
Grandstream as vendor of VoIP product also has a product VoIP Gateway.
Grandstream GXW4104 is a product of VoIP gateway. it has 4 line PSTN, and LAN connection.
these is the step-by-step of configuration.
  1. in Grandstream GXW4104
    • login admin via web browser, assumption it has IP address 192.168.20.221 
    • in the Profile 1 tab, please fill your Elastix IPin SIP Server and Profile name. Don't forget option SIP Registration choose YES. then Update
    • Now we need to create trunk, one line PSTN is one account trunk in the Elastix. So if we had two line PSTN active, we need create two account. GXW4104 max have 4 line. for Authen Password = abcd1234.
    •  then Go to “FXO Lines” and set the Channel Dialing to PSTN section. 
      • Channel Dialing to PSTN Stage Method (1/2): ch1-4:1; (This option is for dialing a number directly
        to the PSTN, the option is for obtaining a dial tone to dial the number).
      • Channel Dialing to VoIP
        User ID: ch1-4:7661221; (This number has to match the DID number in the
        Incoming Route in Elastix Server)
      • PSTN to VoIP Caller ID Setting
        Number of Rings Before Pickup: ch1-4:4;
        Caller  ID  Scheme: ch1-4:1; (Choose  the  option  that  better  fits  to  your
        PSTN line)
        Caller ID Transport Type: ch1-4:4;
    • Click on the “Update” button and then POWER OFF the gateway and POWER ON
      again. When it is on, go to “Status” section and check out the channel 1 is registered and
      the PSTN line is connected and idle (the PSTN line must be connected in the first port).

  2. in Elastix
    • You have to login to dashboard.
    • choose PBX --> PBX Configuration --> Trunks
    • add new SIP trunk
    • Because we have two lines PSTN number so we have to create two trunks too.
      • Trunks801 
      • Trunks802
    •  After created trunks we need to route your calls. PBX --> PBX Configurations --> Outbound Routes
    • add new Route, if we pressed '6' from extension and then followed telephone number, calls will routed to TRUNK801 which is, it's a first your PSTN line. If line 1 is busy, so next route is TRUNK802, your second line.
    •  Done


Rabu, 17 Desember 2014

HOW TO Connect your IP-PBX Elastix to ISDN

What is ISDN ?
from Wikipedia :
Integrated Services for Digital Network (ISDN) is a set of communication standards for simultaneous digital transmission of voice, video, data, and other network services over the traditional circuits of the public switched telephone network. It was first defined in 1988 in the CCITT red book.[1] Prior to ISDN, the telephone system was viewed as a way to transport voice, with some special services available for data. The key feature of ISDN is that it integrates speech and data on the same lines, adding features that were not available in the classic telephone system. There are several kinds of access interfaces to ISDN defined as Basic Rate Interface (BRI), Primary Rate Interface (PRI), Narrowband ISDN (N-ISDN), and Broadband ISDN (B-ISDN).
In Indonesia (my country), ISDN was provided by PT Telkom Indonesia. This article is base on my customer who wants connect to ISDN as their upstream.

this is the Topology :
As we know, ISDN is using E1 carrier, So we had to prepare E1 cabling to make physical connection. This is the configuration of E1 cabling :
Assuming the cable connection is OK . Then there are several steps you should do :
  1. In System tab --> hardware Detector--> Detect New Hardware
  2.  if the cable not OK or unplug or ISDN is DOWN, these color should be 'pink'. If the cable OK, ISDN is UP you will get 'green' color 
  3. Please check and make sure : /etc/dahdi/system.conf :  loadzone=us
    defaultzone=us
    span=1,1,0,ccs,hdb3
    echocanceller=wanpipe_hwec - inactive,1-31
    bchan=1-15,17-31
    hardhdlc=16
  4. /etc/asterisk/chan_dahdi.conf : [trunkgroups]

    [channels]
    context=default
    usecallerid=yes
    hidecallerid=no
    callwaiting=yes
    usecallingpres=yes
    callwaitingcallerid=yes
    threewaycalling=yes
    transfer=yes
    canpark=yes
    cancallforward=yes
    callreturn=yes
    echocancel=yes
    echocancelwhenbridged=yes
    relaxdtmf=yes
    rxgain=0.0
    txgain=0.0
    group=0
    callgroup=0
    pickupgroup=0
    immediate=no

    ;Sangoma A102 port 1 [slot:0 bus:5 span:1] <wanpipe1>
    switchtype=euroisdn
    context=from-pstn
    group=0
    echocancel=yes
    faxdetect=incoming
    signalling=pri_cpe
    channel =>1-15,17-31
  5. For check status in Asterisk console, use command asterisk -rx "dahdi show channels"

Senin, 15 Desember 2014

HOW TO Activate video call in Elastix

Hi there, these tutorial will guide you How To activate video call. I hope you know, Elastix was made from FreePBX, so you have to entered FreePBX configuration. How is it ?

  1. Login to Elastix dashboard
  2. choose Security tab in above
  3. Select 'ON' in "Enable direct access (Non-embedded) to FreePBX: ", Then Save
  4.  After that choose PBX tab
  5. You will get FreePBX administration page. In the 'Tools --> Asterisk SIP Setting, please 'enable' Video Codecs 
  6. Submit then Apply your configuration.
  7. Done.

Rabu, 10 Desember 2014

HOW TO register your extension into X-Lite softphone

X-lite softphone, is software on MS Windows based for VoiP client. we can make our PC become IP-Phone using this applications. First, you have to download X-lite here
  1. After download you have to install. I thought, I do not need to explain how to install applications on Windows systems. You are too smart so it does not need to be discussed.
  2. Open your X-lite.
  3. Right-click on the screen and then choose "SIP Account Setting"
  4. click "Add" you will get Properties of Account 1 page, please fill the blank form. Based on article
    HOW TO Create SIP extension on Elastix we had created Extension 101 on the server Elastix 192.168.20.222 with secret "abcd1234"
  5. Click OK, back on to SIP Account window, please check 'Enable' for register your SIP Account, then click 'close' buttont
  6. Now your x-lite softphone is ready to make a call. 

HOW TO Create SIP extension on Elastix

As seen in the above topology,
Elastis is IP-PBX Server, and the IP-Phones are clients.
Our goal in this tutorial is IP-Phone Ext 101 can call Ext 102 and vice versa.
For assumptions, Elastis has IP 192.168.20.222. So we can access it from web browser https://192.168.20.222,
  1. Open http://192.168.20.222 in the web browser, you will get the login page. Please fill username with 'admin' and your admin password of course.
  2. after login you will get Elastix's 'dashboard. In this page you can see your server healthy.
  3. For PBX configuration please click PBX tab, Now you enter PBX configuration page
  4. Click submit for register new Generic SIP Device, input extension to be registered and the secret
    • Extension :101
    • Display name : Jhony
    • secret : abcd1234
      click the submit button at the bottom
  5.  repeat Step 3 and 4 for add another extension
    • Extension : 102
    • Display name : Mike
    • secret : abcd1234
  6. Now click "Apply Configuration Changes Here" for save your configuration
  7.  Now your Elastix has two extension 101 and 102. For clients we will discuss in another article. So for the assumptions you have done register the extension on the client.
  8. In this stage, extension 101 can call 102 and vice versa.




Senin, 08 Desember 2014

HOW TO install Elastix 2.4 32/64 bit

This tutorial is explain step by step how to install Elastix version 2.4 on the PC/Server.
  • Download ISO image
  • Burn in to CD/DVD
  • Boot from CD/DVD
  • Follow step-by-step Linux Centos Installation
  • Done
  1.  Where can I download the ISO image of Elastix ?
    • For 32 bit you can download here 
    • For 64 bit you can download here
  2. Burn the image into CD/DVD 
  3. Setup your PC/Server BIOS, booting from CD/DVD
    • You should be able to do this.
  4. And the most important, Elastix 2.4 is based on Linux Centos 5.9 without GUI, so you have to follow step-by-step installation in the text mode, for 32/64 bit is the same way.

    • Below is firstly you boot from CD/DVD
    • Please choose your language, then press OK  
    • Please choose keyboard type, then press OK
    • Warning of partition table, press YES will overwrite your HDD
    •  In the partition type, I choose "Remove All partition ... "
    • warning, system will be format the HD, press Yes
    • Review partition layput, please choose NO
    • Configure your network 
    • Please select Enable IP4
       
    • Config IP4 for eth0

    • Setting gateway and DNS server 
    • set your hosname

    • Choose your Time zone


    • It's very important, please insert your root password, this is LINUX root password

    • Pakage installation proccess

    • Insert your MySQL root password and please confirm
    • Insert your admin Elastix/FreePBX passwordand please confirm

    • This is your Linux bash login, please using user 'root' for login. 

      Installation of Elastix 2.4 is done, you can access web GUI from any web browser on the client.








Minggu, 07 Desember 2014

What is Elastix as IP PBX Server

Elastix is an Open Source Software to establish Unified Communications.

There are new ways of communication every day and the addition of features and functionality must be constant. Elastix it’s capable of establish an efficient environment on your organization with the addition of many features that allows to integrate other locations of your company to centralize your business and take it global.

Some of the basic Features of Elastix include:
  • Voicemail
  • Fax-to-email
  • Support for softphones
  • Web Interface Configuration
  • Virtual conference rooms
  • Call recording
  • Least Cost Routing
  • Extension Roaming
  • PBX Interconnection
  • Caller ID
  • CRM
  • Advance Reports

Open Source IP PBX Asterisk Distros

As we know, asterisk is Open Source.
Did you know there are several kinds of distributions of Asterisk ?
    1. PBX in a Flash
      • The Lean, Mean Asterisk Machine. A turnkey PBX based upon the latest versions of CentOS and your choice of Asterisk 1.4 or 1.6 with FreePBX, a Linux firewall, and Fail2Ban for enhanced security.
    2. Elastix
      • Elastix is an open source software which packs best-in-class tools for IP telephony into a single, easy-to-use interface. Elastix is the fastest growing software of its kind having support for dozens of languages, extensible modules and advanced features.
    3. AsteriskNOW
      • AsteriskNOW is the fastest way to get started building custom telephony solutions with Asterisk. Simply download the .iso file, burn it to a CD, drop it into the CD or DVD drive on the target computer to build a complete Asterisk telephony solution.
    4. Askozia®PBX
      • Askozia®PBX is an Open Source firmware designed to run on embedded telephony appliances. Developed from the start with consumers in mind, it is the easiest to use Asterisk® distribution in the world.
    5. VoiceOne
      • VoiceOne is an easy to use web based GUI for the Asterisk PBX. It gives full control over settings through a simple admin panel.
    6. The FreePBX
      • The FreePBX project has been around since 2003, with millions of downloads it has become the most widely used management tool for Asterisk which makes building and managing your Asterisk systems easier. Please visit http://www.freepbx.org for more information.

      My recommendation is Elastix !!

What is Asterisk ?

Asterisk is software for IP PBX. That’s the point.