Monday, October 7, 2013

Asterisk 11 GSM Trunk and Gateway Using Chan_Dongle

Chan_Dongle:-
                              Chan_Dongle is asterisk's huawei 3g dongle channel driver use for GSM Trunk and GSM gateway and also use for SMS sending receiving, USSD sending receiving, DTMF sending receiving.

Asterisk 11 Chan_Dongle Installation:-
                                                                       
1) cd /usr/src
2) wget https://github.com/jstasiak/asterisk-chan-dongle/archive/asterisk11.zip
3) unzip asterisk11.zip
4) cd asterisk-chan-dongle-asterisk11
5) aclocal
6) autoconf
7) automake -a
8) ./configure
9) make & make install
10) cp etc/dongle.conf /etc/asterisk/
11) chmod -R 0777 /etc/asterisk

Load Chan_Dongle Module:-

1) open asterisk console (asterisk -rvvvvvvvv)
2) module load chan_dongle.so

Configuration:-

1) for forther detail check this http://wiki.e1550.mobi/doku.php?id=configuration


Thursday, September 19, 2013

Asterisk 11 Installation From Source


Minimum Requirements For Asterisk 11:-

apt-get install build-essential libssl-dev ncurses-dev libnewt-dev zlib1g-dev bison sqlite3 libsqlite3-dev nano automake




Asterisk 11 Install From Source:-

1) cd /usr/src
2) wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz
3) tar -zxvf asterisk-11-current.tar.gz
4) cd asterisk-*
5) ./configure --disable-xmldoc
6) make menuselect
7) make
8) make install
9) make samples

Prepare Asterisk To Use As A Startup:-

1) cd /usr/src/asterisk-*
2) cp contrib/init.d/rc.debian.asterisk /etc/init.d/asterisk
3) nano /etc/init.d/asterisk
4) Edit file text:-

    ## DAEMON=__ASTERISK_SBIN_DIR__/asterisk
    DAEMON=/usr/sbin/asterisk
    ## ASTVARRUNDIR=__ASTERISK_VARRUN_DIR__
    ASTVARRUNDIR=/var/run/asterisk/
    ## ASTETCDIR=__ASTERISK_ETC_DIR__
    ASTETCDIR=/etc/asterisk/ 

5) Then Ctrl+x for save
6) update-rc.d asterisk defaults
7) service asterisk start