<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1476" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Just upgrade to most recent CVS and use RealTime
Extensions. Works fantastic and is built-in to asterisk core code.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-Matthew</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=adtomi@adelphia.net href="mailto:adtomi@adelphia.net">Gabriel
Afana</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, December 25, 2004 3:36
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Asterisk-Users] Dynamic
extensions without using DynExtenDB?</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2> 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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> 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. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> 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. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> I think that idea will
work...but does anybody know of a better way to do it?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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")</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Gabe</FONT><FONT face=Arial size=2></DIV></FONT>
<P>
<HR>
<P></P>_______________________________________________<BR>Asterisk-Users
mailing
list<BR>Asterisk-Users@lists.digium.com<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR>To
UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-users</BLOCKQUOTE></BODY></HTML>