Hello everyone, my name is Miles, I am fairly new to asterisk. I have recently begun to learn asterisk and I have a couple of questions. 1. After installing asterisk using the following instructions; a. sudo mkdir /usr/src/asterisk && cd /usr/src/asterisk b. sudo wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1 1.2.1.tar.gz c. sudo tar -xvzf asterisk-11.2.1.tar.gz d. cd ./asterisk-11.2.1 e. sudo make clean f. sudo ./configure g. sudo make h. sudo make install i. sudo make samples j. sudo make config k. sudo service asterisk start The astDB did not automatically initialize. i.e. performing the following commands Asterisk -rx "database show" produced no output. IS THERE A WAY TO INITIALIZE THIS DATABASE WITHOUT HAVING TO INSERT A FAMILY AND VALUE? 2. Does any one know of a simple open source switchboard script that places the caller into a que and gives CALLERID, TIME ON HOLD, and a way to either forward the call or answer it? Something I use to modify and learn how it all works more or less? Thanks ahead of time. Miles -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140905/2ec4050b/attachment.html>
Horace Miles wrote: <snip>> > Asterisk ?rx ?database show? produced no output. > > IS THERE A WAY TO INITIALIZE THIS DATABASE WITHOUT HAVING TO INSERT A > FAMILY AND VALUE?Initialize it with what? If Asterisk has started and no previous database existed it has created a new one with the schema embedded in the code. Since usage of the astdb is up to everything else there is nothing stored in it until other stuff puts something there. Cheers, -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org
Shishir Pokharel
2014-Sep-05 18:00 UTC
[asterisk-users] New to Asterisks, Couple of Questions
Start from http://www.voip-info.org/ or Asterisk : The Future of Telephony Book From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Horace Miles Sent: Friday, September 05, 2014 12:19 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] New to Asterisks, Couple of Questions Hello everyone, my name is Miles, I am fairly new to asterisk. I have recently begun to learn asterisk and I have a couple of questions. 1. After installing asterisk using the following instructions; a. sudo mkdir /usr/src/asterisk && cd /usr/src/asterisk b. sudo wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz c. sudo tar -xvzf asterisk-11.2.1.tar.gz d. cd ./asterisk-11.2.1 e. sudo make clean f. sudo ./configure g. sudo make h. sudo make install i. sudo make samples j. sudo make config k. sudo service asterisk start The astDB did not automatically initialize. i.e. performing the following commands Asterisk -rx "database show" produced no output. IS THERE A WAY TO INITIALIZE THIS DATABASE WITHOUT HAVING TO INSERT A FAMILY AND VALUE? 2. Does any one know of a simple open source switchboard script that places the caller into a que and gives CALLERID, TIME ON HOLD, and a way to either forward the call or answer it? Something I use to modify and learn how it all works more or less? Thanks ahead of time. Miles -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140905/190cdfea/attachment.html>
Carlos Chavez
2014-Sep-06 23:28 UTC
[asterisk-users] New to Asterisks, Couple of Questions
On 9/5/2014 2:18 AM, Horace Miles wrote:> > Hello everyone, my name is Miles, I am fairly new to asterisk. I have > recently begun to learn asterisk and I have a couple of questions. > > 1. After installing asterisk using the following instructions; > > a.sudo mkdir /usr/src/asterisk && cd /usr/src/asterisk > > b.sudo wget > http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz > > c.sudo tar -xvzf asterisk-11.2.1.tar.gz > > d.cd ./asterisk-11.2.1 > > e.sudo make clean > > f.sudo ./configure > > g.sudo make > > h.sudo make install > > i.sudo make samples > > j.sudo make config > > k.sudo service asterisk start > > The astDB did not automatically initialize. i.e. performing the > following commands > > Asterisk --rx "database show" produced no output. > > IS THERE A WAY TO INITIALIZE THIS DATABASE WITHOUT HAVING TO INSERT A > FAMILY AND VALUE? > > 2. Does any one know of a simple open source switchboard script that > places the caller into a que and gives CALLERID, TIME ON HOLD, and a > way to either forward the call or answer it? Something I use to > modify and learn how it all works more or less? > > Thanks ahead of time. > >Actually, if you are looking for a prebuilt ready to use Asterisk your best bet is to download a distribution like Elastix. If you want to start from scratch without any experience you will be hitting to many walls. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140906/4f8d566c/attachment.html>