<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Sorry, if this is the wrong list, where should I be posting
this?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>BTW, I did find something called &#8216;bulk extensions&#8217; module and
working with that for a solution.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks!<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Dave<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
asterisk-biz-bounces@lists.digium.com
[mailto:asterisk-biz-bounces@lists.digium.com] <b>On Behalf Of </b>Steve Totaro<br>
<b>Sent:</b> Friday, July 11, 2008 9:08 AM<br>
<b>To:</b> Commercial and Business-Oriented Asterisk Discussion<br>
<b>Subject:</b> SPAM-LOW: Re: [asterisk-biz] Question about adding Extensions
programmatically<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Dave,<br>
<br>
This is the biz list.&nbsp; If you pay, people (me for example) would be more
than happy to help you. :)<br>
<br>
Otherwise Alistair's advice is probably the best.<br>
<br>
Thanks,<br>
Steve T<o:p></o:p></p>

<div>

<p class=MsoNormal>On Fri, Jul 11, 2008 at 6:12 AM, Alistair Cunningham &lt;<a
href="mailto:acunningham@integrics.com">acunningham@integrics.com</a>&gt;
wrote:<o:p></o:p></p>

<p class=MsoNormal>Dave,<br>
<br>
In that case you'll need to ask the PBXInAFlash developers what options<br>
for voicemail storage they compiled into Asterisk.<o:p></o:p></p>

<div>

<div>

<p class=MsoNormal><br>
Alistair Cunningham<br>
+1 888 468 3111<br>
+44 20 799 39 799<br>
<a href="mailto:sip%3Aacunningham@integrics.com">sip:acunningham@integrics.com</a><br>
<a href="http://integrics.com/" target="_blank">http://integrics.com/</a><br>
<br>
<br>
Dave Phillips wrote:<br>
&gt; Okay, here's the thing and I probably should have included this in the<br>
&gt; previous post:<br>
&gt;<br>
&gt; 1. &nbsp;I'm using PBXInAFlash distribution<br>
&gt; 2. &nbsp;I'm not able to modify the asterisk server itself at this time
(due to<br>
&gt; my lack of understanding of the whole thing) however, I AM able to modify<br>
&gt; the mySQL asterisk database utilizing a language that I AM familiar with.<br>
&gt; 3. &nbsp;I'm looking for a solution where I can just insert the necessary
rows<br>
&gt; into the asterisk DB and/or FTP the necessary file (unavail.wav) into a<br>
&gt; specific folder on the asterisk server, as I'm doing all this REMOTELY
from<br>
&gt; another server.<br>
&gt;<br>
&gt; Is this even possible?<br>
&gt;<br>
&gt; Thanks!<br>
&gt;<br>
&gt; Dave<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:asterisk-biz-bounces@lists.digium.com">asterisk-biz-bounces@lists.digium.com</a><br>
&gt; [mailto:<a href="mailto:asterisk-biz-bounces@lists.digium.com">asterisk-biz-bounces@lists.digium.com</a>]
On Behalf Of Alistair<br>
&gt; Cunningham<br>
&gt; Sent: Thursday, July 10, 2008 4:11 PM<br>
&gt; To: Commercial and Business-Oriented Asterisk Discussion<br>
&gt; Subject: SPAM-LOW: Re: [asterisk-biz] Question about adding Extensions<br>
&gt; programmatically<br>
&gt;<br>
&gt; Dave,<br>
&gt;<br>
&gt; I'd suggest building the normal mailbox structure under<br>
&gt; /var/spool/asterisk/voicemail, and in each mailbox directory make a<br>
&gt; symlink called unavail.wav pointing to your system recording file. For<br>
&gt; example:<br>
&gt;<br>
&gt; /var/spool/asterisk/voicemail/default/100/greeting.wav -&gt;<br>
&gt; /opt/yourcode/master.wav<br>
&gt;<br>
&gt; Alistair Cunningham<br>
&gt; +1 888 468 3111<br>
&gt; +44 20 799 39 799<br>
&gt; <a href="mailto:sip%3Aacunningham@integrics.com">sip:acunningham@integrics.com</a><br>
&gt; <a href="http://integrics.com/" target="_blank">http://integrics.com/</a><br>
&gt;<br>
&gt;<br>
&gt; Dave Phillips wrote:<br>
&gt;&gt; Please forgive me if this is the wrong list as this is my first post:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I'm wanting to add an extension to the asterisk database
programmatically,<br>
&gt;&gt; and I am also wanting to set the announcement message for the
voicemail to<br>
&gt;&gt; be a system recording (basically I'll be dynamically adding extensions
and<br>
&gt;&gt; all will have the same announcement message).<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Has anyone done something like this before? &nbsp;If so (or even if
not) can<br>
&gt;&gt; anyone point me in the right direction for details on which tables I
need<br>
&gt; to<br>
&gt;&gt; add records to and also how to set the announcement message to be a
system<br>
&gt;&gt; recording?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; The extensions are only going to be used for voicemail, and will not
be<br>
&gt; used<br>
&gt;&gt; to dial out or for a live person to be answering.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I have found some of the tables where I need to modify to add the<br>
&gt; extension,<br>
&gt;&gt; but I just want to make sure I don't leave anything important out.
&nbsp;And I<br>
&gt;&gt; haven't yet figured out how to set the announcement message up either.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Thanks in advance for your help!<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Sincerely,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Dave Phillips<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------------------------<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; --Bandwidth and Colocation Provided by <a
href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
&gt;&gt;<br>
&gt;&gt; AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
&gt;&gt; Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
&gt;&gt;<br>
&gt;&gt; asterisk-biz mailing list<br>
&gt;&gt; To UNSUBSCRIBE or update options visit:<br>
&gt;&gt; &nbsp; &nbsp;<a
href="http://lists.digium.com/mailman/listinfo/asterisk-biz" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-biz</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; --Bandwidth and Colocation Provided by <a
href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
&gt;<br>
&gt; AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
&gt; Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
&gt;<br>
&gt; asterisk-biz mailing list<br>
&gt; To UNSUBSCRIBE or update options visit:<br>
&gt; &nbsp; &nbsp;<a
href="http://lists.digium.com/mailman/listinfo/asterisk-biz" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-biz</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; --Bandwidth and Colocation Provided by <a
href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
&gt;<br>
&gt; AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
&gt; Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
&gt;<br>
&gt; asterisk-biz mailing list<br>
&gt; To UNSUBSCRIBE or update options visit:<br>
&gt; &nbsp; &nbsp;<a
href="http://lists.digium.com/mailman/listinfo/asterisk-biz" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-biz</a><br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--"
target="_blank">http://www.api-digital.com--</a><br>
<br>
AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-biz mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-biz"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-biz</a><o:p></o:p></p>

</div>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>