[asterisk-biz] SPAM-LOW: Re: Question about adding Extensions programmatically

Dave Phillips Dave at zarts.com
Fri Jul 11 13:22:53 CDT 2008


Sorry, if this is the wrong list, where should I be posting this?

 

BTW, I did find something called 'bulk extensions' module and working with
that for a solution.

 

Thanks!

 

Dave

 

From: asterisk-biz-bounces at lists.digium.com
[mailto:asterisk-biz-bounces at lists.digium.com] On Behalf Of Steve Totaro
Sent: Friday, July 11, 2008 9:08 AM
To: Commercial and Business-Oriented Asterisk Discussion
Subject: SPAM-LOW: Re: [asterisk-biz] Question about adding Extensions
programmatically

 

Dave,

This is the biz list.  If you pay, people (me for example) would be more
than happy to help you. :)

Otherwise Alistair's advice is probably the best.

Thanks,
Steve T

On Fri, Jul 11, 2008 at 6:12 AM, Alistair Cunningham
<acunningham at integrics.com> wrote:

Dave,

In that case you'll need to ask the PBXInAFlash developers what options
for voicemail storage they compiled into Asterisk.


Alistair Cunningham
+1 888 468 3111
+44 20 799 39 799
sip:acunningham at integrics.com <mailto:sip%3Aacunningham at integrics.com> 
http://integrics.com/


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

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-biz mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-biz

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-biz/attachments/20080711/b861f0f3/attachment.htm 


More information about the asterisk-biz mailing list