[Asterisk-Dev] Can Asterisk handle calls that get picked up byanswering machines?

Gabriel Afana adtomi at adelphia.net
Fri Dec 24 11:28:39 MST 2004


So this is a technical board then?  If so, what about this question:

Hi,
    Am using Asterisk to call peoples phone as part of a service of my
website.  It will call people for various things...one of them to tell
people sports scores.  I am using several sound files to piece together a
dynamic message saying who played and what the score was.  The problem is
that I can hardcode the sound files that are needed to play and it works
fine, but I cannot hardcode the extensions.conf file with the new sound
files to play for every game.  I need a way to create dynamic extensions so
when it dials out, it will be playing back the correct sound files for the
current game being played.

    I've looked at the DynExtenDB, but that wont work well because every
time a call is initiated, it loads the extension.  Thats not practical
because if the system needs to call 500 people right at the end of the game,
its going to take too much overhead just to load and unload the extension
for every call.

    I am thinking now just to load the extensions through MySQL and have an
"extensions reload" command sent the CLI for Asterisk so my backend system
can update mysql and then reload the extensions on Asterisk when a call
needs to be made with new sport scores.

    I think that idea will work...but does anybody know of a better way to
do it?

P.S.  I know I can reload the extensions by typing "extensions reload" in
the CLI, but is there a command line command I can run that will do it
without having to login?  It will make my scripting job a lot easier if I
can just have a perl scrip run something like system("/usr/sbin/asterisk -r
extensions reload")

Thanks!

Gabe
----- Original Message -----
From: "Steven Critchfield" <critch at basesys.com>
To: "Asterisk Developers Mailing List" <asterisk-dev at lists.digium.com>
Sent: Friday, December 24, 2004 3:15 AM
Subject: Re: [Asterisk-Dev] Can Asterisk handle calls that get picked up
byanswering machines?


> On Fri, 2004-12-24 at 00:27 -0800, Gabriel Afana wrote:
> > Just wondering because right now I can have it call my phone and play
> > a message, but if I dont answer it eventually goes to voice mail.  It
> > always leaves a voicemail and when I listen to it its always the last
> > few seconds of my message that I had Asterisk play.  How do I get
> > Asterisk to pause and wait to playback *IF* its an answering machine
> > or voicemail?
>
> Ask in the proper place, this is a -user question.
> --
> Steven Critchfield <critch at basesys.com>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev




More information about the asterisk-dev mailing list