[Asterisk-Users] Basic Asterisk questions

Scott Stingel scott at evtmedia.com
Thu Jun 26 21:22:09 MST 2003


Steven-

Thanks for your technical response, but I thought I was starting a new
thread!  Please enlighten me, so that I can handle email threads properly!

At least I'm not asking to be removed from the list, which has been the
subject of about 1/2 the mail today! <s> 

Cheers
Scott


-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Steven
Critchfield
Sent: Thursday, June 26, 2003 8:58 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Basic Asterisk questions


Why is it that most users who don't understand threaded email is on
Windows systems. 

On Thu, 2003-06-26 at 19:47, Scott Stingel wrote:
> Hello-
> 
> I apologise for the basic nature of these questions:
> 
> I am considering using Asterisk/Digium for the implementation of a simple
> IVR application - inbound E1's only.  All I want to do is to answer each
> line, play some prompts, receive a DTMF, play some more prompts, then log
> everything, and hang up.  Seems simple enough.
> 
> I've been looking over the various web sites and have downloaded the
> asterisk tar files, and looked at the README's contained therein.   I have
a
> few question though:
> 
> (a) For my logging, I want to insert records into an external SQL
database.
> I don't understand the general way to call SQL routines that I have
written,
> or to other access code outside of the Asterisk environment

If you are on a postgres database, just use PSQL to issue your queries
directly from the extensions.conf file. If you can write a simple cli
app that can take care of it with a system  call. Or you can go out to
an agi app and do you database interfaces with whatever programming
language app you can think of.


> (b) Where can I read about events and how they are handled?  For example,
> upon the reception of a DTMF during a prompt, does the prompt get
> interrupted as it should?  Same thing on disconnect events.

Depends on how you are playing a prompt. If it is by use of Playback
then no it will not be interrupted. If you use Background, then yes it
will be interrupted. If you are in AGI, you can specify the only
characters that would interrupt. 

> No doubt I have not read some very basic documentation or user notes, so
if
> anyone can steer me to the proper documents to read, would be greatly
> appreciated!

Compile asterisk, and from the asterisk command line, use "help", "show
applications", and "show application <application>" to see descriptions
of what each command does.
-- 
Steven Critchfield <critch at basesys.com>

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users







More information about the asterisk-users mailing list